[meta-freescale] Unable to boot ls1021atwr

ting.liu at freescale.com ting.liu at freescale.com
Tue Mar 17 19:13:57 PDT 2015


The DDR address is starting from 80000000 on LS1. The 60020000 was the nor flash address, so please use the following address:

raddr_linux     = 0x82000000
raddr_hw_dt     = 0x8f000000
raddr_rootfs    = 0x88000000

-Ting

> -----Original Message-----
> From: meta-freescale-bounces at yoctoproject.org [mailto:meta-freescale-
> bounces at yoctoproject.org] On Behalf Of Mario Domenech Goulart
> Sent: Wednesday, March 18, 2015 1:30 AM
> To: meta-freescale at yoctoproject.org
> Subject: [meta-freescale] Unable to boot ls1021atwr
> 
> Hi,
> 
> I'm trying to boot a ls1021atwr board using the kernel and device tree from
> dizzy.  I'm getting an undefined instruction (see below).
> 
> Do you know what may be wrong?
> 
> => setenv fdtaddr 60020000
> => setenv loadaddr 80008000
> => setenv bootfile uimage-ls1021atwr.bin => setenv fdtfile uimage-ls1021a-
> twr.dtb => setenv bootcmd 'setenv bootargs root=/dev/mmcblk0p2 rw rootdelay=5
> console=ttyS0,115200 hdmi; mmcinfo; fatload mmc 0:1 $loadaddr
> $bootfile;fatload mmc 0:1 $fdtaddr $fdtfile;bootm $loadaddr - $fdtaddr'
> => boot
> Device: FSL_SDHC
> Manufacturer ID: 3
> OEM: 5344
> Name: SU08G
> Tran Speed: 50000000
> Rd Block Len: 512
> SD version 3.0
> High Capacity: Yes
> Capacity: 7.4 GiB
> Bus Width: 4-bit
> reading uimage-ls1021atwr.bin
> 3136344 bytes read in 155 ms (19.3 MiB/s) reading uimage-ls1021a-twr.dtb
> 20683 bytes read in 25 ms (807.6 KiB/s)
> ## Booting kernel from Legacy Image at 80008000 ...
>    Image Name:   Linux-3.12.19-rt30+ls1+g6619b8b
>    Image Type:   ARM Linux Kernel Image (uncompressed)
>    Data Size:    3136280 Bytes = 3 MiB
>    Load Address: 80008000
>    Entry Point:  80008000
>    Verifying Checksum ... OK
> ## Flattened Device Tree blob at 60020000
>    Booting using the fdt blob at 0x60020000
>    XIP Kernel Image ... OK
>    Loading Device Tree to bef55000, end bef5cdea ... OK
> 
> Starting kernel ...
> 
> undefined instruction
> pc : [<80008028>]          lr : [<bff7f970>]
> sp : bef5eb60  ip : ffffffff     fp : c004ecfc
> r10: 00000000  r9 : bef5ef00     r8 : bef60b04
> r7 : 00000000  r6 : 80008000     r5 : bffb8360  r4 : 00000000
> r3 : 00004deb  r2 : bef55000     r1 : 00000020  r0 : beb01000
> Flags: nZCv  IRQs off  FIQs off  Mode SVC_32 Resetting CPU ...
> 
> resetting ...
> 
> Mario
> --
> http://www.ossystems.com.br
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


More information about the meta-freescale mailing list