hi,

2014-11-15 17:22 GMT+01:00 Iain Paton <ipat...@gmail.com>:

> On 15/11/14 13:18, Vishnu Patekar wrote:
>
> > Followed the steps mentioned at
> http://linux-sunxi.org/Mainline_Kernel_Howto
> > I've enabled the DEBUG_LL, DEBUG_SUNXI_UART0 , still While booting it on
> Olimex
> > A20-OLinuXino-Lime2 <http://linux-sunxi.org/Olimex_A20-OLinuXino-Lime2>
> does
> > not go beyond "starting kernel..."
>
> Without knowing what's in your boot.scr, your partition layout etc. it's
> difficult to help.
>
> The section in the mainline kernel howto relating to boot.cmd/boot.scr is
> probably
> out of date. With recent mainline u-boot like you've used, it's much
> simpler to
> use extlinux.conf. You then just need a single ext partition and can use
> zImage
> instead of uImage and avoid various problems.
>
>
but extlinux not work with vfat partition?



> My /boot/extlinux/extlinux.conf basically contains this:
>
> menu title LIME2 boot menu
> timeout 10
> ontimeout linux
> LABEL linux
>         KERNEL /boot/zImage
>         fdt /boot/sun7i-a20-olinuxino-lime2.dtb
>         append root=/dev/mmcblk0p1 console=ttyS0,115200 ro rootwait
>
> with a repeated LABEL section for different images or append lines.
>
> My .config from a working kernel running on a lime2 can be found here
> http://pastebin.com/Znf14tqL
> (note that this is configured to be a multi platform kernel so has lots
> of stuff you don't need if you only need it to work on lime2)
>
>
> boot log using the same versions you used looks like this:
>
> U-Boot SPL 2015.01-rc1-00062-g0d485b9 (Nov 15 2014 - 14:28:17)
> DRAM: 1024 MiB
> CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
>
>
> U-Boot 2015.01-rc1-00062-g0d485b9 (Nov 15 2014 - 14:28:17) Allwinner
> Technology
>
> CPU:   Allwinner A20 (SUN7I)
> I2C:   ready
> DRAM:  1 GiB
> MMC:   SUNXI SD/MMC: 0
> *** Warning - bad CRC, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> SCSI:  SUNXI SCSI INIT
> SATA link 0 timeout.
> AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
> flags: ncq stag pm led clo only pmp pio slum part ccc apst
> Net:   dwmac.1c50000
> Hit any key to stop autoboot:  0
> switch to partitions #0, OK
> mmc0 is current device
> Scanning mmc 0...
> Found /boot/extlinux/extlinux.conf
> Retrieving file: /boot/extlinux/extlinux.conf
> 617 bytes read in 251 ms (2 KiB/s)
> LIME2 boot menu
> 1:      linux
> 2:      recovery
> 3:      sata
> 4:      317rc1
> Enter choice: 1:        linux
> Retrieving file: /boot/zImage
> 3863048 bytes read in 376 ms (9.8 MiB/s)
> append: root=/dev/mmcblk0p1 console=ttyS0,115200 ro rootwait
> Retrieving file: /boot/sun7i-a20-olinuxino-lime2.dtb
> 23270 bytes read in 183 ms (124 KiB/s)
> Kernel image @ 0x42000000 [ 0x000000 - 0x3af208 ]
> ## Flattened Device Tree blob at 43000000
>    Booting using the fdt blob at 0x43000000
>    Loading Device Tree to 4fff7000, end 4ffffae5 ... OK
>
> Starting kernel ...
>
> [    0.000000] Booting Linux on physical CPU 0x0
> [    0.000000] Linux version 3.18.0-rc3-lime2-31432-gd1b8ab3 (root@sl3)
> (gcc version 4.9.1 (GCC) ) #2 SMP Sat Nov 15 15:38:53 UTC 2014
> [    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7),
> cr=10c5387d
> [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
> instruction cache
> [    0.000000] Machine model: Olimex A20-OLinuXino-LIME2
> [    0.000000] cma: Reserved 16 MiB at 7f000000
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to linux-sunxi+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to