amery/linux-allwinner — Issue #3: Kernel doesn't boot / or output anything to uSD UART
Author: zenitraM
Created: 2012-03-04 12:34:19+00:00
State: open

Booting on my Novo7 Advanced, from u-boot:

```
Q2011.09-rc1 (Feb 28 2012 - 15:54:51) Allwinner Technology

CPU: SUNXI Family
Board: A10-EVB
DRAM: 512 MiB
NAND: 3504 MiB
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
--------fastboot partitions--------
-total partitions:8-
-name- -start- -size-
BOOTFS : 100000 1000000
LROOTFS : 1100000 2000000
LSYSTEMFS : 3100000 10000000
LDATAFS : 13100000 40000000
MISC : 53100000 100000
LRECOVERYFS : 53200000 2000000
LCACHEFS : 55200000 10000000
UDISK : 65200000 75e00000
-----------------------------------
Hit any key to stop autoboot: 0
sun4i#help
? - alias for 'help'
base - print or set address offset
boot - boot default, i.e., run 'bootcmd'
boota - boota - boot android bootimg from memory

bootd - boot default, i.e., run 'bootcmd'
bootm - boot application image from memory
cmp - memory compare
cp - memory copy
crc32 - checksum calculation
env - environment handling commands
exit - exit script
false - do nothing, unsuccessfully
fastboot- fastboot- use USB Fastboot protocol

fatdown - download data to a dos filesystem
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
go - start application at address 'addr'
help - print command description/usage
key_test- Test the key value and dump key registers
loop - infinite loop on address range
md - memory display
mm - memory modify (auto-incrementing address)
mtest - simple RAM read/write test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nm - memory modify (constant address)
printenv- print environment variables
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
showvar - print local hushshell variables
test - minimal test like /bin/sh
true - do nothing, successfully
version - print monitor, compiler and linker version
sun4i#fatls nand 7
lost.dir/
.android_secure/
3632540 uimage
40692 sys_config1.bin
android/

2 file(s), 3 dir(s)

sun4i#fatload nand 7 50000000 uimage
reading uimage

3632540 bytes read
sun4i#bootm 50000000
## Booting kernel from Legacy Image at 50000000 ...
Image Name: Linux-3.0.8-android+
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3632476 Bytes = 3.5 MiB
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...
```

And from there, silence.

The kernel is either not booting, or booting and not outputting anything, or booting and outputting anywhere else (I'm debugging using the uSD breakout).