RobertCNelson / omap-image-builder

omap image builder
http://elinux.org/BeagleBoardUbuntu
MIT License
153 stars 200 forks source link

Missing /u-boot/bb-u-boot-am335x-evm/MLO file in focal build #158

Closed MMetelko closed 3 years ago

MMetelko commented 3 years ago

I ran across another issue while trying to create a focal version of a BBB image using these scripts. The configuration file used to drive the build is https://github.com/RobertCNelson/omap-image-builder/blob/master/configs/rcn-ee_console_ubuntu_focal_armhf.conf. We are building with kernel version 5.4.106-ti-rt-r33, and I pulled the latest version of the code 3 hours ago.

Here is the error I am seeing. Let me know if you need any other information on this.

uname_r=5.4.106-ti-rt-r33
#uuid=
#dtb=

###U-Boot Overlays###
###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays
###Master Enable
enable_uboot_overlays=1
###
###Overide capes with eeprom
#uboot_overlay_addr0=<file0>.dtbo
#uboot_overlay_addr1=<file1>.dtbo
#uboot_overlay_addr2=<file2>.dtbo
#uboot_overlay_addr3=<file3>.dtbo
###
###Additional custom capes
#uboot_overlay_addr4=<file4>.dtbo
#uboot_overlay_addr5=<file5>.dtbo
#uboot_overlay_addr6=<file6>.dtbo
#uboot_overlay_addr7=<file7>.dtbo
###
###Custom Cape
#dtb_overlay=<file8>.dtbo
###
###Disable auto loading of virtual capes (emmc/video/wireless/adc)
#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
###
###PRUSS OPTIONS
###pru_rproc (4.14.x-ti kernel)
#uboot_overlay_pru=AM335X-PRU-RPROC-4-14-TI-00A0.dtbo
###pru_rproc (4.19.x-ti kernel)
#uboot_overlay_pru=AM335X-PRU-RPROC-4-19-TI-00A0.dtbo
###pru_uio (4.14.x-ti, 4.19.x-ti & mainline/bone kernel)
uboot_overlay_pru=AM335X-PRU-UIO-00A0.dtbo
###
###Cape Universal Enable
#enable_uboot_cape_universal=1
###
###Debug: disable uboot autoload of Cape
#disable_uboot_overlay_addr0=1
#disable_uboot_overlay_addr1=1
#disable_uboot_overlay_addr2=1
#disable_uboot_overlay_addr3=1
###
###U-Boot fdt tweaks... (60000 = 384KB)
#uboot_fdt_buffer=0x60000
###U-Boot Overlays###

console=ttyS0,115200n8
cmdline=coherent_pool=1M net.ifnames=0 security=apparmor lpj=1990656 rng_core.default_quality=100 quiet

#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M net.ifnames=0 security=apparmor lpj=1990656 rng_core.default_quality=100 quiet video=HDMI-A-1:1024x768@60e

#Use an overlayfs on top of a read-only root filesystem:
#cmdline=coherent_pool=1M net.ifnames=0 security=apparmor lpj=1990656 rng_core.default_quality=100 quiet overlayroot=tmpfs

##enable Generic eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

-----------------------------
Backup version of u-boot (MLO): /opt/backup/uboot/
cp: cannot stat './u-boot/bb-u-boot-am335x-evm/MLO': No such file or directory
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
RobertCNelson commented 3 years ago

Hi @MMetelko I'm guessing you used --distro-bootloader ?... that is the way i'm going... let me clean a few things up..

RobertCNelson commented 3 years ago

So, ',/u-boot/bb-u-boot-am335x-evm/MLO' comes from bb-u-boot-am335x-evm, i've been transitioning away from our old method for retrieving the bootloader to something more maintainable... i had not fixed the ubuntu version yet... While at it i split the old none AM335x/AM57xx based kernel into a generic version.. so a few renames..

https://github.com/RobertCNelson/omap-image-builder/commits/master

rcn-ee_console_ubuntu_focal_armhf.conf is now rcn-ee.net-console-ubuntu-focal-armhf.conf

Regards,