* [U-Boot-Users] Bad Magic Number - bootm
@ 2006-05-16 10:57 Kaushik karandikar
2006-05-16 16:10 ` Wolfgang Denk
2006-05-17 13:22 ` Alan Casey
0 siblings, 2 replies; 5+ messages in thread
From: Kaushik karandikar @ 2006-05-16 10:57 UTC (permalink / raw)
To: u-boot
Hi All,
I am compiling uClinux for Phytec board with LPC2294 ARM7TDMI.
When I tried to use "bootm 0x80020000" (the linux kernel image address in Flash).
It gave me the "Bad Magic Number".
Could anyone tell me what was wrong ?I am new to this .
Please Help me out.
Thanks and Regards
Kaushik
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060516/677bd0ff/attachment.htm
^ permalink raw reply [flat|nested] 5+ messages in thread* [U-Boot-Users] Bad Magic Number - bootm
2006-05-16 10:57 [U-Boot-Users] Bad Magic Number - bootm Kaushik karandikar
@ 2006-05-16 16:10 ` Wolfgang Denk
2006-05-17 13:22 ` Alan Casey
1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2006-05-16 16:10 UTC (permalink / raw)
To: u-boot
In message <20060516105723.81938.qmail@web30605.mail.mud.yahoo.com> you wrote:
>
> I am compiling uClinux for Phytec board with LPC2294 ARM7TDMI.
> When I tried to use "bootm 0x80020000" (the linux kernel image address in Flash).
> It gave me the "Bad Magic Number".
>
> Could anyone tell me what was wrong ?I am new to this .
You want to read the READM and RTFM!
> --0-1763991110-1147777043=:81920
> Content-Type: text/html; charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
And *never* post HTML here.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Without followers, evil cannot spread.
-- Spock, "And The Children Shall Lead", stardate 5029.5
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] Bad Magic Number - bootm
2006-05-16 10:57 [U-Boot-Users] Bad Magic Number - bootm Kaushik karandikar
2006-05-16 16:10 ` Wolfgang Denk
@ 2006-05-17 13:22 ` Alan Casey
2006-05-17 13:37 ` Kaushik karandikar
1 sibling, 1 reply; 5+ messages in thread
From: Alan Casey @ 2006-05-17 13:22 UTC (permalink / raw)
To: u-boot
>-- Original Message --
>From: Kaushik karandikar <kaushikkarandikar@yahoo.com>
>To: u-boot-users at lists.sourceforge.net
>Subject: [U-Boot-Users] Bad Magic Number - bootm
>Date: Tue, 16 May 2006 03:57:23 -0700 (PDT)
>
>
> Hi All,
> I am compiling uClinux for Phytec board with LPC2294 ARM7TDMI.
> When I tried to use "bootm 0x80020000" (the linux kernel image address
>in Flash).
> It gave me the "Bad Magic Number".
>
> Could anyone tell me what was wrong ?I am new to this .
>
> Please Help me out.
>
> Thanks and Regards
> Kaushik
>
>---------------------------------
>Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates
>starting at 1?/min.
Hi,
Make sure that you have used the 'mkimage' tool to encapsulate
a compressed or uncompressed Linux kernel image with header
information, checksum etc. See the README file in your U-Boot
distribution for details. e.g. for ARM Integrator platforms:
mkimage -A arm -O linux -T kernel -C none -a 0x7fc0 -e 0x8000
-n 'ARM Linux 2.6.x' -d linux-2.6.x.bin linux-2.6.x.img
Regards,
Alan.
^ permalink raw reply [flat|nested] 5+ messages in thread* [U-Boot-Users] Bad Magic Number - bootm
2006-05-17 13:22 ` Alan Casey
@ 2006-05-17 13:37 ` Kaushik karandikar
2006-05-17 14:54 ` Alan Casey
0 siblings, 1 reply; 5+ messages in thread
From: Kaushik karandikar @ 2006-05-17 13:37 UTC (permalink / raw)
To: u-boot
hey thnx,
Actually that problem is solved u r absolutely right ....i did mkimage and its working fine....but i am not able to see the linux prompt...
Actually i am using Phytec board with LPC2294 ARM7TDMI. and i am using the following pachakes:
uClinux-dist-20051110.tar.gz
linux-2.6.11.8-hsc0.patch.gz
uClinux-dist-lpc22xx.patch
linux-2.6.11.8-lpc22xx.patch
Even i am able to write the kernel and romfs image using 'loadb' command of u-boot. but not getting prompt when i use 'bootm'.
As there is no support for this board and CPU , iadded those in u-boot.
a bit out of track Question : Actually i am getting error : undrfineed reference to machine_lookup_type , somehow i am ablr to solve it by copying arch/arm/kernel/head-common.S to arch/arm/mach-lpc22xx/. and incude head-common.S at end in head.S.
So is that right? if not what can be the wring thing i am doing ? i wanna boot uClinux on Phytec board.
Please help me out.
Thanks and Regards,
Kaushik
Alan Casey <alan.casey5@mail.dcu.ie> wrote:
>-- Original Message --
>From: Kaushik karandikar
>To: u-boot-users at lists.sourceforge.net
>Subject: [U-Boot-Users] Bad Magic Number - bootm
>Date: Tue, 16 May 2006 03:57:23 -0700 (PDT)
>
>
> Hi All,
> I am compiling uClinux for Phytec board with LPC2294 ARM7TDMI.
> When I tried to use "bootm 0x80020000" (the linux kernel image address
>in Flash).
> It gave me the "Bad Magic Number".
>
> Could anyone tell me what was wrong ?I am new to this .
>
> Please Help me out.
>
> Thanks and Regards
> Kaushik
>
>---------------------------------
>Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates
>starting at 1?/min.
Hi,
Make sure that you have used the 'mkimage' tool to encapsulate
a compressed or uncompressed Linux kernel image with header
information, checksum etc. See the README file in your U-Boot
distribution for details. e.g. for ARM Integrator platforms:
mkimage -A arm -O linux -T kernel -C none -a 0x7fc0 -e 0x8000
-n 'ARM Linux 2.6.x' -d linux-2.6.x.bin linux-2.6.x.img
Regards,
Alan.
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060517/490dd3d5/attachment.htm
^ permalink raw reply [flat|nested] 5+ messages in thread* [U-Boot-Users] Bad Magic Number - bootm
2006-05-17 13:37 ` Kaushik karandikar
@ 2006-05-17 14:54 ` Alan Casey
0 siblings, 0 replies; 5+ messages in thread
From: Alan Casey @ 2006-05-17 14:54 UTC (permalink / raw)
To: u-boot
>-- Original Message --
>Date: Wed, 17 May 2006 06:37:50 -0700 (PDT)
>From: Kaushik karandikar <kaushikkarandikar@yahoo.com>
>Subject: RE: [U-Boot-Users] Bad Magic Number - bootm
>To: alan.casey5 at mail.dcu.ie
>Cc: u-boot-users at lists.sourceforge.net
>
>
>hey thnx,
> Actually that problem is solved u r absolutely right ....i
did
>mkimage and its working fine....but i am not able to see the linux prompt...
> Actually i am using Phytec board with LPC2294 ARM7TDMI. and i am using
the
>following pachakes:
> uClinux-dist-20051110.tar.gz
> linux-2.6.11.8-hsc0.patch.gz
> uClinux-dist-lpc22xx.patch
>linux-2.6.11.8-lpc22xx.patch
>
> Even i am able to write the kernel and romfs image using 'loadb' command
>of u-boot. but not getting prompt when i use 'bootm'.
>
> As there is no support for this board and CPU , iadded those in u-boot.
>
> a bit out of track Question : Actually i am getting error : undrfineed
reference
>to machine_lookup_type , somehow i am ablr to solve it by copying arch/arm/kernel/head-common.S
>to arch/arm/mach-lpc22xx/. and incude head-common.S at end in head.S.
> So is that right? if not what can be the wring thing i am doing ? i wanna
>boot uClinux on Phytec board.
> Please help me out.
>
> Thanks and Regards,
> Kaushik
>
>
>
>Alan Casey <alan.casey5@mail.dcu.ie> wrote:
>>-- Original Message --
>>From: Kaushik karandikar
>>To: u-boot-users at lists.sourceforge.net
>>Subject: [U-Boot-Users] Bad Magic Number - bootm
>>Date: Tue, 16 May 2006 03:57:23 -0700 (PDT)
>>
>>
>> Hi All,
>> I am compiling uClinux for Phytec board with LPC2294 ARM7TDMI.
>> When I tried to use "bootm 0x80020000" (the linux kernel image
address
>>in Flash).
>> It gave me the "Bad Magic Number".
>>
>> Could anyone tell me what was wrong ?I am new to this .
>>
>> Please Help me out.
>>
>> Thanks and Regards
>> Kaushik
>>
>>---------------------------------
>>Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates
>>starting at 1?/min.
>
>Hi,
>
> Make sure that you have used the 'mkimage' tool to encapsulate
> a compressed or uncompressed Linux kernel image with header
> information, checksum etc. See the README file in your U-Boot
> distribution for details. e.g. for ARM Integrator platforms:
>
> mkimage -A arm -O linux -T kernel -C none -a 0x7fc0 -e 0x8000
> -n 'ARM Linux 2.6.x' -d linux-2.6.x.bin linux-2.6.x.img
>
> Regards,
> Alan.
>
>
>
>
>
>---------------------------------
>Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates
>starting at 1?/min.
Hi Kaushik,
I am not familiar with the Phytec boards or the process about how to
add support for this in U-Boot but you might find more information
on http://www.denx.de/wiki/DULG/ or from someone else on this
mailing list.
The http://www.phytec.com/pdf/AN_uClinux%20for%20Philips%20LPC22xx.pdf
document references (page 14) another bootloader developed already for
your board that you could also try: http://www.ulrichradig.de/
(in german).
Regards,
Alan.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-05-17 14:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-16 10:57 [U-Boot-Users] Bad Magic Number - bootm Kaushik karandikar
2006-05-16 16:10 ` Wolfgang Denk
2006-05-17 13:22 ` Alan Casey
2006-05-17 13:37 ` Kaushik karandikar
2006-05-17 14:54 ` Alan Casey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox