BeagleBone Fedora

Aus LaborWiki
Wechseln zu: Navigation, Suche

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

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