Hello everyone, since more than two weeks I am trying to get a custom kernel running on my SanCloud BeagleBone Enhanced. But as I got a common BBB as well, the slightly different architecture of the BBE should not be the problem. My final goal is to get Xenomai running on the BBE.
After I did a lot of research, my first attempt was to directly build the 4.9-xenomai kernel from the official beaglebone kernel repository. But as the boot process got stuck at "booting kernel .." I tried different manuals I found on the internet to build different new kernels. For this, I used both the kernel.org source code and the specific beaglebone code. But every attempt ended with the same serial output: "booting kernel...". I did a lot of research regarding this specific issue and tried a lot of things within the uEnv.txt. But none of those adjustments worked. So, finally, I followed the kernel build process on digikey.com <https://www.digikey.com/eewiki/display/linuxonarm/BeagleBone+Black> which was updated just 2 months ago by Robert Nelson. I did everything step by step and every entered command and every build worked perfectly (am33x-v4.14 and Debian). But the outcome was the same: the boot process hung up at "starting kernel ...". But, as I have a working Debian Image running, I compared both the booting outputs and found just a few differences (after it did not work, I entered all the overlay commands listed in the digikey manual which affect the boot output shown beneath). I guess I am not that far off the solution, so I really hope that someone can help me with some input. Thank you very much! At the moment, my uEnv.txt file includes the following: uname_r=4.14.78-bone17 enable_uboot_overlays=1 disable_uboot_overlay_emmc=1 disable_uboot_overlay_video=1 disable_uboot_overlay_audio=1 disable_uboot_overlay_wireless=1 disable_uboot_overlay_adc=1 uboot_overlay_addr0=/lib/firmware/.dtbo uboot_overlay_addr1=/lib/firmware/.dtbo uboot_overlay_addr2=/lib/firmware/.dtbo uboot_overlay_addr3=/lib/firmware/.dtbo disable_uboot_overlay_addr0=1 disable_uboot_overlay_addr1=1 disable_uboot_overlay_addr2=1 disable_uboot_overlay_addr3=1 uboot_overlay_addr4=/lib/firmware/.dtbo uboot_overlay_addr5=/lib/firmware/.dtbo uboot_overlay_addr6=/lib/firmware/.dtbo uboot_overlay_addr7=/lib/firmware/.dtbo # uboot_base_dtb_univ=am335x-sancloud-bbe-uboot.dtb # uboot_base_dtb=am335x-sancloud-bbe-uboot.dtb uboot_overlay_pru=/lib/firmware/AM335x-PRU-RPROC-4-14-TI-00A0.dtbo enable_uboot_cape_universal=1 And the boot output looks like: U-Boot SPL 2018.09 (Dec 12 2018 - 10:48:38 +0100) Trying to boot from MMC1 Loading Environment from EXT4... ** File not found /boot/uboot.env ** ** Unable to read "/boot/uboot.env" from mmc0:1 ** U-Boot 2018.09 (Dec 12 2018 - 10:48:38 +0100) CPU : AM335X-GP rev 2.1 I2C: ready DRAM: 1 GiB No match for driver 'omap_hsmmc' No match for driver 'omap_hsmmc' Some drivers were not found Reset Source: watchdog reset has occurred. Reset Source: Power-on reset has occurred. RTC 32KCLK Source: External. MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Loading Environment from EXT4... ** File not found /boot/uboot.env ** ** Unable to read "/boot/uboot.env" from mmc0:1 ** Board: BeagleBone Black Model: SanCloud BeagleBone Enhanced <ethaddr> not set. Validating first E-fuse MAC BeagleBone Black: Model: SanCloud BeagleBone Enhanced: Timed out in wait_for_event: status=0000 Check if pads/pull-ups of bus are properly configured BeagleBone: cape eeprom: i2c_probe: 0x54: Timed out in wait_for_event: status=0000 Check if pads/pull-ups of bus are properly configured BeagleBone: cape eeprom: i2c_probe: 0x55: Timed out in wait_for_event: status=0000 Check if pads/pull-ups of bus are properly configured BeagleBone: cape eeprom: i2c_probe: 0x56: Timed out in wait_for_event: status=0000 Check if pads/pull-ups of bus are properly configured BeagleBone: cape eeprom: i2c_probe: 0x57: Net: eth0: MII MODE cpsw, usb_ether Press SPACE to abort autoboot in 2 seconds board_name=[BBEN] ... switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... gpio: pin 56 (gpio 56) value is 0 gpio: pin 55 (gpio 55) value is 0 gpio: pin 54 (gpio 54) value is 0 gpio: pin 53 (gpio 53) value is 1 switch to partitions #0, OK mmc0 is current device gpio: pin 54 (gpio 54) value is 1 Checking for: /uEnv.txt ... Checking for: /boot.scr ... Checking for: /boot/boot.scr ... Checking for: /boot/uEnv.txt ... gpio: pin 55 (gpio 55) value is 1 833 bytes read in 32 ms (25.4 KiB/s) Loaded environment from /boot/uEnv.txt Checking if uname_r is set in /boot/uEnv.txt... gpio: pin 56 (gpio 56) value is 1 Running uname_boot ... loading /boot/vmlinuz-4.14.78-bone17 ... 10367488 bytes read in 686 ms (14.4 MiB/s) debug: [enable_uboot_overlays=1] ... debug: [enable_uboot_cape_universal=1] ... debug: [uboot_base_dtb_univ=am335x-sancloud-bbe-uboot-univ.dtb] ... uboot_overlays: [uboot_base_dtb=am335x-sancloud-bbe-uboot-univ.dtb] ... debug: unable to find [am335x-sancloud-bbe-uboot-univ.dtb] using [am335x-sancloud-bbe-uboot.dtb] instead ... debug: [uboot_base_dtb_univ=am335x-sancloud-bbe-uboot.dtb] ... uboot_overlays: [uboot_base_dtb=am335x-sancloud-bbe-uboot.dtb] ... loading /boot/dtbs/4.14.78-bone17/am335x-sancloud-bbe.dtb ... 61893 bytes read in 82 ms (736.3 KiB/s) uboot_overlays: [fdt_buffer=0x60000] ... uboot_overlays: uboot loading of [/lib/firmware/.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_addr0=1]... uboot_overlays: uboot loading of [/lib/firmware/.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_addr1=1]... uboot_overlays: uboot loading of [/lib/firmware/.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_addr2=1]... uboot_overlays: uboot loading of [/lib/firmware/.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_addr3=1]... uboot_overlays: unable to find [mmc 0:1 /lib/firmware/.dtbo]... uboot_overlays: unable to find [mmc 0:1 /lib/firmware/.dtbo]... uboot_overlays: unable to find [mmc 0:1 /lib/firmware/.dtbo]... uboot_overlays: unable to find [mmc 0:1 /lib/firmware/.dtbo]... uboot_overlays: uboot loading of [/lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_emmc=1]... uboot_overlays: uboot loading of [/lib/firmware/BB-HDMI-TDA998x-00A0.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_video=1]... uboot_overlays: uboot loading of [/lib/firmware/BB-ADC-00A0.dtbo] disabled by /boot/uEnv.txt [disable_uboot_overlay_adc=1]... uboot_overlays: unable to find [mmc 0:1 /lib/firmware/AM335x-PRU-RPROC-4-14-TI-00A0.dtbo]... uboot_overlays: loading /lib/firmware/univ-bbb-xxx-00A0.dtbo ... 118746 bytes read in 378 ms (306.6 KiB/s) debug: [console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait] ... debug: [bootz 0x82000000 - 88000000] ... ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 reserving fdt memory region: addr=88000000 size=8b000 Loading Device Tree to 8ff72000, end 8fffffff ... OK Starting kernel ... -- 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/048d0412-85b6-4e8c-a1b0-2673780a7e83%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
