The latest upgrade to 4.7.2-201.fc24.armv7hl fails to boot on Odroid XU4.
by Stewart Samuels
Dracut fails to build a bootable image for Odroid XU4 for the 4.7.2-201 fc24 initramfs.
it seems that Dracut fails to create the Early CPIO image it needs to boot the system.
Following are initial comparisons from the previous 4.6.6-300.fc24.armv7hl initramfs
image.
################################################
lsinitrd initramfs-4.6.6-300.fc24.armv7hl.img | less
------------------------------------------------------------------------------
Image: initramfs-4.6.6-300.fc24.armv7hl.img: 44M
========================================================================
Early CPIO image
========================================================================
drwxr-xr-x 3 root root 0 Jul 8 06:27 .
-rw-r--r-- 1 root root 2 Jul 8 06:27 early_cpio
drwxr-xr-x 3 root root 0 Jul 8 06:27 kernel
drwxr-xr-x 3 root root 0 Jul 8 06:27 kernel/x86
drwxr-xr-x 2 root root 0 Jul 8 06:27 kernel/x86/microcode
-rw-r--r-- 1 root root 24070 Jul 8 06:27 kernel/x86/microcode/AuthenticAMD.bin
========================================================================
Version: dracut-044-20.fc24
Arguments: --add-drivers 'dw_mmc-exynos exynosdrm ehci-exynos ohci-exynos'
dracut modules:
bash
systemd
systemd-initrd
modsign
nss-softokn
i18n
network
:
---------------------------------------------------------------------------------------------
################################################
lsinitrd initramfs-4.7.2-201.fc24.armv7hl.img | less
------------------------------------------------------------------------------
Image: initramfs-4.7.2-201.fc24.armv7hl.img: 16M
========================================================================
Version: dracut-044-20.fc24
Arguments: --add-drivers 'dw_mmc-exynos exynosdrm ehci-exynos ohci-exynos'
dracut modules:
bash
systemd
systemd-initrd
nss-softokn
i18n
network
ifcfg
drm
plymouth
kernel-modules
kernel-network-modules
resume
rootfs-block
terminfo
udev-rules
dracut-systemd
:
---------------------------------------------------------------------------------------------
###########################################################
[root@myodroid boot]# ls -l initramfs*
-rw------- 1 root root 44642406 Jun 14 12:46 initramfs-0-rescue-b08cce8b3b174044a96690bec89c2b5c.img
-rw------- 1 root root 45330243 Aug 16 20:31 initramfs-4.6.6-300.fc24.armv7hl.img
-rw------- 1 root root 16408397 Sep 8 07:28 initramfs-4.7.2-201.fc24.armv7hl.img
6 years, 3 months
Booting Fedora 25 from USB attached disk on Raspberry Pi
by peter@pindsle.com
Hi,
As I've finally managed to get Fedora 25 booting from a USB attached HDD on a Raspberry Pi (2B) and I wasn't really able to it documented anywhere I'd like to document some of the things I found before I forget.
As the official Fedora support is so new, I haven't seen much discussion, so not really sure who to tell ... The Raspberry Pi page on the Fedora Wiki pointed me here.
The steps I used were very much the same as any of the guides for booting Raspbian from a USB HDD, but a couple of things I had to learn the hard way with Fedora:
1. The boot menu is extlinux and is configured from /boot/extlinux/extlinux.conf. This is where you need to set your root partition to point to the USB HDD partition. This may seem obvious, but considering there is cmdline.txt, /boot/grub/grub.conf and this to choose from it took a little time to figure.
2. The USB controller requires the dwc2 kernel module. This is not included in the default dracut image. It took me many hours to find this but once I rebuilt the image to include this module everything sprung to life.
For reference I used the following configuration:
/etc/dracut.conf.d/add-dwc2.conf
add_drivers+="dwc2"
I hope this is useful to someone and if anyone has suggestions for where to post it, fire away.
Lastly, it seems like a good idea to include the dwc2 module in dracut by default. Considering there are a bunch of other USB modules included (which I think can't do anything useful without the controller being initialised), it seems like an oversight not to include it. What would be the best place to request this?
6 years, 3 months
48-bit support in F26?
by Jon Masters
Hi Jeremy, all,
I was just catching up with some folks and we discussed the status of
48-bit VA support. It seems to me that it would make most sense to have
an official coordination effort between those vendors/community members
who are interested, to ensure that they help with the necessary package
updates ahead of the kernel, and work with a test kernel to identify any
additional packages or issues that need resolving. I believe it would
make most sense to have a Fedora feature page (or something less grand,
but similar in concept) tracking this for F26, with the deps.
Perhaps Jeremy can update us on the status, and then he and others can
help drive this forward (someone should nominate themselves as the ring
leader too). I spoke with Cavium earlier today, and I know they'll be
keen to help. I know Qualcomm had expressed interest during our IRC
meetings in helping out. To that end, I'm copying at least those I know
so far who are interested here.
Jon.
--
Computer Architect | Sent from my Fedora powered laptop
6 years, 4 months
Raspberry pi 3: btrfs as root fs and uboot (or grub?)
by Tomasz Kłoczko
Hi,
Current rawhide fedora image is using xfs has a bit higher memory
requirements than btrfs so I've started thinking about migration of my
current image to new root fs on new card.
Looking on partition table on rawhide image served by fedora I see:
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 61439 59392 29M c W95 FAT32 (LBA)
/dev/mmcblk0p2 * 61440 1060863 999424 488M 83 Linux
/dev/mmcblk0p3 1060864 2060287 999424 488M 82 Linux swap / Solaris
/dev/mmcblk0p4 2060288 15126527 13066240 6.2G 82 Linux swap / Solaris
Q1: for what is this fat32 first partition?
Q2: is it possible to install uboot files from /boot on btrfs? (on x86 and
grub it is no problem with this)
Q3: seems someone done porting of the grub to arm so why there is n grub2
package in fedora?
kloczek
--
Tomasz Kłoczko | LinkedIn: *http://lnkd.in/FXPWxH <http://lnkd.in/FXPWxH>*
6 years, 4 months
Raspberry Pi 2 - are post-install steps required?
by Jan
Hi,
I've problems with using GPIO from python. It just throws some memory
error and dumps. I'm not familiar with C/dumps and so on, so I did not
yet start to try to get details of it.
One thing I noticed is different content of /proc/cpuinfo between
Raspbian and Fedora 25.
Thus my interpretation is that if Fedora reports a bit different
hardware then some calls to some methods might fail.
Am I missing some step that should be done after install?
It could be some mutation of FAQ: about support for HATs.
But I would love clear statement, which would point that it just does
not work out-of-the-box and there is/isn't way to manually fix it for
someone who is not C/kernel developer.
As for me support for HATs and support to set GPIO pin 18 to HIGH state
are slightly different things. But maybe they have same root cause.
Regards
Jan
6 years, 4 months
Allwinner A23 Android 5.x tablets
by Fernando Cassia
Is there any chance nowadays of getting Fedora ARM running on cheap
Allwinner 7" Android tablets that ship with Android 5.1 ?
I am thinking of the likes of
http://caribbean.aoc.com/products/details.php?7-android-tablet&id=443
7" Android Tablet
Android 5.1.1 operating system
Quad-core processor up to 1.2Ghz
1GB RAM
8GB Internal Flash Memory
Further digging reveals:
CPU Allwinner A23
GPU: Mali-400MP
Would booting Linux be a pain like it was discussed here about three years
ago, or are there more mature solutions wrt replacing unlocking/replacing
bootloader or booting from external usb flash drive?
FC
--
During times of Universal Deceit, telling the truth becomes a revolutionary
act
- George Orwell
6 years, 4 months
Fedora 25 on Raspberry PI 2 - SPI, I2C - device tree overlays?
by Jan
Hi,
I'm trying to understand if it is possible, and if yes then how, to enable
I2C and SPI.
On Raspbian one had to edit config.txt, but here overlays directory on
partition is empty.
Is there somewhere documented how to populate folder?
FAQ on https://fedoraproject.org/wiki/Raspberry_Pi is a bit unclear for me,
when it says no support for HATs.
It describes that some manual steps are required. That's fine, however I'm
not kernel developer,
I just play with some simple sensors. Using simple python scripts.
Is a quick answer to such usage: "Not yet"?
Right now Fedora 25 installed nicely on PI, and works great as Fedora box,
imap server, some www page.
Regards
Jan
6 years, 4 months