Date: Sat, 31 Aug 2019 09:28:10 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 240228] sysutils/u-boot-rpi3: program name not passed to argument list anymore Message-ID: <bug-240228-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240228 Bug ID: 240228 Summary: sysutils/u-boot-rpi3: program name not passed to argument list anymore Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: sylvain@sylvaingarrigues.com I used to add, in rpi3_fragment: CONFIG_USE_BOOTARGS=3Dy CONFIG_BOOTARGS=3D"rootdev=3Ddisk1p2" in the u-boot rpi3 port I had, which was version 2018.09 Now with the latest u-boot port, the rootdev argument is not taken into account, and I found out that is because the program name is no longer adde= d. I have to use instead CONFIG_USE_BOOTARGS=3Dy CONFIG_BOOTARGS=3D"loader.efi rootdev=3Ddisk1p2" to fix it. 2018.09 boot log: In: serial Out: vidconsole Err: vidconsole Net: No ethernet found. starting USB... USB0: scanning bus 0 for devices... 4 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Hit any key to stop autoboot: 0 MMC Device 0 not found no mmc device at slot 0 switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found EFI removable media binary efi/boot/bootaa64.efi libfdt fdt_check_header(): FDT_ERR_BADMAGIC Scanning disk mmc@7e300000.blk... Scanning disk usb_mass_storage.lun0... Found 7 disks FDT memrsv map 0: Failed to add to map 637000 bytes read in 59 ms (10.3 MiB/s) libfdt fdt_check_header(): FDT_ERR_BADMAGIC FDT memrsv map 0: Failed to add to map ## Starting EFI application at 00080000 ... Consoles: EFI console FreeBSD/arm64 EFI loader, Revision 1.1 Command line arguments: loader.efi rootdev=3Ddisk1p2 EFI version: 2.70 EFI Firmware: Das U-Boot (rev 8216.2304) Console: efi (0) Load Path: /\efi\boot\bootaa64.efi Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,0x01,0,0x81f,= 0x18fa8) Setting currdev to configured rootdev disk1p2 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 2019.07 boot log (without fix): --- In: serial Out: vidconsole Err: vidconsole Net: No ethernet found. starting USB... Bus usb@7e980000: scanning bus usb@7e980000 for devices... 4 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Hit any key to stop autoboot: 0 MMC Device 0 not found no mmc device at slot 0 switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found EFI removable media binary efi/boot/bootaa64.efi libfdt fdt_check_header(): FDT_ERR_BADMAGIC Scanning disk mmc@7e300000.blk... Scanning disk usb_mass_storage.lun0... Found 7 disks FDT memrsv map 0: Failed to add to map BootOrder not defined EFI boot manager: Cannot load any image 637000 bytes read in 63 ms (9.6 MiB/s) libfdt fdt_check_header(): FDT_ERR_BADMAGIC FDT memrsv map 0: Failed to add to map Consoles: EFI console FreeBSD/arm64 EFI loader, Revision 1.1 Command line arguments: rootdev=3Ddisk1p2 EFI version: 2.70 EFI Firmware: Das U-Boot (rev 8217.1792) Console: efi (0) Load Path: /efi\boot\bootaa64.efi Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,0x01,0,0x81f,= 0x18fa8) --- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> --- Maintainer informed via mail --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240228-7788>