public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Re: u-boot and linux-2.6.9
       [not found] <20041220185705.061871D0E3B@sc8-sf-uberspam1.sourceforge.net>
@ 2004-12-21  1:05 ` Sam Song
  0 siblings, 0 replies; 8+ messages in thread
From: Sam Song @ 2004-12-21  1:05 UTC (permalink / raw)
  To: u-boot

> jean-paul.saman at philips.com wrote:
[snip]
> Has anyone succeeded in booting a 2.6.x kernel with
> u-boot?

Yes. I did it many times on my 8xx target. The load
address was 0x200000 and the bootargs ENV I set was
only "root=/dev/nfs rw" or "root=/dev/ram rw". Details
pls see:

http://ozlabs.org/pipermail/linuxppc-dev/2004-September/017607.html

Perhaps ARM Linux is a little different from PPC
Linux? I am interested with your coming reply.

=====
Best regards,

Sam

_________________________________________________________
Do You Yahoo!?
150??MP3????????????
http://music.yisou.com/
???????????????????
http://image.yisou.com
1G??1000???????????
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] Booting problems for Integrator/CP+ARM920T
@ 2005-02-02 16:43 Alan Casey
  2005-02-02 17:02 ` Wolfgang Denk
  0 siblings, 1 reply; 8+ messages in thread
From: Alan Casey @ 2005-02-02 16:43 UTC (permalink / raw)
  To: u-boot

Hi,

  I have an ARM Integrator/CP board(s) which
  contains an ARM920T macrocell. I have been
  trying to use U-Boot(1.1.2) to boot 
  linux2.6.9 (with a patch applied from ARM's
  website) on this system. As i understand it, 
  U-Boot only supports the ARM926EJS macrocell
  as the default configuration with the 
  Integrator/CP but i was hoping the same boot 
  process would work with the ARM920T macrocell??

  The default kernel command string i use when
  compiling/building/installing the kernel is:
  CONFIG_CMDLINE="root=/dev/ram0 video=vc:1-2clcdfb console=ttyAMA0 mem=128M
  ramdisk_size=17408 initrd=0x24500000,6980391"

  I then generate the kernel image using:
  arm-linux-objcopy -O binary -R .note -R .comment
                    -S vmlinux linux-2.6.9.bin
  mkimage -n '2.6.9 Kernel Image' -A arm -O linux -T kernel 
          -C none -a 0x7fc0 -e 0x7fc0 
          -d linux-2.6.9.bin linux-2.6.9.img

  I also generate a RAMDisk image in a similar way.

  I load the U-Boot, kernel and RAMDisk images into FLASH at the
  following addresses:
    U-Boot image:  0x24000000
    kernel image:  0x242C0000
    ramdisk image: 0x24500000

  Using U-Boot i set the bootargs variable as:
     setenv bootargs root=/dev/ram0 

  However when i try to boot the kernel using 'bootm 242c0000 24500000'
  i get the following message:
    ## Booting image at 242c0000 ...
       ... 
       Load Address: 00007fc0
       Entry Point:  00007fc0
    OK
    ## Loading Ramdisk Image at 24500000 ...
       ...
       ...
       Load Address: 00000000
       Entry Point:  00000000

    Starting Kernel ...

  Then nothing - the boot process freezes.

  Does anybody know what i am doing wrong?? I have tried
  numerous things such as copying the kernel image to RAM
  and booting from there but i always get the same
  message as above. Do i have to configure and build  
  U-Boot to support the ARM920T macrocell with the 
  Integrator/CP??

  Any information greatly appreciated,
  Regards,
  Alan.  

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] Booting problems for Integrator/CP+ARM920T
  2005-02-02 16:43 [U-Boot-Users] Booting problems for Integrator/CP+ARM920T Alan Casey
@ 2005-02-02 17:02 ` Wolfgang Denk
  2005-02-04 15:04   ` Alan Casey
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2005-02-02 17:02 UTC (permalink / raw)
  To: u-boot

In message <41108D1A000E576D@hawk.dcu.ie> you wrote:
> 
>   I have an ARM Integrator/CP board(s) which
>   contains an ARM920T macrocell. I have been
>   trying to use U-Boot(1.1.2) to boot 
>   linux2.6.9 (with a patch applied from ARM's
>   website) on this system. As i understand it, 
>   U-Boot only supports the ARM926EJS macrocell
>   as the default configuration with the 
>   Integrator/CP but i was hoping the same boot 
>   process would work with the ARM920T macrocell??

What exactly do you want to  ask?  Why  are  you  using  code  for  a
ARM926EJS  when  in fact you have a ARM920T processor? You should use
(or create) a port of the ARM920T code for your board.

>   mkimage -n '2.6.9 Kernel Image' -A arm -O linux -T kernel 
>           -C none -a 0x7fc0 -e 0x7fc0 
>           -d linux-2.6.9.bin linux-2.6.9.img

