Port-arm archive

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

Re: cubietruck boot panic



Matt Thomas wrote:
>Is __HAVE_MM_MD_DIRECT_MAPPED_PHYS enabled or disabled?

Enabled.

>Is this a stock kernel?

It is the default config, there is an extra bit of code for Linux
emulation that will change the kernel size a bit but it isn't being
called at this stage in startup.

Your board:

U-Boot SPL 2014.01-09729-gd854c4d (Feb 23 2014 - 22:44:26)
Board: Cubietruck
DRAM: 2048 MiB
CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
spl: not an uImage at 1600


U-Boot 2014.01-09729-gd854c4d (Feb 23 2014 - 22:44:26) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Board: Cubietruck
I2C:   ready
DRAM:  2 GiB
WARNING: Caches not enabled
MMC:   SUNXI SD/MMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   mii0

My board:

U-Boot SPL 2014.04-rc3-10520-g87ca6dc (Apr 09 2014 - 00:46:36)
Board: Cubietruck
DRAM: 2048 MiB
CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
spl: not an uImage at 1600


U-Boot 2014.04-rc3-10520-g87ca6dc (Apr 09 2014 - 00:46:36) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Board: Cubietruck
I2C:   ready
DRAM:  2 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   dwmac.1c50000
Warning: failed to set MAC address


Your board:

sdram_config = 0x30ed, memsize = 2048MB

My board:

sdram_config = 0x30e3, memsize = 512MB

If I force memsize to 0x80000000 in awin_memprobe() then it boots.

This version of u-boot boots Linux fine and uses the correct amount of
RAM.

Robert Swindells


Home | Main Index | Thread Index | Old Index