hello John,

I'm using Kernel 3.8.13, and I don't want to change to other kernel version.
>From u-boot, I'm able to use tftpboot and download the uImage or zImage and 
am335x-boneblack.dtb at 0x82000000 and 0x83000000 respectively. No issues 
in that.

Till now I was using the uImage and zImage created by vmlinux using 
following commands:






*arm-linux-gnueabihf-objcopy -O binary vmlinux linux.binmkimage -A arm -O 
linux -T kernel -C none -a 0x80008000 -e 0x80008000 -n "Embedded Linux-BBB" 
-d linux.bin uImagegzip -9 linux.binmkimage -A arm -O linux -T kernel -C 
gzip -a 0x80008000 -e 0x80008000 -n "Embedded Linux-BBB" -d linux.bin.gz 
zImage*the above uImage(*size 8.8MB*) starts giving the following log and 
hangs when I do 
*bootm 0x82000000 - 0x83000000*log:










*Booting kernel from Legacy Image at 82000000 ...   Image Name:   Embedded 
Linux-BBB   Created:      2015-12-19  17:12:31 UTC   Image Type:   ARM 
Linux Kernel Image (uncompressed)   Data Size:    9234816 Bytes = 8.8 MiB   
Load Address: 80008000   Entry Point:  80008000   Verifying Checksum ... 
OKStarting Linux kernel...*
--------------------------------------------------------------------------------------------------------------------------------------

the zImage(*size 4.8MB*) created above gives bad magic when I do 
*bootz 0x82000000 - 0x83000000*log:



*bootz 82000000 - 83000000Bad Linux ARM zImage magic!*
--------------------------------------------------------------------------------------------------------------------------------------

But when I use the zImage(*size 5.4MB*) from *arch/arm/boot/zImage *and do 
*bootz 
0x82000000 - 0x83000000 *the BBB restarts,
log:



























*=> bootz 82000000 - 83000000Kernel image @ 0x82000000 [ 0x000000 - 
0x54e2a0 ]data abortpc : [<9ff6fcc0>]          lr : [<9ff6fd1d>]reloc pc : 
[<8080ecc0>]    lr : [<8080ed1d>]sp : 9ef40cd0  ip : 0000000f     fp : 
00000003r10: 9ffa4d30  r9 : 9ef40ed8     r8 : 9ffa4d2cr7 : 00000002  r6 : 
9ef46944     r5 : 00000000  r4 : 00000000r3 : 00000000  r2 : 9ffa4c94     
r1 : 9ef46944  r0 : 00000000Flags: nZcv  IRQs off  FIQs on  Mode 
SVC_32Resetting CPU ...resetting ...U-Boot SPL 2015.10-dirty (Dec 21 2015 - 
23:20:26)reading u-boot.imgreading u-boot.imgU-Boot 2015.10-dirty (Dec 21 
2015 - 23:20:26 +0530)       Watchdog enabledI2C:   readyDRAM:  512 
MiBMMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1Net:   cpsw, usb_etherHit any key 
to stop autoboot:  0 *

One notable thing is zImage which I've created using mkimage is 4.8MB but 
the zImage in *arch/arm/boot/ *is 5.4MB

This is all the info I've got. If you request for more info, I can give 
that.

Can anyone please help me with this? I've been stuck in this from past 2 
weeks. Any inputs from anyone is highly appreciated. 

With best regards,
Bharath

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" 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.

Reply via email to