Hello,
I’ve tried installing a xenomai-patched kernel, with the process described below. Installation seems to go smoothly, then when I reboot the boot process keeps getting stuck, loops on the error “ipaddr not set” and eventually just doesn’t go anywhere. I’ve got a bootlog (logged via serial) here: https://pastebin.com/NFNqaH34
If anyone has any idea what’s going wrong and can point me in the right direction, I’d very much appreciate it.
— Installation —
- get a Debian image from elinux.org.
wget BBB-eMMC-flasher-debian-9.3-console-armhf-2018-01-05-2gb.img.xz
- Prepare a flasher with etcher
- insert SD card into BeagleBone. Note many old (~2015) tutorials claim you need to press down a specific button to tell the BBB to flash from the SD card. This seems to longer be true with UBoot. Powering the board by USB and turning it on (with the SD card in it) flashed it by default. Make sure nothing else (usb-peripherals, ethernet etc.) are not connected. It should flash a cylon pattern on the LEDs for quite a while (~25 minutes) and then finally power off. Remove SD card and boot.
- Plug in ethernet and update everything:
sudo apt-get update
- Note You can find the latest kernels maintained by RCN on his github. bb-kernel are closer to mainline and BeagleBone specific. ti-kernels can be used on the X-15 architecture, and include more advanced stuff. I want to patch the bb-kernel.
- Find the latest maintained kernel:
sudo apt-cache search xenomai | grep '3.18.13'
. Where 3.18.13 is to narrow things down, based on the patched kernels that we’ve seen are maintained by RCN (see previous step). You can confirm the version comparing with the commits on RCN’s github repo for that branch. Take the latest, and install, e.g.sudo apt-get install linux-image-3.8.13-xenomai-r86 linux-headers-3.8.13-xenomai-r86 linux-firmware-image-3.8.13-xenomai-r86
. - make sure your u-boot is set to boot the patched kernel:
less /boot/uEnv.txt
. NOTEless
was not available by default, had tosudo apt-get install less
first… - Disconnect ethernet and reboot.