Port-arm archive

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

Re: bootstrapping nanopi neo2



On 12/12/17, bch <brad.harder%gmail.com@localhost> wrote:
> I will try that. The effects I'm seeing post-uboot setup do speak to
> possible corruption. Thanks for the hint.
>


a new hitch:


INFO:    PSCI Affinity Map:
INFO:      AffInst: Level 0, MPID 0x0, State ON
INFO:      AffInst: Level 0, MPID 0x1, State OFF
INFO:      AffInst: Level 0, MPID 0x2, State OFF
INFO:      AffInst: Level 0, MPID 0x3, State OFF

U-Boot SPL 2017.11 (Nov 27 2017 - 19:15:54)
DRAM: 512 MiB
Trying to boot from MMC1
NOTICE:  BL3-1: Running on H5 (1718) in SRAM A2 (@0x44000)
NOTICE:  Configuring SPC Controller
NOTICE:  BL3-1: v1.0(debug):aa75c8da415158a94b82a430b2b40000778e851f
NOTICE:  BL3-1: Built : 19:15:38, Nov 27 2017
INFO:    BL3-1: Initializing runtime services
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address: 0x4a000000, SPSR: 0x3c9


U-Boot 2017.11 (Nov 27 2017 - 19:15:54 -0800) Allwinner Technology

CPU:   Allwinner H5 (SUN50I)
Model: FriendlyARM NanoPi NEO 2
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
starting USB...
No controllers found

Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
880 bytes read in 27 ms (31.3 KiB/s)
## Executing script at 4fc00000
reading netbsd-SUNXI.ub
3180474 bytes read in 177 ms (17.1 MiB/s)
reading allwinner/sun50i-h5-nanopi-neo2.dtb
15762 bytes read in 43 ms (357.4 KiB/s)
## Booting kernel from Legacy Image at 40080000 ...
   Image Name:   NetBSD/sunxi 8.99.9
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    3180410 Bytes = 3 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
   Uncompressing Kernel Image ... Error: inflate() returned -3
gzip compressed: uncompress error -1
Must RESET board to recover
resetting ...



> -bch
>
>
> On 12/12/17, Jared McNeill <jmcneill%invisible.ca@localhost> wrote:
>> On Tue, 12 Dec 2017, bch wrote:
>>
>>> On the rare occasion I get the u-boot repl, these are the parmams I'm
>>> trying to use:
>>>
>>>    setenv bootargs root=ld0a
>>>    setenv bootcmd "fatload mmc 0:1 ${kernel_addr_r} netbsd.ub;
>>> fatload mmc 0:1 ${fdt_addr_r} ${fdtfile}; fdt addr ${fdt_addr_r};
>>> bootm ${kernel_addr_r} - ${fdt_addr_r}"
>>>    saveenv
>>
>> I've seen an issue with U-Boot 2017.11 on Pine64 where saveenv seems to
>> clobber U-Boot and it fails to start the next time around.
>>
>> If you're using armv7.img from the release build, those steps aren't
>> necessary -- there is a boot.scr script on the MSDOS partition that will
>> automatically boot netbsd-SUNXI.ub for you.
>>
>


Home | Main Index | Thread Index | Old Index