Port-arm archive

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

Re: Allwinner H3 support added to -current



Hi Jared:

I attached the dmesg of booting Orange Pi PC Plus.

I will try the flowing method as you mentioned to boot an install.ub.
Thank you again!

Yours Yuqing.


On 07/05/2017 07:15 AM, Jared McNeill wrote:
On Tue, 4 Jul 2017, Jared McNeill wrote:

Not sure yet how to boot with "go". I tried converting the .bin to a Legacy U-Boot image like this:

$ mkubootimage -A arm -C none -O linux -T kernel -a 40008000 -n "NetBSD/sunxi install" install.bin install.ub

Oops, there's a typo in that command -- the -a value needs to be specified in hex, so the correct command would be:

$ mkubootimage -A arm -C none -O linux -T kernel -a 0x40008000 -n "NetBSD/sunxi install" install.bin install.ub

Still need to increase CONFIG_SYS_BOOTM_LEN though.

Cheers,
Jared


U-Boot SPL 2017.05-01034-g3296af7b33 (Jul 04 2017 - 20:46:34)
DRAM: 1024 MiB
Trying to boot from MMC1


U-Boot 2017.05-01034-g3296af7b33 (Jul 04 2017 - 20:46:34 +0800) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi PC Plus
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
In:    serial
Out:   serial
Err:   serial
Net:   phy interface0
eth0: ethernet@1c30000
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
USB2:   USB EHCI 1.00
USB3:   USB OHCI 1.0
USB4:   USB EHCI 1.00
USB5:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
scanning bus 4 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0 
reading netbsd.ub
6454868 bytes read in 318 ms (19.4 MiB/s)
reading sun8i-h3-orangepi-pc-plus.dtb
15603 bytes read in 25 ms (609.4 KiB/s)
## Booting kernel from Legacy Image at 42000000 ...
   Image Name:   NetBSD/sunxi 8.99.1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6454804 Bytes = 6.2 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
   Loading Kernel Image ... OK
   Loading Device Tree to 49ff9000, end 49fffcf2 ... OK

Starting kernel ...

