Port-arm archive

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

Re: Pandaboard ES



On Wed, Apr 05, 2023 at 07:34:38AM -0300, Jared McNeill wrote:
> The GENERIC kernel has never supported the Pandaboard ES or OMAP4. I see
> there is a separate PANDABOARD kernel in 9.3 -- this kernel is not
> compatible with NetBSD's EFI bootloader so you will need to load it directly
> with U-Boot.

I tried netbsd-PANDABOARD.ub in 9.3 but still unsuccess -

## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   NetBSD/beagle 9.3
   Image Type:   ARM NetBSD Kernel Image (uncompressed)
   Data Size:    3653460 Bytes = 3.5 MiB
   Load Address: 80300000
   Entry Point:  80300000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
## Transferring control to NetBSD stage-2 loader (at address 80300000) ...

[   1.0000000] uboot arg = 0xbdf44f98, 0, 0xbffaad5e, 0xbdf46b18
[   1.0000000] initarm: cbar=0x48240000
[   1.0000000] [ Kernel symbol table missing! ]
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 200
4, 2005,
[   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[   1.0000000]     2018, 2019, 2020, 2021, 2022
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[   1.0000000]     The Regents of the University of California.  All rights reserved.

[   1.0000000] NetBSD 9.3 (PANDABOARD) #0: Thu Aug  4 15:30:37 UTC 2022
[   1.0000000]  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/PANDABOARD
[   1.0000000] total memory = 1024 MB
[   1.0000000] avail memory = 1006 MB
[   1.0000000] mainbus0 (root)
[   1.0000000] cpu0 at mainbus0 core 0: 699 MHz Cortex-A9 r2p10 (Cortex V7A core)
[   1.0000000] cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
[   1.0000000] cpu0: 32KB/32B 4-way L1 VIPT Instruction cache
[   1.0000000] cpu0: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
[   1.0000000] cpu0: 64KB/32B 8-way write-through L2 PIPT Unified cache
[   1.0000000] vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
[   1.0000000] armperiph0 at mainbus0
[   1.0000000] arml2cc0 at armperiph0: ARM PL310 r0p0 L2 Cache Controller (disabled)
[   1.0000000] arml2cc0: cache disabled
[   1.0000000] armgic0 at armperiph0: Generic Interrupt Controller, 32 sources (0 valid)
[   1.0000000] armgic0: 1 Priorities, 0 SPIs, 0 PPIs, 0 SGIs
[   1.0000000] arma9tmr0 at armperiph0: A9 Global 64-bit Timer (349 MHz)
[   1.0000000] pic_establish_intr: pic armgic irq 27 already present
[   1.0000000] panic: a9tmr_attach: unable to register timer interrupt
[   1.0000000] cpu0: Begin traceback...
[   1.0000000] 0x80a33c8c: netbsd:db_panic+0x14
[   1.0000000] 0x80a33ca4: netbsd:vpanic+0x16c
[   1.0000000] 0x80a33cbc: netbsd:snprintf
[   1.0000000] 0x80a33cfc: netbsd:a9tmr_attach+0x1b4
[   1.0000000] 0x80a33d2c: netbsd:config_attach_loc+0x1a4
[   1.0000000] 0x80a33d5c: netbsd:config_found_sm_loc+0x54
[   1.0000000] 0x80a33d74: netbsd:config_found+0x2c
[   1.0000000] 0x80a33dc4: netbsd:armperiph_attach+0x12c
[   1.0000000] 0x80a33df4: netbsd:config_attach_loc+0x1a4
[   1.0000000] 0x80a33e0c: netbsd:config_attach+0x20
[   1.0000000] 0x80a33e44: netbsd:mainbussearch+0x90
[   1.0000000] 0x80a33e64: netbsd:mapply+0x30
[   1.0000000] 0x80a33ea4: netbsd:config_search_loc+0xf4
[   1.0000000] 0x80a33ebc: netbsd:config_search_ia+0x1c
[   1.0000000] 0x80a33eec: netbsd:config_attach_loc+0x1a4
[   1.0000000] 0x80a33f14: netbsd:config_rootfound+0x48
[   1.0000000] 0x80a33f34: netbsd:cpu_configure+0x58
[   1.0000000] 0x80a33f9c: netbsd:main+0x288
[   1.0000000] 0x80a33fac: netbsd:kernel_text+0x50
[   1.0000000] cpu0: End traceback...
Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x4:        bx      r14
db> bt
0x80a33ca4: netbsd:vpanic+0x10
0x80a33cbc: netbsd:snprintf
0x80a33cfc: netbsd:a9tmr_attach+0x1b4
0x80a33d2c: netbsd:config_attach_loc+0x1a4
0x80a33d5c: netbsd:config_found_sm_loc+0x54
0x80a33d74: netbsd:config_found+0x2c
0x80a33dc4: netbsd:armperiph_attach+0x12c
0x80a33df4: netbsd:config_attach_loc+0x1a4
0x80a33e0c: netbsd:config_attach+0x20
0x80a33e44: netbsd:mainbussearch+0x90
0x80a33e64: netbsd:mapply+0x30
0x80a33ea4: netbsd:config_search_loc+0xf4
0x80a33ebc: netbsd:config_search_ia+0x1c
0x80a33eec: netbsd:config_attach_loc+0x1a4
0x80a33f14: netbsd:config_rootfound+0x48
0x80a33f34: netbsd:cpu_configure+0x58
0x80a33f9c: netbsd:main+0x288
0x80a33fac: netbsd:kernel_text+0x50
db>

Is this related to FDT?

-rxg

> Take care,
> Jared
> 
> On Sun, 2 Apr 2023, Rui-Xiang Guo wrote:
> 
> > Hi,
> > Does anyone know which the last distribution that is able to boot on
> > Pandaboard ES? I have tried 9.3 but no luck -
> > 
> > U-Boot SPL 2018.11 (Apr 01 2023 - 15:08:57 +0800)
> > OMAP4460-GP ES1.1
> > Trying to boot from MMC1
> > SPL: Please implement spl_start_uboot() for your board
> > SPL: Direct Linux boot not active!
> > 
> > 
> > U-Boot 2018.11 (Apr 01 2023 - 15:08:57 +0800)
> > 
> > CPU  : OMAP4460-GP ES1.1
> > Board: OMAP4 Panda
> > I2C:   ready
> > DRAM:  1 GiB
> > MMC:   OMAP SD/MMC: 0
> > Loading Environment from FAT... *** Warning - bad CRC, using default environment
> > 
> > Net:   No ethernet found.
> > Hit any key to stop autoboot:  0
> > ## Error: "init_console" not defined
> > switch to partitions #0, OK
> > mmc0 is current device
> > SD/MMC found on device 0
> > 201 bytes read in 2 ms (97.7 KiB/s)
> > Running bootscript from mmc0 ...
> > ## Executing script at 82000000
> > switch to partitions #0, OK
> > mmc0 is current device
> > Scanning mmc 0:1...
> > Found EFI removable media binary efi/boot/bootarm.efi
> > libfdt fdt_check_header(): FDT_ERR_BADMAGIC
> > ng disks on usb...
> > Disk usb0 not ready
> > Disk usb1 not ready
> > Disk usb2 not ready
> > Disk usb3 not ready
> > Scanning disks on mmc...
> > MMC Device 1 not found
> > MMC Device 2 not found
> > MMC Device 3 not found
> > Found 3 disks
> > WARNING: booting without device tree
> > 185456 bytes read in 12 ms (14.7 MiB/s)
> > libfdt fdt_check_header(): FDT_ERR_BADMAGIC
> > WARNING: booting without device tree
> > ## Starting EFI application at 82000000 ...
> > 
> > > > NetBSD/evbarm efiboot (arm), Revision 1.13 (Thu Aug  4 15:30:37 UTC 2022)
> > Press return to boot now, any other key for boot prompt
> > booting netbsd - starting in 0 seconds.
> > 6757004+2071896+1385128 [404132+462448+482622]=0xb15cec
> > 
> > -rxg
> > 
> > 
> > 



Home | Main Index | Thread Index | Old Index