@kacf I’ve managed to build my u-boot from v2020.07 branch, but still it seems that the image is not able to boot.
Got built using the following commands
make CROSS_COMPILE=arm-linux-gnueabihf- am335x_boneblack_vboot_defconfig
make CROSS_COMPILE=arm-linux-gnueabihf-
make CROSS_COMPILE=arm-linux-gnueabihf- envtools
Then packed everything to beaglebone_black_uefi-2020.07.tar.gz, put into a directory visible from docker-mender-convert and modified the function beaglebone_fix_broken_uefi
to use the local archive, not downloaded.
In anyway, I tried both local and downloaded, the result is the same.
U-Boot SPL 2020.07 (Sep 21 2020 - 11:06:32 +0200)
WDT: Not found!
Trying to boot from MMC1
Loading Environment from FAT... *** Warning - bad CRC, using default environment
Loading Environment from MMC... *** Warning - bad CRC, using default environment
U-Boot 2020.07 (Sep 21 2020 - 11:06:32 +0200)
CPU : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM: 512 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment
Loading Environment from MMC... *** Warning - bad CRC, using default environment
<ethaddr> not set. Validating first E-fuse MAC
Net: eth0: ethernet@4a100000
Warning: usb_ether MAC addresses don't match:
Address in ROM is de:ad:be:ef:00:01
Address in environment is 84:eb:18:e6:b4:86
, eth1: usb_ether
Press SPACE to abort autoboot in 2 seconds
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...
57674 bytes read in 8 ms (6.9 MiB/s)
Found EFI removable media binary efi/boot/bootarm.efi
Scanning disk mmc@48060000.blk...
Scanning disk mmc@481d8000.blk...
** Unrecognized filesystem type **
Found 6 disks
BootOrder not defined
EFI boot manager: Cannot load any image
385024 bytes read in 28 ms (13.1 MiB/s)
Welcome to GRUB!
lock: OK
lock: OK
EFI stub: Booting Linux Kernel...
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.94-ti-r51 (voodoo@x2-am57xx-beagle-x15-2gb) (gcc version 8.3.0 (Debian 8.3.0-6)) #1buster SMP PREEMPT Wed Sep 9 17:13:58 UTC 2020
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Green
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: EFI v2.80 by Das U-Boot
[ 0.000000] efi: SMBIOS=0x9cf2d000
[ 0.000000] cma: Reserved 48 MiB at 0x99800000
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon)
[ 0.000000] random: get_random_bytes called from start_kernel+0xac/0x4c0 with crng_init=0
[ 0.000000] percpu: Embedded 17 pages/cpu s38988 r8192 d22452 u69632
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129408
[ 0.000000] Kernel command line: BOOT_IMAGE=(hd0,msdos2)/boot/kernel root=/dev/mmcblk1p2 console=tty0,115200n8 console=ttyS0,115200n8 console=ttyO0,115200n8 console=ttyAMA0,115200n8 rootwait
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 439016K/522240K available (13312K kernel code, 1140K rwdata, 4336K rodata, 1024K init, 350K bss, 34072K reserved, 49152K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (14304 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) (1141 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 351 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] ftrace: allocating 42210 entries in 124 pages
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000018] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000040] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000055] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000745] timer_probe: no matching timers found
[ 0.000967] Console: colour dummy device 80x30
[ 0.001692] console [tty0] enabled
[ 0.001783] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[ 0.046927] pid_max: default: 32768 minimum: 301
[ 0.047237] Security Framework initialized
[ 0.047274] Yama: becoming mindful.
[ 0.047432] AppArmor: AppArmor initialized
[ 0.047555] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.047589] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.048725] CPU: Testing write buffer coherency: ok
[ 0.048823] CPU0: Spectre v2: using BPIALL workaround
[ 0.049334] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.071026] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.078932] rcu: Hierarchical SRCU implementation.
[ 0.090183] Remapping and enabling EFI services.
[ 0.094938] smp: Bringing up secondary CPUs ...
[ 0.094980] smp: Brought up 1 node, 1 CPU
[ 0.095003] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[ 0.095028] CPU: All CPU(s) started in SVC mode.
[ 0.096777] devtmpfs: initialized
[ 0.111231] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.111952] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.112010] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.116591] xor: automatically using best checksumming function neon
[ 0.116667] pinctrl core: initialized pinctrl subsystem
[ 0.118013] NET: Registered protocol family 16
[ 0.121702] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.157716] l4_wkup_cm:clk:0010:0: failed to disable
[ 0.210068] audit: initializing netlink subsys (disabled)
[ 0.215038] audit: type=2000 audit(0.200:1): state=initialized audit_enabled=0 res=1
[ 0.219071] OMAP GPIO hardware version 0.1
[ 0.232586] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.259085] raid6: using algorithm neonx8 gen() 0 MB/s
[ 0.259145] raid6: .... xor() 0 MB/s, rmw enabled
[ 0.259167] raid6: using neon recovery algorithm
[ 0.266658] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.270274] SCSI subsystem initialized
[ 0.271407] usbcore: registered new interface driver usbfs
[ 0.271508] usbcore: registered new interface driver hub
[ 0.271654] usbcore: registered new device driver usb
[ 0.273904] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[ 0.274332] pps_core: LinuxPPS API ver. 1 registered
[ 0.274370] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.274420] PTP clock support registered
[ 0.274579] Registered efivars operations
[ 0.275540] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.279279] Advanced Linux Sound Architecture Driver Initialized.
[ 0.280150] NetLabel: Initializing
[ 0.280186] NetLabel: domain hash size = 128
[ 0.280205] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.280311] NetLabel: unlabeled traffic allowed by default
[ 0.281313] clocksource: Switched to clocksource timer1
[ 0.444042] VFS: Disk quotas dquot_6.6.0
[ 0.444198] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.445115] AppArmor: AppArmor Filesystem Enabled
[ 0.457586] NET: Registered protocol family 2
[ 0.458637] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[ 0.458713] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.458777] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.458854] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.459002] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.459047] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.459464] NET: Registered protocol family 1
[ 0.472671] RPC: Registered named UNIX socket transport module.
[ 0.472721] RPC: Registered udp transport module.
[ 0.472741] RPC: Registered tcp transport module.
[ 0.472761] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.473659] Unpacking initramfs...
[ 0.844375] Freeing initrd memory: 6464K
[ 0.845155] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 0.847998] Initialise system trusted keyrings
[ 0.848471] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.855957] zbud: loaded
[ 0.863539] NFS: Registering the id_resolver key type
[ 0.863625] Key type id_resolver registered
[ 0.863646] Key type id_legacy registered
[ 0.863680] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.864057] fuse init (API version 7.27)
[ 0.874660] Key type asymmetric registered
[ 0.874719] Asymmetric key parser 'x509' registered
[ 0.874834] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 0.879254] io scheduler noop registered
[ 0.879297] io scheduler deadline registered
[ 0.879599] io scheduler cfq registered (default)
[ 0.879630] io scheduler mq-deadline registered
[ 0.882225] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[ 0.883568] gpio-of-helper ocp:cape-universal: ready
[ 0.887295] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 0.890969] console [ttyS0] disabled
[ 0.891116] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
[ 1.160047] random: fast init done
[ 1.655745] console [ttyS0] enabled
[ 1.660582] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 31, base_baud = 3000000) is a 8250
[ 1.672144] omap_rng 48310000.rng: Random Number Generator ver. 20
[ 1.678850] random: crng init done
[ 1.683632] sdhci: Secure Digital Host Controller Interface driver
[ 1.690135] sdhci: Copyright(c) Pierre Ossman
[ 1.695081] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[ 1.703923] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 1.709183] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.1
[ 1.743358] omap_hsmmc 481d8000.mmc: Linked as a consumer to regulator.1
[ 1.776400] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.807920] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.821377] mmc0: new high speed SDHC card at address e624
[ 1.832355] mmcblk0: mmc0:e624 SC32G 29.7 GiB
[ 1.841417] mmc1: new high speed MMC card at address 0001
[ 1.850488] mmcblk0: p1 p2 p3 p4
[ 1.854672] mmcblk1: mmc1:0001 P1XXXX 3.60 GiB
[ 1.862422] mmcblk1boot0: mmc1:0001 P1XXXX partition 1 2.00 MiB
[ 1.869212] mmcblk1boot1: mmc1:0001 P1XXXX partition 2 2.00 MiB
[ 1.875632] mmcblk1rpmb: mmc1:0001 P1XXXX partition 3 128 KiB, chardev (245:0)
[ 2.797335] omap_i2c 4819c000.i2c: timeout waiting for bus ready
[ 3.809321] omap_i2c 4819c000.i2c: timeout waiting for bus ready
[ 4.825324] omap_i2c 4819c000.i2c: timeout waiting for bus ready
[ 5.837338] omap_i2c 4819c000.i2c: timeout waiting for bus ready
[ 6.849323] omap_i2c 4819c000.i2c: timeout waiting for bus ready
[ 7.861319] omap_i2c 4819c000.i2c: timeout waiting for bus ready
[ 8.873321] omap_i2c 4819c000.i2c: timeout waiting for bus ready
[ 9.885319] omap_i2c 4819c000.i2c: timeout waiting for bus ready
[ 9.896478] libphy: Fixed MDIO Bus: probed
[ 9.901791] CAN device driver interface
[ 9.957431] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 9.965226] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 9.971856] MDIO: davinci_mdio: dt: updated phy_id[0] from phy_mask[fffffffe]
[ 9.996832] libphy: 4a101000.mdio: probed
[ 10.001149] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 10.011648] cpsw 4a100000.ethernet: Detected MACID = 84:eb:18:e6:b4:84
[ 10.018701] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[ 10.025221] cpsw 4a100000.ethernet: ALE Table size 1024
[ 10.030601] cpsw 4a100000.ethernet: cpts: overflow check period 1250 (jiffies)
[ 10.039844] usbcore: registered new interface driver smsc95xx
[ 10.046687] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 10.053386] ehci-platform: EHCI generic platform driver
[ 10.058906] ehci-omap: OMAP-EHCI Host Controller driver
[ 10.064818] usbcore: registered new interface driver usb-storage
[ 10.073688] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
[ 10.083979] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.0
[ 10.094576] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[ 10.104788] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regulator.0
[ 10.115920] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 10.121451] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 10.129256] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[ 10.137631] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 10.144932] usb usb1: Product: MUSB HDRC host driver
[ 10.149956] usb usb1: Manufacturer: Linux 4.19.94-ti-r51 musb-hcd
[ 10.156115] usb usb1: SerialNumber: musb-hdrc.1
[ 10.161694] hub 1-0:1.0: USB hub found
[ 10.165650] hub 1-0:1.0: 1 port detected
[ 10.180992] omap_rtc 44e3e000.rtc: registered as rtc0
[ 10.187576] i2c /dev entries driver
[ 10.193999] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 10.201563] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[ 10.212817] ledtrig-cpu: registered to indicate activity on CPUs
[ 10.219448] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 10.225670] omap-aes 53500000.aes: will run requests pump with realtime priority
[ 10.235486] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 10.244643] hidraw: raw HID events driver (C) Jiri Kosina
[ 10.254386] gnss: GNSS driver registered with major 242
[ 10.265942] NET: Registered protocol family 10
[ 10.340786] Segment Routing with IPv6
[ 10.344989] mip6: Mobile IPv6
[ 10.348275] NET: Registered protocol family 17
[ 10.353023] can: controller area network core (rev 20170425 abi 9)
[ 10.359443] NET: Registered protocol family 29
[ 10.364066] 8021q: 802.1Q VLAN Support v1.8
[ 10.368409] Key type dns_resolver registered
[ 10.372788] mpls_gso: MPLS GSO support
[ 10.376832] ThumbEE CPU extension supported.
[ 10.381227] Registering SWP/SWPB emulation handler
[ 10.386095] omap_voltage_late_init: Voltage driver support not added
[ 10.394086] registered taskstats version 1
[ 10.398299] Loading compiled-in X.509 certificates
[ 10.403287] zswap: loaded using pool lzo/zbud
[ 10.410962] Btrfs loaded, crc32c=crc32c-generic
[ 10.415762] AppArmor: AppArmor sha1 policy hashing enabled
[ 10.474986] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set
[ 10.482229] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[ 10.494089] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 10.500486] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 10.507687] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 10.517705] cpu cpu0: Linked as a consumer to regulator.3
[ 10.523328] cpu cpu0: Dropping the link to regulator.3
[ 10.529113] cpu cpu0: Linked as a consumer to regulator.3
[ 10.536611] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[ 10.546305] ALSA device list:
[ 10.549405] No soundcards found.
[ 10.559077] Freeing unused kernel memory: 1024K
[ 10.564465] Run /init as init process
And no any progress in boot any more.
What it might be caused by ?