Skip to contentSkip to conversation

ML403 patch for UBOOT

DISCUSSION alayrac 5 participants 9 messages Sep 25, 2006 – Oct 2, 2006

lore
Share & tools
lore

alayrac

author
#0 lore raw

I'm new member of this mailing list an I'm looking for some information on UBOOT on ML403.

stevea-mdi talk about a pacth from Ameet
(http://www.linux2knowmore.com) but I did not succeed to find this pacth.
The one attached to the mail
(http://patchwork.ozlabs.org/linuxppc/patch?id=6502) seems to be for linux 2.6.17-4 and not for UBOOT.

Is there something I'm doing wrong?

Where can I found a pacth for UBOOT for ML403?

Thank you in advance for any help

Chris

#1 lore raw

Hi,
Here it is...

http://ozlabs.org/pipermail/linuxppc-embedded/2006-August/023912.html

Regards
Ming

Quoted 22 lines

From: alayrac <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: ML403 patch for UBOOT
Date: Mon, 25 Sep 2006 13:21:43 +0200

I'm new member of this mailing list an I'm looking for some information on UBOOT on ML403.

stevea-mdi talk about a pacth from Ameet
(http://www.linux2knowmore.com) but I did not succeed to find this pacth.
The one attached to the mail
(http://patchwork.ozlabs.org/linuxppc/patch?id=6502) seems to be for linux 2.6.17-4 and not for UBOOT.

Is there something I'm doing wrong?

Where can I found a pacth for UBOOT for ML403?

Thank you in advance for any help

Quoted 7 lines

Chris

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn

author
#2 lore raw
Quoted 8 lines · Ming Liu

Hi,
Here it is...

http://ozlabs.org/pipermail/linuxppc-embedded/2006-August/023912.html

Regards
Ming

Thank you Ming for your prompt reply. It is exactly the pacth I've found previously.
The pacth start with the following lines :
diff -Naur linux-2.6.17-4.patch1/arch/ppc/platforms/4xx/xilinx_ml300.h linux-2.6.17-4.working/arch/ppc/platforms/4xx/xilinx_ml300.h
--- linux-2.6.17-4.patch1/arch/ppc/platforms/4xx/xilinx_ml300.h 2006-07-25 16:42:50.000000000 -0400
+++ linux-2.6.17-4.working/arch/ppc/platforms/4xx/xilinx_ml300.h 2006-08-02 19:47:00.000000000 -0400

I understand from that that it try to change linux-2.6.17-4 xilinx_ml300.h If I type from u-boot (1.1.4) source code directory
patch -i U-BOOT
with U-BOOT the text file containing that pacth then it stop askink for file path.

So I wonder if the pacth is for UBOOT or Linux 2.6.17-4 kernel source?

I should precise that I'm a beginner with Uboot and linux 2.6 (already port linux 2.4 on ML403 using BYU instructions) I must miss something basic...

Thanks for your help

Chris

Quoted 35 lines
Quoted 23 lines

From: alayrac <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: ML403 patch for UBOOT
Date: Mon, 25 Sep 2006 13:21:43 +0200

I'm new member of this mailing list an I'm looking for some information on UBOOT on ML403.

stevea-mdi talk about a pacth from Ameet
(http://www.linux2knowmore.com) but I did not succeed to find this pacth.
The one attached to the mail
(http://patchwork.ozlabs.org/linuxppc/patch?id=6502) seems to be for linux 2.6.17-4 and not for UBOOT.

Is there something I'm doing wrong?

Where can I found a pacth for UBOOT for ML403?

Thank you in advance for any help

Quoted 7 lines

Chris

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn

#3 lore raw
Quoted 23 lines · alayrac
Quoted 9 lines · Ming Liu

Hi,
Here it is...

http://ozlabs.org/pipermail/linuxppc-embedded/2006-August/023912.html

Regards
Ming

Thank you Ming for your prompt reply. It is exactly the pacth I've found previously.
The pacth start with the following lines :
diff -Naur linux-2.6.17-4.patch1/arch/ppc/platforms/4xx/xilinx_ml300.h linux-2.6.17-4.working/arch/ppc/platforms/4xx/xilinx_ml300.h

arch/ppc/platforms/4xx/xilinx_ml300.h 2006-08-02 19:47:00.000000000 -0400 renamed from arch/ppc/platforms/4xx/xilinx_ml300.h 2006-07-25 16:42:50.000000000 -0400 +0 -0

I understand from that that it try to change linux-2.6.17-4 xilinx_ml300.h
If I type from u-boot (1.1.4) source code directory
patch -i U-BOOT with U-BOOT the text file containing that pacth then it stop askink for file path.

Quoted 9 lines

So I wonder if the pacth is for UBOOT or Linux 2.6.17-4 kernel source?

I should precise that I'm a beginner with Uboot and linux 2.6 (already port linux 2.4 on ML403 using BYU instructions) I must miss something basic...

Thanks for your help

Chris

Chris,

You are correct, that patch is for the Linux kernel and should be applied to the kernel if you are planning on using u-boot. It ensures that the board_info structure in the kernel matches the one used by u-boot.

Xilinx has a u-boot tree that works with the ML403 board. It is available here:
http://www.xilinx.com/ml410-p/designs/u-boot.zip

Good luck,
Frank

#4 lore raw
In reply to alayrac

Hi,

Quoted 3 lines

So I wonder if the pacth is for UBOOT or Linux 2.6.17-4 kernel source?

From the structure of the directory, you can see that obviously it is for

the linux kernel.

Quoted 1 line

I should precise that I'm a beginner with Uboot and linux 2.6 (already

port linux 2.4 on ML403 using BYU instructions)

Quoted 1 line

I must miss something basic...

No problem. I am also a beginner. :)

Regards
Ming

_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn/

#5 lore raw
In reply to alayrac

You might want to start with XAPP542
http://direct.xilinx.com/bvdocs/appnotes/xapp542.pdf
http://direct.xilinx.com/bvdocs/appnotes/xapp542.zip

The zip file includes the U-Boot patch for Linux kernel 2.4.

- Peter

Quoted 27 lines · alayrac

I'm new member of this mailing list an I'm looking for some information on UBOOT on ML403.

stevea-mdi talk about a pacth from Ameet
(http://www.linux2knowmore.com) but I did not succeed to find this pacth.
The one attached to the mail
(http://patchwork.ozlabs.org/linuxppc/patch?id=6502) seems to be for linux 2.6.17-4 and not for UBOOT.

Is there something I'm doing wrong?

Where can I found a pacth for UBOOT for ML403?

Thank you in advance for any help

Chris

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

#6 lore raw
In reply to alayrac
Quoted 7 lines · alayrac

I'm new member of this mailing list an I'm looking for some information on UBOOT on ML403.

stevea-mdi talk about a pacth from Ameet
(http://www.linux2knowmore.com) but I did not succeed to find this pacth.

you got the URL wrong. Its http://linux.get2knowmore.com

cheers,
-Ameet

Quoted 19 lines

The one attached to the mail
(http://patchwork.ozlabs.org/linuxppc/patch?id=6502) seems to be for linux 2.6.17-4 and not for UBOOT.

Is there something I'm doing wrong?

Where can I found a pacth for UBOOT for ML403?

Thank you in advance for any help

Chris

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

author
#7 lore raw

Hi Ameet,

Thanks for your reply

Quoted 1 line

you got the URL wrong. Its http://linux.get2knowmore.com

I've got the right address but I've made an error in the email.

Following your instrcutions I've succeed to run the 2.6.17.1 kernel on my ML403 board. The process stop when I try to mount the NFS root file system. This is because there is no Etehrnet drivers.

It seems that Xilinx will release SP2 for EDK 8.2 very soon and that issue should be solved.

We decide to work on u-boot on that ML403 board (and linux 2.4.26 very well documented on byu web site, link on your web page) . To do so I use ML403 ppc ref design and I've dowloaded the u-boot.zip from xilinx website.

This u-boot.zip have empty files for sw_services (tcl script...), and I've noticed that memory map found in u-boot/board/ml403/xparameters.h did not match the one of the design from Xilinx.

I've then modify the address in this file and I succesfully start U-boot on that board.

Unfortunately, the process stop on the last line of do_boot_linux when whe are supposed to get back to entry point at address 0x00000000. (the uImage is properly unzip, and CRC OK).

I did not know why the process stop?
Do you think it has something to do with the hardware design? Should I modify the mapping of the hardware to macth the original memory map of the xparameters.h that comes with this u-boot.zip file? (that is the next track I'm working on).

I did not found PartII on your web site, it is an error from me or you did not find time to publish it?

Thanks any way for your contribution and your help.

Kinds Regards

Chris

#8 lore raw
Quoted 37 lines · alayrac

Hi Ameet,

Thanks for your reply

Quoted 2 lines

you got the URL wrong. Its http://linux.get2knowmore.com

I've got the right address but I've made an error in the email.

Following your instrcutions I've succeed to run the 2.6.17.1 kernel on my ML403 board. The process stop when I try to mount the NFS root file system. This is because there is no Etehrnet drivers.

It seems that Xilinx will release SP2 for EDK 8.2 very soon and that issue should be solved.

We decide to work on u-boot on that ML403 board (and linux 2.4.26 very well documented on byu web site, link on your web page) . To do so I use ML403 ppc ref design and I've dowloaded the u-boot.zip from xilinx website.

This u-boot.zip have empty files for sw_services (tcl script...), and I've noticed that memory map found in u-boot/board/ml403/xparameters.h did not match the one of the design from Xilinx.

I've then modify the address in this file and I succesfully start U-boot on that board.

Unfortunately, the process stop on the last line of do_boot_linux when whe are supposed to get back to entry point at address 0x00000000. (the uImage is properly unzip, and CRC OK).

I did not know why the process stop?
Do you think it has something to do with the hardware design? Should I modify the mapping of the hardware to macth the original memory map of the xparameters.h that comes with this u-boot.zip file? (that is the next track I'm working on).

Quoted 13 lines

I did not found PartII on your web site, it is an error from me or you did not find time to publish it?

Thanks any way for your contribution and your help.

Kinds Regards

Chris

Hi Chris,
I donot use U-boot. So no idea...can't help there... sorry.
About Part II: Its a work in progress... :-) will publish soon!

-Ameet