Moderator Control Panel ]

"Bad linux ARM Image Magic" error while Booting from SD card

"Bad linux ARM Image Magic" error while Booting from SD card

Postby abdullah » Thu Mar 26, 2015 7:47 am

Hi All,

I have created a Bootable Sdcard with image of latest Ubuntu release for TBS 2910.

There are two partitions inside SDcard, partion 1 contains zImage and .dtb file while partition 2 of linux type contains RFS.

In my u-boot environment, I have set parameters in following way. Still there comes error "Bad Linux ARM zImage magic".



The below lines and stored on mmc dev 2



setenv fdt_addr 0x18000000

setenv fdt_high 0xffffffff

setenv loadaddr 0x10820000

setenv bootargs 'console=ttymxc0,115200 video=mxcfb0:dev=hdmi,1920x1080M@60 consoleblank=0 root=/dev/mmcblk0p2 rw'

setenv load_sd 'fatload mmc 0:1 ${loadaddr} zImage ; fatload mmc 0:1 ${fdt_addr} imx6q-sabresd.dtb'



setenv bootcmd 'run load_sd ; bootz ${loadaddr} - ${fdt_addr}'

saveenv

reset



and after that following output shows "Bad Linux ARM zImage magic" at my serial console



MMC: no card present

** Bad device mmc 0 **

MMC: no card present

** Bad device mmc 0 **

Bad Linux ARM zImage magic!



Has any one faced the same issue or I am making mistake some where ?

Regards
Abdullah
abdullah
 
Posts: 6
Joined: Wed Mar 25, 2015 4:56 pm

Re: "Bad linux ARM Image Magic" error while Booting from SD

Postby vpeter » Thu Mar 26, 2015 4:00 pm

Try with
Code: Select All Code
loadaddr=0x12000000
fdt_addr=0x18000000
You can help me buy new work notebook with paypal donation, after 8 years it's time to upgrade.
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FLVT7ACMYAPS6
vpeter
 
Posts: 427
Joined: Sun Jul 27, 2014 2:12 am
Location: Slovenia

Re: "Bad linux ARM Image Magic" error while Booting from SD

Postby abdullah » Mon Mar 30, 2015 5:12 pm

Hi vpeter,

Thanks for replying but unfortunately the error still exist after changing above addresses. Looks like the image magic bytes, boot loader is reading from MBR are not matching. Or may be the image is corrupted.
abdullah
 
Posts: 6
Joined: Wed Mar 25, 2015 4:56 pm

Re: "Bad linux ARM Image Magic" error while Booting from SD

Postby vpeter » Mon Mar 30, 2015 5:19 pm

Are you sure addresses are really used? Run from boot prompt to be sure.
Or your zImage is really broken.
You can help me buy new work notebook with paypal donation, after 8 years it's time to upgrade.
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FLVT7ACMYAPS6
vpeter
 
Posts: 427
Joined: Sun Jul 27, 2014 2:12 am
Location: Slovenia


Return to Install and setup

Who is online

Users browsing this forum: No registered users and 5 guests