On Saturday, May 24, 2014 6:19:45 AM UTC-4, Hans de Goede wrote: > > Hi, > > On 05/24/2014 05:57 AM, [email protected] <javascript:> wrote: > > Can anyone verify for me that serial console has ever worked on the > > A20 device tree kernels? Am I looking for breakage or has console > > never worked at all? > > I and a lot of other people have had mainline kernels work fine on > the A20, so at this point, this is likely not a kernel problem. > > What do you use as bootup cmds in uboot ? I use: > > env set fdt_high ffffffff > ext2load mmc 0 0x46000000 uImage.new > ext2load mmc 0 0x49000000 dtb > setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p3 ro rootwait > loglevel=5 > bootm 0x46000000 - 0x49000000 > > Note esp. the env set fdt_high ffffffff which is necessary to > work around a dts loading problem (I think we've this > fixed in current u-boot-sunxi sunxi branch, I've not tried > booting without it yet).
Using exactly the commands above on a freshly compiled 3.15.0 kernel I am getting : ## Booting kernel from Legacy Image at 46000000 ... Image Name: Linux-3.15.0 Created: 2014-06-09 17:14:06 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5866768 Bytes = 5.6 MiB Load Address: 40008000 Entry Point: 40008000 Verifying Checksum ... OK ## Flattened Device Tree blob at 49000000 Booting using the fdt blob at 0x49000000 Loading Kernel Image ... OK Using Device Tree in place at 49000000, end 49007990 Starting kernel ... [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 522768 [ 0.000000] Memory: 2062144K/2097152K available (7533K kernel code, 931K rwdata, 3292K rodata, 780K init, 971K bss, 35008K reserved, 1318912K highmem) [ 0.043952] /cpus/cpu@0 missing clock-frequency property [ 0.043983] /cpus/cpu@1 missing clock-frequency property [ 0.052499] CPU1: failed to boot: -38 [ 0.094550] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy slot [ 0.094595] edma-dma-engine: probe of edma-dma-engine.0 failed with error -5 [ 0.403251] bounce pool size: 64 pages [ 0.415700] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.611307] ahci-sunxi 1c18000.sata: forcing PORTS_IMPL to 0x1 [ 0.777178] sr_init: No PMIC hook to init smartreflex [ 0.782419] sr_init: platform driver register failed for SR and nothing else. I was hoping this would look familiar to someone here who could give me some pointers.. I compiled the kernel with a .config file I found in another post by Hans. Thanks in advance, Tim -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