Are you sure that 0x7fc0 is a good choice? Do you have  RAM  starting
at physical address 0?

>     Starting Kernel ...
> 
>   Then nothing - the boot process freezes.
> 
>   Does anybody know what i am doing wrong?? I have tried

I have the feeling that you might have missed to read the FAQ, especially
http://www.denx.de/twiki/bin/view/DULG/LinuxKernelIgnoresMyBootargs

>   message as above. Do i have to configure and build  
>   U-Boot to support the ARM920T macrocell with the 

If you have a ARM920T processor, then yes, you will  need  a  ARM920T
configuration.

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
"There are three principal ways to lose money: wine, women, and engi-
neers. While the first two are more pleasant, the third is by far the
more certain."                           - Baron Rothschild, ca. 1800

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] Booting problems for Integrator/CP+ARM920T
  2005-02-02 17:02 ` Wolfgang Denk
@ 2005-02-04 15:04   ` Alan Casey
  2005-02-04 16:06     ` [U-Boot-Users] " Catalin Marinas
  2005-02-04 16:16     ` [U-Boot-Users] " Wolfgang Denk
  0 siblings, 2 replies; 8+ messages in thread
From: Alan Casey @ 2005-02-04 15:04 UTC (permalink / raw)
  To: u-boot

Hi,
 
 I am still having trouble booting Linux on the ARM
 Integrator/CP with an ARM920T macrocell. I have tried
 Peter Pearse's Patches which enable U-Boot to support
 the ARM920T macrocell but i can get message as before:

>
>>     Starting Kernel ...
>> 
>>   Then nothing - the boot process freezes.
>> 


>
>I have the feeling that you might have missed to read the FAQ, especially
>http://www.denx.de/twiki/bin/view/DULG/LinuxKernelIgnoresMyBootargs
>

 I have checked the above note but this is already the default with
 Linux-2.6.9 (i.e. i dont have to modify anything here for ARM).

 I am trying to boot the kernel(+ramdisk) from RAM so when 
 building the kernel i use the following setting:

CONFIG_CMDLINE="console=ttyUA0 mem=128M root=/dev/ram0 video=vc:1-2clcdfb
ramdisk_size=17408 initrd=0x24500000,6980391

 And in U-Boot i set:
 setenv bootargs console=ttyUA0 mem=128M root=/dev/ram0 video=vc:1-2clcdfb

 Is this correct? Even if i just try to boot the kernel ignoring the
 RAMDisk i still get "Starting kernel ..." then freeze nothing happens.

 Any info appreciated,
 Regards,
 Alan.

 

 
 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] Re: Booting problems for Integrator/CP+ARM920T
  2005-02-04 15:04   ` Alan Casey
@ 2005-02-04 16:06     ` Catalin Marinas
  2005-02-04 16:16     ` [U-Boot-Users] " Wolfgang Denk
  1 sibling, 0 replies; 8+ messages in thread
From: Catalin Marinas @ 2005-02-04 16:06 UTC (permalink / raw)
  To: u-boot

"Alan Casey" <alan.casey5@mail.dcu.ie> writes:
>  I am still having trouble booting Linux on the ARM
>  Integrator/CP with an ARM920T macrocell. I have tried
>  Peter Pearse's Patches which enable U-Boot to support
>  the ARM920T macrocell but i can get message as before:
>
>>
>>>     Starting Kernel ...
>>> 
>>>   Then nothing - the boot process freezes.

Are you sure it is not a problem with the kernel?

> CONFIG_CMDLINE="console=ttyUA0 mem=128M root=/dev/ram0 video=vc:1-2clcdfb
> ramdisk_size=17408 initrd=0x24500000,6980391
>
>  And in U-Boot i set:
>  setenv bootargs console=ttyUA0 mem=128M root=/dev/ram0
>  video=vc:1-2clcdfb

Try "console=ttyAMA0" (and configure the terminal to 38400 8N1), you
might be able to get some kernel messages.

Catalin

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] Booting problems for Integrator/CP+ARM920T
  2005-02-04 15:04   ` Alan Casey
  2005-02-04 16:06     ` [U-Boot-Users] " Catalin Marinas
@ 2005-02-04 16:16     ` Wolfgang Denk
  2005-02-10 16:25       ` [U-Boot-Users] Re: u-boot and linux-2.6.9 Alan Casey
  1 sibling, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2005-02-04 16:16 UTC (permalink / raw)
  To: u-boot

In message <41108D1A000E81D2@hawk.dcu.ie> you wrote:
>  
> >http://www.denx.de/twiki/bin/view/DULG/LinuxKernelIgnoresMyBootargs
> 
>  I have checked the above note but this is already the default with
>  Linux-2.6.9 (i.e. i dont have to modify anything here for ARM).

But...

>  I am trying to boot the kernel(+ramdisk) from RAM so when 
>  building the kernel i use the following setting:
> 
> CONFIG_CMDLINE="console=ttyUA0 mem=128M root=/dev/ram0 video=vc:1-2clcdfb
> ramdisk_size=17408 initrd=0x24500000,6980391

... why do you  encode  a  kernel  command  line  at  all  when  this
information gets passed to the kernel by U-Boot?

>  setenv bootargs console=ttyUA0 mem=128M root=/dev/ram0 video=vc:1-2clcdfb
> 
>  Is this correct? Even if i just try to boot the kernel ignoring the
>  RAMDisk i still get "Starting kernel ..." then freeze nothing happens.

This doesn't make sense to me. I recomnmend to check the  passing  of
the  boot  arguments  again,  as outlined in the FAQ mentioned above.
Attach a debugger and check what your kernel is doing. At least  trry
a post-mortemn dump of the log buffer (see FAQ).

Anyway: I don't see how all this is related to U-Boot.  Seems  to  be
kernel problem and as such somewhat off-topic 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
Der Dativ ist dem Genitiv sein Tod.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] Re: u-boot and linux-2.6.9
  2005-02-04 16:16     ` [U-Boot-Users] " Wolfgang Denk
