Hello Team,
I have build the u-boot on my linux host PC(Oracle VM VirtualBox). Motivation is to just flash the U-boot on SD card without kernel and test on BBB.
For build I used following commands
Following are the steps which I perform to boot BBB via SD card using u-boot.
- Build different source of u-boot U-Boot / U-Boot · GitLab and GitHub - u-boot/u-boot: "Das U-Boot" Source Tree for testing on BBB.
- Build steps from point-3 to point-6
- export CROSS_COMPILE=arm-cortex_a8-linux-gnueabihf-
- export ARCH=arm
- make am335x_evm_defconfig
- make
- Connect the SD card to host linux PC using card reader.
- SD card partition done successfully. (partition-1(boot) = FAT32(64MiB) , and partition-2(rootfs) = ext4(29GiB))
- Copy MLO to SD card partition-1(boot) using → cp MLO …/…/…/…/…/media/pir4kor/boot/
- Copy u-boot.img to SD card partition-1(boot) using → cp u-boot.img …/…/…/…/…/media/pir4kor/boot/
- Insert the SD card on BBB board without providing any power supply to board.
- Start the Putty terminal window on my host PC(windows 11)
- Press and hold the S2 switch on BBB board for ~5 to 8 second and parallel provide the power to BBB boad using USB cable connecting to my host PC(windows 11).
- BBB started booting and bootup message visible on Putty window.
- Tested both the different u-boot mentioned in point-1 and I am getting same prints using two different u-boot source.
Please find the below BBB bootup Putty prints for your analysis.
Can someone please provide me help to fix this problem ?
My motivation is to only copy the u-boot on SD card without kernel.
U-Boot SPL 2024.07-rc4 (Jun 09 2024 - 18:08:41 +0200)
Trying to boot from MMC1
U-Boot 2024.07-rc4 (Jun 09 2024 - 18:08:41 +0200)
CPU : AM335X-GP rev 2.1
Model: TI AM335x BeagleBone Black
DRAM: 512 MiB
Core: 161 devices, 18 uclasses, devicetree: separate
WDT: Started wdt@44e35000 with servicing every 1000ms (60s timeout)
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from FAT… Unable to read “uboot.env” from mmc0:1…
not set. Validating first E-fuse MAC
Net: eth2: ethernet@4a100000using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC de:ad:be:ef:00:01
HOST MAC de:ad:be:ef:00:00
RNDIS ready
, eth3: usb_ether
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1…
Extension init…
Found 0 extension board(s).
No EFI system partition
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
No EFI system partition
Failed to persist EFI variables
Loading Boot0000 ‘mmc 0’ failed
Loading Boot0001 ‘mmc 1’ failed
EFI boot manager: Cannot load any image
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1…
Extension init…
Loading Boot0000 ‘mmc 0’ failed
Loading Boot0001 ‘mmc 1’ failed
EFI boot manager: Cannot load any image
Error: “bootcmd_nand0” not defined
starting USB…
Bus usb@47401800: Port not available.
USB is stopped. Please issue ‘usb start’ first.
starting USB…
Bus usb@47401800: Port not available.
ethernet@4a100000 Waiting for PHY auto negotiation to complete… TIMEOUT !
musb-hdrc: peripheral reset irq lost!
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/01-94-a9-a8-81-66-e0
ethernet@4a100000 Waiting for PHY auto negotiation to complete… TIMEOUT !
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
Retrieving file: pxelinux.cfg/00000000
ethernet@4a100000 Waiting for PHY auto negotiation to complete… TIMEOUT !
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
Retrieving file: pxelinux.cfg/0000000
ethernet@4a100000 Waiting for PHY auto negotiation to complete… TIMEOUT !
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
Retrieving file: pxelinux.cfg/000000
ethernet@4a100000 Waiting for PHY auto negotiation to complete… TIMEOUT !
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
Retrieving file: pxelinux.cfg/00000
ethernet@4a100000 Waiting for PHY auto negotiation to complete… TIMEOUT !
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
Retrieving file: pxelinux.cfg/0000
ethernet@4a100000 Waiting for PHY auto negotiation to complete… TIMEOUT !
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
Retrieving file: pxelinux.cfg/000
ethernet@4a100000 Waiting for PHY auto negotiation to complete… TIMEOUT !
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
Retrieving file: pxelinux.cfg/00
ethernet@4a100000 Waiting for PHY auto negotiation to complete… TIMEOUT !
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
Retrieving file: pxelinux.cfg/0
ethernet@4a100000 Waiting for PHY auto negotiation to complete… TIMEOUT !
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
Retrieving file: pxelinux.cfg/default-arm-am33xx-am335x
ethernet@4a100000 Waiting for PHY auto negotiation to complete… TIMEOUT !
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
Retrieving file: pxelinux.cfg/default-arm-am33xx
ethernet@4a100000 Waiting for PHY auto negotiation to complete… TIMEOUT !
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
Retrieving file: pxelinux.cfg/default-arm
ethernet@4a100000 Waiting for PHY auto negotiation to complete… TIMEOUT !
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
Retrieving file: pxelinux.cfg/default
ethernet@4a100000 Waiting for PHY auto negotiation to complete… TIMEOUT !
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
Config file not found
starting USB…
Bus usb@47401800: Port not available.
ethernet@4a100000 Waiting for PHY auto negotiation to complete… TIMEOUT !
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
ethernet@4a100000 Waiting for PHY auto negotiation to complete… TIMEOUT !
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
=>