Port-arm archive

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

Re: netbsd.gz.ub: gunzip fails



It looks like a compressed image with kernel_noload will overwrite itself. Can you try "setenv verify 0" before bootm?

On Mon, 11 Mar 2019, Manuel Bouyer wrote:

Hello,
I have an A20 board (olimex lime2) which tftpboot a netbsd.gz.ub kernel.
It's actually running a  8.99.25 (SUNXI) kernel.
I tried to update to an up to date GENERIC evbarmv7hf kernel, build from
scratch (clean obj dir and tools). u-boot can load it but fails to
uncompress:
Scanning mmc 0:1...

Found U-Boot script /boot.scr

reading /boot.scr

1029 bytes read in 21 ms (47.9 KiB/s)

## Executing script at 43100000

ethernet@01c50000 Waiting for PHY auto negotiation to complete...... done

Speed: 1000, full duplex
Using ethernet@01c50000 device
TFTP from server 132.227.102.5; our IP address is 132.227.102.39
Filename 'netbsd.gz.ub'.
Load address: 0x42000000
Loading: #T ################################################################
        #################################################################
        #################################################################
        ##########################################################
        217.8 KiB/s
done
Bytes transferred = 3711760 (38a310 hex)
reading sun7i-a20-olinuxino-lime2.dtb
29536 bytes read in 28 ms (1 MiB/s)
## Booting kernel from Legacy Image at 42000000 ...
  Image Name:   NetBSD/earmv7hf 8.99.35
  Image Type:   ARM Linux Kernel Image (no loading done) (gzip compressed)
  Data Size:    4220765 Bytes = 4 MiB
  Load Address: 00000000
  Entry Point:  00000000
  Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
SCRIPT FAILED: continuing...
reading /sun7i-a20-olinuxino-lime2.dtb
29536 bytes read in 38 ms (758.8 KiB/s)


Any idea ? do I need to update u-boot, or some parameters ?

--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>

NetBSD: 26 ans d'experience feront toujours la difference
--




Home | Main Index | Thread Index | Old Index