true & many thanks for that ...........
These things are useful because of network support in u-boot so tftp and nfs can be used to load kernel.
......
cm5 :
Code:
NOTICE: BL31: v2.6(release):v2.6-240-gfc45bc492NOTICE: BL31: Built : 12:55:13, Dec 4 2024U-Boot 2024.04 (Feb 08 2025 - 05:59:19 +0100)DRAM: 1020 MiB (effective 4 GiB)RPI: Board rev 0x18 outside known rangeRPI Unknown model (0xc04180)Core: 56 devices, 16 uclasses, devicetree: boardMMC: mmc@fff000: 0, mmc@1100000: 1Loading Environment from FAT... OKIn: serial,usbkbdOut: serial,vidconsoleErr: serial,vidconsolePCIe BRCM: link downPCIe BRCM: link up, 5.0 Gbps x4 (!SSC)Net: eth0: ethernet@100000PCIe BRCM: link downstarting USB...Bus usb@480000: USB DWC2scanning bus usb@480000 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) foundHit any key to stop autoboot: 0 U-Boot> dhcpethernet@100000: PHY present at 0ethernet@100000: Starting autonegotiation...ethernet@100000: Autonegotiation completeethernet@100000: link up, 1000Mbps full-duplex (lpa: 0x3800)BOOTP broadcast 1DHCP client bound to address 192.168.2.20 (2 ms)Using ethernet@100000 deviceTFTP from server 192.168.2.143; our IP address is 192.168.2.20Filename 'boot/loader.efi'.Load address: 0x1000000Loading: ################################################## 834.3 KiB 15.4 MiB/sdoneBytes transferred = 854348 (d094c hex)U-Boot> bootNo EFI system partitionNo EFI system partitionFailed to persist EFI variablesNo EFI system partitionFailed to persist EFI variablesNo EFI system partitionFailed to persist EFI variables** Booting bootflow '<NULL>' with efi_mgrBooting: mmc 0....Consoles: EFI console Reading loader env vars from /efi/freebsd/loader.envSetting currdev to disk0p1:FreeBSD/arm64 EFI loader, Revision 3.0(Sat Feb 1 03:46:15 UTC 2025 root@fbsd5pro) ............Hit [Enter] to boot immediately, or any other key for command prompt.Type '?' for a list of commands, 'help' for more detailed help.OK lsdevdisk devices: disk0: 30535680 X 512 blocks (removable) disk0s1: DOS/Windows disk0s2: FreeBSD disk0s2a: FreeBSD UFShttp: (unknown)net devices: net0:OK set currdev="net0:"ethernet@100000: PHY present at 0ethernet@100000: Starting autonegotiation...ethernet@100000: Autonegotiation completeethernet@100000: link up, 1000Mbps full-duplex (lpa: 0x3800)net0: cannot set rx. filters (status=3)OK unloadOK load boot/kernel/kernelboot/kernel/kernel text=0x318 text=0x99f9b8 text=0x2ca7e8 data=0x180670 data=0x0+0x371000 0x8+0x16ffc8+0x8+0x1a16ae\OK boot -vUsing DTB provided by EFI at 0x3e6cf000.Loading splash ok---<<BOOT>>---GDB: no debug ports presentKDB: debugger backends: ddbKDB: current backend: ddb.................Found 4 CPUs in the device treeCopyright (c) 1992-2025 The FreeBSD Project.Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994The Regents of the University of California. All rights reserved.FreeBSD is a registered trademark of The FreeBSD Foundation.FreeBSD 15.0-CURRENT #2 main-n275107-5d36f79c113f: Thu Feb 6 00:50:05 CET 2025 root@fbsd5pro:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)WARNING: WITNESS option enabled, expect reduced performance.VT: init without driver.Preloaded elf kernel "boot/kernel/kernel" at 0xffff00000160c000.Preloaded boot_entropy_platform "efi_rng_seed" at 0xffff0000016153b0.Preloaded TSLOG data "TSLOG" at 0xffff000001615408.real memory = 4290248704 (4091 MB)Physical memory chunk(s):...........avail memory = 4151836672 (3959 MB)Starting CPU 1 (100)Starting CPU 2 (200)Starting CPU 3 (300)FreeBSD/SMP: Multiprocessor System Detected: 4 CPUsEnabling IDC ICache syncEnabling LSE atomics in the kernelrandom: no preloaded entropy cacherandom: read 2048 bytes from platform bootloaderrandom: unblocking device.VIMAGE (virtualized network stack) enabledh..........so would be cool add-on if you could create a raw patch for current or upcoming u-boot version(s).
thx,
Regards
Statistics: Posted by clouz — Sun Feb 09, 2025 2:55 am