Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: PaceyIV on October 26, 2013, 02:26:10 AM

Title: [SOLVED] Error booting uImage from Debian Release 4
Post by: PaceyIV on October 26, 2013, 02:26:10 AM
I replace my uImage and script.bin with the one provided by Debian Relase v4.

Now at boot I've got this error


U-Boot 2013.04-06942-gc057dc2-dirty (Jun 06 2013 - 16:51:55) Allwinner Technology

CPU:   SUNXI Family
Board: EOMA68_A20
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   wemac
Hit any key to stop autoboot:  0
reading uEnv.txt
305 bytes read in 3 ms (98.6 KiB/s)
Loaded environment from uEnv.txt
reading boot.scr
** Unable to read file boot.scr **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
reading script.bin
56992 bytes read in 8 ms (6.8 MiB/s)
reading uImage
5450968 bytes read in 248 ms (21 MiB/s)
## Booting kernel from Legacy Image at 48000000 ...
   Image Name:   Linux-3.4.61+
   Created:      2013-09-16  10:39:04 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5450904 Bytes = 5.2 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

<6>Booting Linux on physical CPU 0
<6>Initializing cgroup subsys cpuset
<6>Initializing cgroup subsys cpu
<5>Linux version 3.4.61+ (root@debian) (gcc version 4.7.1 (Debian 4.7.1-7) ) #2 SMP PREEMPT Mon Sep 16 13:38:46 EEST 2013
CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

Error: unrecognized/unsupported machine ID (r1 = 0x00000f35).


Error: unrecognized/unsupported machine ID (r1 = 0x00000f35).

Available machine support:

ID (hex)        NAME
Available machine support:

ID (hex)        NAME
000010bb        sun7i
000010bb        sun7i
0000102a        sun5i
0000102a        sun5i
00001008        sun4i
00001008        sun4i

Please check your kernel config and/or bootloader.

Please check your kernel config and/or bootloader.


I also use this uEnv.txt


baudrate=115200
console=ttyS0,115200
bootdelay=1
bootenv=uEnv.txt
bootscr=boot.scr
kernel=uImage
loglevel=8
panicarg=panic=10
root=/dev/sda2
extraargs=rootfstype=ext4 rootwait mac_addr=00:AE:99:A3:E4:AF
setargs=setenv bootargs console=${console} root=${root} loglevel=${loglevel} ${panicarg} ${extraargs}


What can I do to fix this?
Title: Re: Error booting uImage from Debian Release 4
Post by: progmetalbg on October 26, 2013, 11:28:43 AM
https://www.olimex.com/forum/index.php?topic=1776.msg8316#msg8316 (https://www.olimex.com/forum/index.php?topic=1776.msg8316#msg8316)

Why your u-boot is compiled for another board - EOMA68_A20 ?
Title: Re: Error booting uImage from Debian Release 4
Post by: PaceyIV on October 26, 2013, 11:33:38 AM
I don't know!
I make the sd card with Debian relase 2.
I never touch the NAND flash.

I replace all the sd card data with the debian release 4.
Now works ok.