Fedora 27 on ODroid UX4
by Daniel Riek
Quick summary of the steps I took to make Fedora 27 (with a 28 kernel) work
on my ODroid UX4. Thanks to Peter Robinson for his help.
Basically following the instructions from:
https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org...
- Host Fedora laptop
- Install some stuff on the host:
# dnf -y install minicom fedora-arm-installer uboot-images-armv7.noarch curl
- Create a working directory and enter:
# mkdir ~/ODroid && cd ~/ODroid
- Get Fedora minimal image for ARMv7:
# wget
https://download.fedoraproject.org/pub/fedora/linux/releases/27/Spins/arm...
- Get the hardkernel boot files
# git clone git@github.com:hardkernel/u-boot.git
# cd u-boot
# git checkout remotes/origin/odroidxu4-v2017.05
# cd ..
- Insert SDcard, make sure the partitions are not mounted.
- Run fedora-arm-installer:
# sudo fedora-arm-image-installer --addkey=~/.ssh/id-rsa.pub --resizefs
--target=none --image=./Fedora-Minimal-armhfp-27-1.6-sda.raw.xz
<http://image%3D./Fedora-Minimal-armhfp-27-1.6-sda.raw.xz> --media=/dev/sdb
- Eject SD and re-insert (not sure that is really needed). Make sure
filesystems are not mounted.
- Write the binary boot code and u-boot:
# cd u-boot/sd_fuse/
# ln -s /usr/share/uboot/odroid-xu3/u-boot.* .
# sudo ./sd_fusing.sh /dev/sdb
- Eject SD and re-insert - this time mount it.
- Add 'cpuidle.off=1' to the kernel 'append' command line in extlinux.conf,
otherwise it won't boot: go to the mount point for the __boot volume. In my
case:
# cd /run/media/${USERNAME}/__boot/extlinux/extlinux. conf
# sudo sed -i 's/^\(.*append ro root=UUID=[0-9a-f-]\+\) *$/\1
cpuidle.off=1'/ extlinux.conf
- In order to enable hardware, get 4.15(or later) kernel from the Fedora 28
tree:
# cd /run/media/${USERNAME}/__/home
# sudo mkdir packages && cd packages
# for CURP in `curl
http://mirror.nodesdirect.com/fedora//development/28/Everything/armhfp/os...
2>/dev/null | grep kernel- | sed 's/.*\(kernel.*rpm\).*$/\1/'`; do echo
${CURP} ; sudo curl -o ${CURP}
http://mirror.nodesdirect.com/fedora//development/28/Everything/armhfp/os...;
done
# cd
- Eject SD and put into ODroid device, boot.
- Connect through minicom to serial console
- Go through the initial setup menu set a root password, time zone, etc.
- Login as root
- Install newer kernel:
# cd /home/packages
# rpm -Uvh kernel-lpae-4*rpm kernel-lpae-core-4*.rpm kernel-lpae-modules-4*
- Update extlinux.conf to set the new kernel as the default
# cd /boot/extlinux
# sed -i 's/^default=Fedora-Mini.*$/default=Fedora/' extlinux.conf
- Reboot
There are a couple of remaining kernel errors, but overall it works as a
starting point.
Also for me "fedora-arm-image-installer --target=none" creates a partition
with Raspi boot files. If that is not intended I should file a BZ on that I
guess.
Regards,
Daniel
5 years
Rawhide: PXE-E23: Client received TFTP error from server
by Chris Tatman
Hey All,
I have a working pxe/tftp environment that works great with Fedora27, and I am just now starting to test rawhide. But when I use the same setup, and to pxe boot rawhide, my client returns the following error:
"PXE-E23: Client received TFTP error from server"
I can see the logs on the server, and the client is pxe booting, and getting an IP address. But right afterwards, the client returns that error.
My dhcpd.conf entry for the client is as follows:
--------------------------
host mustang1 {
hardware ethernet 00:01:73:02:36:10;
fixed-address 192.168.1.93;
next-server 192.168.1.2;
# filename "linux-install/fedora27/BOOTAA64.EFI";
filename "linux-install/rawhide/BOOTAA64.EFI";
# filename "linux-install/rhel-alt-74/BOOTAA64.EFI";
# filename "linux-install/mustang/UpgradeFirmware.efi";
}
-------------------------
And when I comment out the rawhide entry, and uncomment any of the others, the client proceeds to boot as expected.
I got all my boot files this time from the rawhide netinst iso:
https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Server/...
Has anyone run into this issue in their testing yet?
Thanks!
5 years
Changing / from xfs to ext4 ?
by linux guy
I'm using an RPi with Fedora 27 (of course !) in an environment where it
sometimes loses power and shuts down prematurely. This has a tendency to
corrupt the xfs filesystem that / resides on.
As most of you probably know, it is much, much easier to repair a file
system error with other file systems, ext4, for example. It is very time
consuming to repair an error on an xfs file system.
What would be the disadvantage to mounting / on an ext4 fs rather than xfs
? What changes would be needed elsewhere to acomodate this ?
Thanks.
Special thanks to the Fedora arm people for all their hard work !
5 years
Fedora ARM & AArch64 Status Meeting Minutes 2018-03-06
by Paul Whalen
fedora-meeting-2: Fedora ARM and AArch64 Status Meeting
========================================================
Meeting started by pwhalen at 15:00:14 UTC. The full logs are available
at
https://meetbot.fedoraproject.org/fedora-meeting-2/2018-03-06/fedora_arm_...
.
Meeting summary
---------------
* roll call (pwhalen, 15:00:14)
* 1) ==== Userspace Status ==== (pwhalen, 15:04:29)
* No issues reported. (pwhalen, 15:05:41)
* 2) ==== Kernel Status ==== (pwhalen, 15:05:55)
* kernel-4.16.0-0.rc4.git0.1.fc28 (pwhalen, 15:06:03)
* LINK: https://koji.fedoraproject.org/koji/buildinfo?buildID=1053469
(pwhalen, 15:06:04)
* Please test and report any issues to the list or #fedora-arm.
(pwhalen, 15:08:15)
* 3) ==== Bootloader Status ==== (pwhalen, 15:08:24)
* uboot-tools-2018.03-0.8.rc3.fc28 (pwhalen, 15:08:33)
* LINK: https://koji.fedoraproject.org/koji/buildinfo?buildID=1053334
(pwhalen, 15:08:33)
* 4) == F28 Testing == (pwhalen, 15:15:02)
* Latest test results -
https://fedoraproject.org/wiki/Test_Results:Fedora_28_Branched_20180301.n...
(pwhalen, 15:16:19)
* 5) == Open Floor == (pwhalen, 15:18:38)
* Fedora 28 Schedule -
https://fedoraproject.org/wiki/Releases/28/Schedule (pwhalen,
15:21:08)
Meeting ended at 15:22:15 UTC.
Action Items
------------
Action Items, by person
-----------------------
* **UNASSIGNED**
* (none)
People Present (lines said)
---------------------------
* pwhalen (35)
* pbrobinson (14)
* zodbot (4)
* jlinton (2)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
5 years