@ 2005-02-10 16:25       ` Alan Casey
  0 siblings, 0 replies; 8+ messages in thread
From: Alan Casey @ 2005-02-10 16:25 UTC (permalink / raw)
  To: u-boot

Hi,

  Jean-Paul Saman originally raised this issue before
  Christmas:

>> I am trying to boot on an ARM-Integrator AP a linux-2.6.9 kernel with

>> u-boot.  I tried u-boot-1.1.1 stable and cvs, but both result in "data

>> abort" just at the point of "Starting kernel .... ". Here is the dump
from 
>> minicom:
>> 
>> Integrator-AP # bootm 24400000  
>> Boot reached stage 1  
>> ## Booting image at 24400000 ...  
>> Boot reached stage 2  
>> Boot reached stage 3  
>>    Image Name:   Linux-2.6.9  
>>    Image Type:   ARM Linux Kernel Image (uncompressed)  
>>    Data Size:    1216080 Bytes =  1.2 MB  
>>  Load Address: 00008000
>>  Entry Point:  00008000  
>> Boot reached stage 4  
>> Boot reached stage 5  
>> Boot reached stage 6  
>> OK  
>> Boot reached stage 7  
>> Boot reached stage 8  
>> Boot reached stage 14  
>> No initrd  
>> Boot reached stage 15  
>> ## Transferring control to Linux (at address 00008000) ...  
>>   
>> Starting kernel ...  
>>  
>> data abort  
>> pc : [<0000801c>]    lr : [<0100bcbc>]  
>> sp : 00fd7bd4  ip : 00fd7bc4  fp : 00fd7c10  
>> r10: 00000000  r9 : 00fd7c84  r8 : 00fd7fdc  
>> r7 : 0100f1b4  r6 : 0100f1b4  r5 : 00000000  r4 : 24400040  
>> r3 : e1a00001  r2 : 00000100  r1 : e1a00000  r0 : 00000000  
>> Flags: nZCv  IRQs off  FIQs off  Mode SVC_32  
>> Resetting CPU ... 
 
 I have an Integrator/CP board which contains an ARM920T macrocell
 but i get a similar message to the above. From the mailing list 
 archives it appears this issue was not resolved?? If it was let
 me know how to fix it please.

 Regards&Thanks,
 Alan.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [U-Boot-Users] Re: u-boot and linux-2.6.9
@ 2005-02-10 17:10 Peter Pearse
  0 siblings, 0 replies; 8+ messages in thread
From: Peter Pearse @ 2005-02-10 17:10 UTC (permalink / raw)
  To: u-boot

Alan

Try setting the CP switch S2[1] ON (down) so that U-Boot is run after
the ARM Boot Monitor.
- either by hand or automatically.

If your kernel then boots OK the problem is the failure to remap. 

This is solved by my multicore patch:-
[Patch]IntegratorAP & CP multi core module support   
2005-02-02 08:43 

If your kernel does not boot with switch S2[1] ON then IMHO, 
the problem lies in your kernel,

Peter
------------------------ Peter.Pearse at arm.com
-------------------------

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-02-10 17:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-02 16:43 [U-Boot-Users] Booting problems for Integrator/CP+ARM920T Alan Casey
2005-02-02 17:02 ` Wolfgang Denk
2005-02-04 15:04   ` Alan Casey
2005-02-04 16:06     ` [U-Boot-Users] " Catalin Marinas
2005-02-04 16:16     ` [U-Boot-Users] " Wolfgang Denk
2005-02-10 16:25       ` [U-Boot-Users] Re: u-boot and linux-2.6.9 Alan Casey
  -- strict thread matches above, loose matches on Subject: below --
2005-02-10 17:10 Peter Pearse
     [not found] <20041220185705.061871D0E3B@sc8-sf-uberspam1.sourceforge.net>
2004-12-21  1:05 ` Sam Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox