Hi
I am trying to boot BBB through TFTP .
My Host is
lsb_release -da
Ubuntu 20.04.4 LTS (Host)
uname -r
5.13.0-44-generic(Host)
I have partitioned and loaded MLO, Uboot and uEnv.txt files into SD card and booted from there.
Here is the output
U-Boot SPL 2019.04-g923f8b8 (Jan 02 2022 - 19:05:15 +0000)
Trying to boot from MMC2
Loading Environment from EXT4...
** Unable to use mmc 0:1 for loading the env **
U-Boot 2019.04-g923f8b8 (Jan 02 2022 - 19:05:15 +0000)
CPU : AM335X-GP rev 2.1
I2C: ready
DRAM: 512 MiB
No match for driver 'omap_hsmmc'
No match for driver 'omap_hsmmc'
Some drivers were not found
Reset Source: Power-on reset has occurred.
RTC 32KCLK Source: External.
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from EXT4...
** Unable to use mmc 0:1 for loading the env **
Board: BeagleBone Black
<ethaddr> not set. Validating first E-fuse MAC
BeagleBone Black:
BeagleBone Cape EEPROM: no EEPROM at address: 0x54
BeagleBone Cape EEPROM: no EEPROM at address: 0x55
BeagleBone Cape EEPROM: no EEPROM at address: 0x56
BeagleBone Cape EEPROM: no EEPROM at address: 0x57
Net: eth0: MII MODE
cpsw, usb_ether
Press SPACE to abort autoboot in 0 seconds
board_name=[A335BNLT] ...
board_rev=[00A5] ...
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 ...
486 bytes read in 3 ms (158.2 KiB/s)
gpio: pin 55 (gpio 55) value is 1
Loaded environment from /uEnv.txt
Importing environment from mmc ...
Checking if uenvcmd is set ...
gpio: pin 56 (gpio 56) value is 1
Running uenvcmd ...
Booting from network ...
cpsw Waiting for PHY auto negotiation to complete......... TIMEOUT !
using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC d0:39:72:40:ad:85
HOST MAC de:ad:be:af:00:00
RNDIS ready
musb-hdrc: peripheral reset irq lost!
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
USB RNDIS network up!
Using usb_ether device
TFTP from server 192.168.7.1; our IP address is 192.168.7.2
Filename '/var/lib/tftpboot/uImage'.
Load address: 0x82000000
Loading:
#### waiting here ......(My Note)
ARP Retry count exceeded; starting again
using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC d0:39:72:40:ad:85
HOST MAC de:ad:be:af:00:00
RNDIS ready
high speed config #2: 2 mA, Ethernet Gadget, using RNDIS
USB RNDIS network up!
Using usb_ether device
TFTP from server 192.168.7.1; our IP address is 192.168.7.2
Filename '/var/lib/tftpboot/am335x-boneblack.dtb'.
Load address: 0x88000000
Loading: *
### waiting here ......(My Note)
ARP Retry count exceeded; starting again
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Checking for: /boot.scr ...
Checking for: /boot/boot.scr ...
Checking for: /boot/uEnv.txt ...
** Invalid partition 3 **
** Invalid partition 4 **
** Invalid partition 5 **
** Invalid partition 6 **
** Invalid partition 7 **
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1: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
mmc1(part 0) 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
2023 bytes read in 14 ms (140.6 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.19.94-ti-r73 ...
10170880 bytes read in 657 ms (14.8 MiB/s)
debug: [enable_uboot_overlays=1] ...
debug: [enable_uboot_cape_universal=1] ...
debug: [uboot_base_dtb_univ=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: [uboot_base_dtb=am335x-boneblack-uboot-univ.dtb] ...
uboot_overlays: Switching too: dtb=am335x-boneblack-uboot-univ.dtb ...
loading /boot/dtbs/4.19.94-ti-r73/am335x-boneblack-uboot-univ.dtb ...
167492 bytes read in 81 ms (2 MiB/s)
uboot_overlays: [fdt_buffer=0x60000] ...
uboot_overlays: loading /boot/dtbs/4.19.94-ti-r73/overlays/BB-ADC-00A0.dtbo ...
645 bytes read in 46 ms (13.7 KiB/s)
uboot_overlays: loading /boot/dtbs/4.19.94-ti-r73/overlays/BB-BONE-eMMC1-01-00A.
1605 bytes read in 96 ms (15.6 KiB/s)
uboot_overlays: loading /boot/dtbs/4.19.94-ti-r73/overlays/BB-HDMI-TDA998x-00A0.
5321 bytes read in 87 ms (59.6 KiB/s)
uboot_overlays: loading /boot/dtbs/4.19.94-ti-r73/overlays/AM335X-PRU-RPROC-4-1.
3627 bytes read in 61 ms (57.6 KiB/s)
loading /boot/initrd.img-4.19.94-ti-r73 ...
7866942 bytes read in 512 ms (14.7 MiB/s)
debug: [console=ttyS0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/m.
debug: [bootz 0x82000000 0x88080000:780a3e 88000000] ...
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Ramdisk to 8f87f000, end 8ffffa3e ... OK
Loading Device Tree to 8f7f2000, end 8f87efff ... OK
Starting kernel ...
[ 0.002248] timer_probe: no matching timers found
[ 0.197943] l4_wkup_cm:clk:0010:0: failed to disable
[ 1.508530] omap_voltage_late_init: Voltage driver support not added
rootfs: recovering journal
rootfs: Clearing orphaned inode 918 (uid=0, gid=0, mode=0100600, size=0)
rootfs: clean, 101108/236176 files, 709861/943104 blocks
Debian GNU/Linux 10 beaglebone ttyS0
BeagleBoard.org Debian Buster IoT Image 2022-05-01
Support: https://bbb.io/debian
default username:password is [debian:temppwd]
beaglebone login:
As the uboot was not able to fetch Kernel and RFS from TFTP it after several trials it boots from emmc at last. ( So I think)
I cannot configure the Host IP for beagle bone to connect to .
Here is the ifconfig in my host without a booted BBB connected to its USB
oy@ub-medusa:~$ ifconfig
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 13.13.13.7 netmask 255.255.255.0 broadcast 13.13.13.255
inet6 fe80::7840:e0bf:e9bf:77cb prefixlen 64 scopeid 0x20<link>
ether ac:22:0b:c5:92:6b txqueuelen 1000 (Ethernet)
RX packets 12502 bytes 13596511 (13.5 MB)
RX errors 0 dropped 144 overruns 0 frame 0
TX packets 9140 bytes 1684513 (1.6 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 2081 bytes 203577 (203.5 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2081 bytes 203577 (203.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
13.13.13.7 is my LAN interface from Internet router
Here is the result when a booted BBB is connected to Host
roy@ub-medusa:~$ ifconfig
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 13.13.13.7 netmask 255.255.255.0 broadcast 13.13.13.255
inet6 fe80::7840:e0bf:e9bf:77cb prefixlen 64 scopeid 0x20<link>
ether ac:22:0b:c5:92:6b txqueuelen 1000 (Ethernet)
RX packets 18752 bytes 19807653 (19.8 MB)
RX errors 0 dropped 329 overruns 0 frame 0
TX packets 13611 bytes 2574218 (2.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enxd0397240ad88: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.7.1 netmask 255.255.255.0 broadcast 192.168.7.255
inet6 fe80::a699:912a:8a24:38c5 prefixlen 64 scopeid 0x20<link>
ether d0:39:72:40:ad:88 txqueuelen 1000 (Ethernet)
RX packets 53 bytes 8730 (8.7 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 48 bytes 8735 (8.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enxd0397240ad8a: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.6.1 netmask 255.255.255.0 broadcast 192.168.6.255
inet6 fe80::86e6:33ee:53c0:e70d prefixlen 64 scopeid 0x20<link>
ether d0:39:72:40:ad:8a txqueuelen 1000 (Ethernet)
RX packets 51 bytes 8586 (8.5 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 47 bytes 6524 (6.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 3556 bytes 343637 (343.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3556 bytes 343637 (343.6 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
as this Ubunti 20 is not having /eth/network/interfaces file, I am not able to get a good reference to configure this.
Any support will be appreciated.
THank you