NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-evbarm/57135: NetBSD/evbarm NetBSD-10-aarch64-202212192020Z-hummingboard-pulse.img kernel panic on boot



The following reply was made to PR port-evbarm/57135; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-evbarm/57135: NetBSD/evbarm
 NetBSD-10-aarch64-202212192020Z-hummingboard-pulse.img kernel panic on boot
Date: Sat, 24 Dec 2022 16:18:16 +0100

 And the more important difference: the default environment (non working) as +
 versus my (working) as - :
 
 @@ -20,15 +20,15 @@
  console=ttymxc0,115200 earlycon=ec_imx6q,0x30860000,115200
  cpu=armv8
  distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
 -efi_dtb_prefixes=/ /dtb/ /dtb/freescale/
 +efi_dtb_prefixes=/ /dtb/ /dtb/current/
  env_dev=1
  env_part=CONFIG_SYS_MMC_ENV_PART
  ethprime=FEC
  fdt_addr_r=0x43000000
 -fdt_file=imx8mq-hummingboard-pulse.dtb
 +fdt_file=fsl-imx8mq-hummingboard-pulse.dtb
  fdt_high=0xffffffffffffffff
  fdtcontroladdr=fe548750
 -fdtfile=imx8mq-hummingboard-pulse.dtb
 +fdtfile=fsl-imx8mq-hummingboard-pulse.dtb
  initrd_high=0xffffffffffffffff
  kernel_addr_r=0x40480000
  load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}
 @@ -60,5 +60,5 @@
  usbnetwork=setenv ethact usb_ether; setenv ipaddr 10.0.0.2; setenv netmask 255.255.255.0; setenv serverip 10.0.0.1;
  vendor=solidrun
 
 
 
 I would say that u-boot pkg is broken :-(
 
 
 But the good news: easy workaround for you is to stop the boot at
 the first count down and then do something like (untested, but you get
 the idea):
 
 setenv efi_dtb_prefixes=/\ /dtb/\ /dtb/freescale/
 setenv fdt_file=imx8mq-hummingboard-pulse.dtb
 setenv fdtfile=imx8mq-hummingboard-pulse.dtb
 savenv
 reset
 
 
 .. and then it should boot.
 
 Jared, am I wrong with the u-boot pkg?
 
 Martin
 


Home | Main Index | Thread Index | Old Index