[ Kernel symbol table missing! ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
    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 8.99.1 (SUNXI) #2: Mon Jul  3 22:39:37 CST 2017
        yuqing@Yuqing-Kubuntu:/opt/NetBSD/z_obj/sys/arch/evbarm/compile/SUNXI
total memory = 1024 MB
avail memory = 1006 MB
sysctl_createv: sysctl_create(machine_arch) returned 17
armfdt0 (root)
fdt0 at armfdt0: Xunlong Orange Pi PC Plus
fdt1 at fdt0
fdt2 at fdt0
cpus0 at fdt0
cpu0 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB/32B 2-way L1 VIPT Instruction cache
cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
cpu0: 512KB/64B 8-way write-through L2 PIPT Unified cache
vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
cpu1 at cpus0
cpu2 at cpus0
cpu3 at cpus0
gic0 at fdt1: GIC
armgic0 at gic0: Generic Interrupt Controller, 160 sources (150 valid)
armgic0: 16 Priorities, 128 SPIs, 7 PPIs, 15 SGIs
gtmr0 at fdt0: Generic Timer
armgtmr0 at gtmr0: ARMv7 Generic 64-bit Timer (24000 kHz)
armgtmr0: interrupting on irq 27
sunxigpio0 at fdt1: PIO
sunxigpio1 at fdt1: PIO
fclock0 at fdt2: 24000000 Hz fixed clock
fclock1 at fdt2: 32768 Hz fixed clock
sun8ih3ccu0 at fdt1: H3 CCU
fregulator0 at fdt0: vcc3v3
fregulator1 at fdt0: vcc3v0
fregulator2 at fdt0: vcc5v0
sunxiusbphy0 at fdt1: USB PHY
ohci0 at fdt1: OHCI
ohci0: interrupting on GIC irq 107
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
ohci1 at fdt1: OHCI
ohci1: interrupting on GIC irq 109
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
ohci2 at fdt1: OHCI
ohci2: interrupting on GIC irq 111
ohci2: OHCI version 1.0
usb2 at ohci2: USB revision 1.0
ehci0 at fdt1: EHCI
ehci0: interrupting on GIC irq 106
ehci0: companion controller, 1 port each: ohci0
usb3 at ehci0: USB revision 2.0
ehci1 at fdt1: EHCI
ehci1: interrupting on GIC irq 108
ehci1: companion controller, 1 port each: ohci1
usb4 at ehci1: USB revision 2.0
ehci2 at fdt1: EHCI
ehci2: interrupting on GIC irq 110
ehci2: companion controller, 1 port each: ohci2
usb5 at ehci2: USB revision 2.0
/clocks/apb0_clk at fdt2 not configured
/soc/dma-controller@01c02000 at fdt1 not configured
/soc/codec-analog@01f015c0 at fdt1 not configured
/clocks/clk@01f01428 at fdt2 not configured
/clocks/ir_clk@01f01454 at fdt2 not configured
/soc/reset@01f014b0 at fdt1 not configured
psci0 at fdt0: PSCI 0.1
/leds at fdt0 not configured
gpiokeys0 at fdt0: sw4
sunximmc0 at fdt1: SD/MMC controller
sunximmc0: interrupting on GIC irq 92
sunximmc1 at fdt1: SD/MMC controller
sunximmc1: interrupting on GIC irq 93
sunximmc2 at fdt1: SD/MMC controller
sunximmc2: interrupting on GIC irq 94
/soc/timer@01c20c00 at fdt1 not configured
/soc/watchdog@01c20ca0 at fdt1 not configured
/soc/codec@01c22c00 at fdt1 not configured
com0 at fdt1: ns16550a, working fifo
com0: console
com0: interrupting on GIC irq 32
sunxirtc0 at fdt1: RTC
/soc/ir@01f02000 at fdt1 not configured
cpu3: Cortex-A7 r0p5 (Cortex V7A core)
cpu3: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu3: 32KB/32B 2-way L1 VIPT Instruction cache
cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
cpu3: 512KB/64B 8-way write-through L2 PIPT Unified cache
vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
cpu1: Cortex-A7 r0p5 (Cortex V7A core)
cpu1: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu1: 32KB/32B 2-way L1 VIPT Instruction cache
cpu1: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
cpu1: 512KB/64B 8-way write-through L2 PIPT Unified cache
vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
cpu2: Cortex-A7 r0p5 (Cortex V7A core)
cpu2: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu2: 32KB/32B 2-way L1 VIPT Instruction cache
cpu2: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
cpu2: 512KB/64B 8-way write-through L2 PIPT Unified cache
vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
sdmmc0 at sunximmc0
sdmmc1 at sunximmc1
sdmmc2 at sunximmc2
uhub0 at usb0: Generic (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
uhub1 at usb1: Generic (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
uhub2 at usb2: Generic (0000) OHCI root hub (0000), class 9/0, rev 1.00/1.00, addr 1
uhub3 at usb3: Generic (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
uhub4 at usb4: Generic (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
uhub5 at usb5: Generic (0000) EHCI root hub (0000), class 9/0, rev 2.00/1.00, addr 1
ld2 at sdmmc2: <0x15:0x0100:8WPD3R:0x00:0xaa245315:0x000>
ld2: 7456 MB, 3787 cyl, 64 head, 63 sec, 512 bytes/sect x 15269888 sectors
sdmmc0: SD card status: 4-bit, C10
ld0 at sdmmc0: <0x03:0x5344:SL08G:0x80:0x4c231f44:0x107>
ld0: 7580 MB, 3850 cyl, 64 head, 63 sec, 512 bytes/sect x 15523840 sectors
(manufacturer 0x24c, product 0xf179, standard function interface code 0x7)at sdmmc1 function 1 not configured
ld2: mbr partition exceeds disk size
ld0: 4-bit width,ld2: 8-bit width, High-Speed/SDR25, 52.000 MHz
 50.000 MHz
boot device: ld0
root on ld0a dumps on ld0b
vfs_mountroot: can't open root device
cannot mount root, error = 6
root device (default ld0a): 


Home | Main Index | Thread Index | Old Index