On Thu, Mar 5, 2015 at 10:23 PM, <sdfzz...@gmail.com> wrote: > Hi all > > I am trying to run Ubuntu with preempt rt on my beaglebone black. I've been > trying this for days without much success... > > I can boot my BBB into ubuntu by using > "BBB-eMMC-flasher-ubuntu-13.04-2013-06-14.img" and other similar files. > However, I fail to update its kernel. > > 1. I figured that there is kernel 3.8-rt in github. I followed the > instruction in > http://dev.ardupilot.com/wiki/building-the-code/building-for-beaglebone-black-on-linux/ > However, my BBB won't boot. I know that the instruction is meant for debian. > So, it it not applicable to Ubuntu? I've tried other beagle bone kernels in > github, but I get errors while applying preempt-rt patch. > > 2. How do I install a new kernel? what I'm doing right now is: > a) build kernel with > make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- beaglebone_defconfig -j4 > make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- menuconfig > make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- uImage dtbs > LOADADDR=0x80008000 -j4 > make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- modules -j4 > make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- am335x-boneblack.dtb -j4 > mkdir -p ../export/rootfs > make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- > INSTALL_MOD_PATH=../export/rootfs/ modules_install > > b) copy kernel to BBB > lib/modules/my_new_kernel_modules -> rootfs/lib/modules > kernel/arch/arm/boot/zImage -> rootfs/boot/uboot > kernel/arch/arm/boot/dts/am335x-boneblack.dtb -> /boot/uboot > > Sometimes, after installing a kernel, BBB manages to boot and I see multiple > kernels when I do "ls /lib/modules". However, "uname -r" tells me that I am > still booting from the old kernel. Is there anyway to choose the kernel to > boot? > > I really need some help, and any help would be greatly appreciated
Start with: http://elinux.org/BeagleBoardUbuntu#BeagleBone.2FBeagleBone_Black then: sudo apt-get update ; sudo apt-get install linux-image-3.14.34-ti-rt-r53 ; sudo reboot Which has "CONFIG_PREEMPT_RTB=y" enabled... "CONFIG_PREEMPT_RT_FULL" is still disabled as that doesn't boot.. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.