Port-arm archive

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

Re: Questions regarding new platform port (was Re: Porting NetBSD to the Zipit Z2 XScale handheld)



> Hmm, what value is set to arm32_kernel_vm_init() arg "mapallmem_p"?
> If mapallmem_p is false, please set true.
>
> Regards,
> --
> NONAKA Kimihiro

Hi.

It was set to true.
After:
- changing it to false
- commenting KASSERT(ram_size <= KERNEL_VM_BASE - KERNEL_BASE);
- setting ram_size to 32*1024*1024
I'm getting futher.
VERBOSE_INIT_ARM bootstrap part: http://pastebin.com/FkAdY1PV
dmesg:

Loaded initial symtab at 0xc0680f18, strtab at 0xc06bf278, # entries 15906
pmap_postinit: Allocated 35 static L1 descriptor tables
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 7.99.4 (GUMSTIX) #24: Thu Feb  5 07:12:39 UTC 2015
        root@vm1:/src/sys/arch/evbarm/compile/obj/GUMSTIX
total memory = 32768 KB
avail memory = 25908 KB
sysctl_createv: sysctl_create(machine_arch) returned 17
mainbus0 (root)
cpu0 at mainbus0 core 0: PXA27x rev 7 (XScale V5TE core)
cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu0: 16KB/32B 64-way L1 VIVT Instruction cache
cpu0: 16KB/32B 64-way write-back-locking-A L1 VIVT Data cache
pxaip0 at mainbus0: Onchip Peripheral Bus
pxaip0: CPU clock = 999.985 MHz
pxaip0: kernel is configured for PXA250 and PXA270, cpu type is PXA270
pxaintc0 at pxaip0 addr 0x40d00000-0x40d0001f: Interrupt Controller
pxagpio0 at pxaip0 addr 0x40e00000-0x40e0014f: GPIO Controller
com0 at pxaip0 addr 0x40100000-0x4010001f intr 22: ns16550a, working fifo
com0: console
ohci0 at pxaip0 addr 0x4c000000-0x4c00006f intr 3
ohci0: OHCI version 0.0
ohci0: unsupported OHCI revision
ohci0: init failed, error=4
saost0 at pxaip0 addr 0x40a00000-0x40a0001f
saost0: SA-11x0 OS Timer
lcd0 at pxaip0 addr 0x44000000-0x4400021f: PXA2x0 LCD controller
wsdisplay0 at lcd0 kbdmux 1
pxadmac0 at pxaip0 addr 0x40000000-0x400002ff intr 25: DMA Controller
qemu: hardware error: pxa2xx_dma_write: Bad offset 00000000000000f0

CPU #0:
R00=00000000 R01=c2c7b000 R02=000000f0 R03=00000000
R04=c1129000 R05=c0789ce4 R06=00000040 R07=c1129040
R08=00000000 R09=00000000 R10=c05b2ba8 R11=c0789c8c
R12=c022ae24 R13=c0789c20 R14=c0411f10 R15=c022ae24
PSR=60000153 -ZC- A svc32
FPSCR: 00000000
./netbsd.sh: line 4: 58677 Abort trap: 6           qemu-system-arm -M
z2 -serial stdio -pflash ./z2_flash -kernel $1


Home | Main Index | Thread Index | Old Index