On Fri, Dec 21, 2012 at 10:12 PM, Menon, Nishanth wrote:
> Shifting thread to linux-omap mailing list.
This time I used the latest u-boot and working.. sorry..
U-Boot 2013.01-rc2-00022-g42e1321 (Dec 21 2012 - 22:09:54)
CPU : OMAP4430 ES2.2
Board: OMAP4 Panda
I2C: ready
DRAM: 1 GiB
MMC: OMAP SD/MMC: 0
Using default environment
In:serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0
Panda # setenv bootargs 'console=ttyO2,115200n8 root=/dev/mmcblk0p3 rw
rootwait rootfstype=ext4 init=/sbin/init ignore_loglevel debug
printk.time=1 bootmem_debug=1 earlyprintk'
Panda # setenv bootcmd 'mmc rescan; fatload mmc 0 8200
uImage-21dec; fatload mmc 0 8500 omap4-panda-es.dtb; bootm
8200 - 8500'
Panda # boot
reading uImage-21dec
4243816 bytes read in 251 ms (16.1 MiB/s)
reading omap4-panda-es.dtb
13602 bytes read in 9 ms (1.4 MiB/s)
## Booting kernel from Legacy Image at 8200 ...
Image Name: Linux-3.7.0-11091-gf01af9f-dirty
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size:4243752 Bytes = 4 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 8500
Booting using the fdt blob at 0x8500
Loading Kernel Image ... OK
OK
reserving fdt memory region: addr=9d00 size=300
Using Device Tree in place at 8500, end 85006521
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[0.00] Booting Linux on physical CPU 0x0
[0.00] Linux version 3.7.0-11091-gf01af9f-dirty
(sghorai@bgsxgitb03) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202)
) #15 SMP Fri Dec 21 15:50:23 IST 2012
[0.00] CPU: ARMv7 Processor [411fc092] revision 2 (ARMv7), cr=10c53c7d
[0.00] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
instruction cache
[0.00] Machine: Generic OMAP4 (Flattened Device Tree), model:
TI OMAP4 PandaBoard
..
> Regards,
> Nishanth Menon
>
> From: pandabo...@googlegroups.com [pandabo...@googlegroups.com] on behalf of
> Sukumar Ghorai [ghorai.suku...@gmail.com]
> Sent: Friday, December 21, 2012 10:33
> To: pandabo...@googlegroups.com
> Subject: [pandaboard] device tree does not work
>
> Hi,
> Device Tree in Panda board does not boot.
>
> Device Tree with legacy u-boot : Appending dtb blob to kernel
> menuconfig → boot options
> select [*] Use appended device tree blob to zImage (EXPERIMENTAL)
> Used with legacy u-boot
>
> U-Boot 2011.09 (Nov 19 2011 - 04:44:45)
>
> CPU : OMAP4430
> Board: OMAP4 Panda
> I2C: ready
> DRAM: 1 GiB
> WARNING: Caches not enabled
> MMC: OMAP SD/MMC: 0
> Using default environment
>
> In:serial
> Out: serial
> Err: serial
> Net: No ethernet found.
> Hit any key to stop autoboot: 0
> Panda # setenv bootargs 'console=ttyO2,115200n8 root=/dev/mmcblk0p3 rw
> rootwait rootfstype=ext4 init=/sbin/init ignore_loglevel debug
> printk.time=1 earlyprintk'
> Panda # setenv bootcmd 'mmc rescan; fatload mmc 0 8020
> uImage-21dec; fatload mmc 0 8070 omap4-panda-es.dtb; bootm
> 8020 - 8070'
> Panda # boot
> reading uImage-21dec
>
> 4243816 bytes read
> reading omap4-panda-es.dtb
>
> 13602 bytes read
> ## Booting kernel from Legacy Image at 8020 ...
>Image Name: Linux-3.7.0-11091-gf01af9f-dirty
>Image Type: ARM Linux Kernel Image (uncompressed)
>Data Size:4243752 Bytes = 4 MiB
>Load Address: 80008000
>Entry Point: 80008000
>Verifying Checksum ... OK
> ## Flattened Device Tree blob at 8070
>Booting using the fdt blob at 0x8070
>Loading Kernel Image ... OK
> OK
>reserving fdt memory region: addr=9d00 size=300
>Loading Device Tree to bfef1000, end bfef7521 ... OK
>
> Starting kernel ...
>
> Uncompressing Linux... done, booting the kernel.
> [0.00] Booting Linux on physical CPU 0x0
> [0.00] Linux version 3.7.0-11091-gf01af9f-dirty
> (sghorai@bgsxgitb03) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202)
> ) #15 SMP Fri Dec 21 15:50:23 IST 2012
> [0.00] CPU: ARMv7 Processor [411fc092] revision 2 (ARMv7), cr=10c53c7d
> [0.00] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
> instruction cache
> [0.00] Machine: Generic OMAP4 (Flattened Device Tree), model:
> TI OMAP4 PandaBoard
> [0.00] debug: ignoring loglevel setting.
> [0.00] bootconsole [earlycon0] enabled
> [0.00] Memory policy: ECC disabled, Data cache writealloc
> [0.00] On node 0 totalpages: 261888
> [0.00] free_area_init_node: node 0, pgdat c080eec0,
> node_mem_map c0d6d000
> [0.00] Normal zone: 1520 pages used for memmap
> [0.00] Normal zone: 0 pages reserved
> [0.00] Normal zone: 193040 pages, LIFO batch:31
> [0.00] HighMem zone: 528 pages used for memmap
> [0.00] HighMem zone: 66800 pages, LIFO batch:15
> [0.00] Unable to ha