BeagleBone Fedora
Aus LaborWiki
Fedora on BeagleBone
Most tutorials didn't work for me. Here's what I did to get fedora running on Beaglebone, booting from sdcard.
SDCARD
- Grep a fresh fedora arm image from https://dl.fedoraproject.org/pub/fedora-secondary/releases/
- Copy the image to the SDcard (using DD or Win32Diskimager)
- open the boot partition and create a file uEnv.txt
- put this into uEnv.txt
bootpart=0:1 bootdir= loadaddr=0x81000000 bootargs='console=ttyO0,115200n8 root=/dev/mmcblk0p3 rootwait rw rootfstype=ext4 video=omapfb:vram:2M,vram:4M' uenvcmd=mmc init;load mmc 0 ${loadaddr} uImage;run loadfdt;setenv bootargs console=${console} ${optargs};bootm ${loadaddr} - ${fdtaddr}
- crosscompile the lastest kernel uImage. set the UIMAGE_LOADADDR > 0x80000000 and UIMAGE_LOADADDR != loadaddr from uEnv.txt
make ARCH=arm -j2 UIMAGE_LOADADDR=0x80008000 uImage
- the default uImage won't work !
- edit /etc/fstab and remove those UUIDs
- edit /etc/passwd and insert a root password
kernel modules
- build the kernel modules after you built the kernel
make -j2 ARCH=arm modules_prepare make -j2 ARCH=arm modules make -j2 ARCH=arm modules_install INSTALL_MOD_PATH=../build/root
- copy the kernel modules and firmware to the fedora root partition on your beaglebone