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](https://elinux.org/BeagleBoardDebian#eMMC:_All_BeagleBone_Varients_with_eMMC).
 
`wget BBB-eMMC-flasher-debian-9.3-console-armhf-2018-01-05-2gb.img.xz`
- Prepare a flasher with [etcher](https://etcher.io/)
- 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](https://github.com/RobertCNelson/bb-kernel/tree/3.8.13-xenomai). 
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`. **NOTE** `less` was not available by default, had to `sudo 
apt-get install less` first...
- Disconnect ethernet and reboot.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/527efd49-86e8-4850-98c5-6b461e36bf62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to