Skip to contentSkip to conversation

U-boot + Linux 2.6 + Avnet FX12 MM (based on ML403 config)

DISCUSSION Guillaume Berthelom 3 participants 3 messages Apr 26, 2007 – Mar 31, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying to port Linux 2.6 on Avnet FX12 MM board with U-Boot and the help of xilinx ML403 config.

I have generate my costum xparameters.h file with EDK 8.2i.
I use ELDK 4.1 and Linux 2.6.20.x.
I have modified ml403.h u-boot's config file to adapt it for my board and I have no problem to boot u-boot.
I use the right board_info structure from <asm/ppcboot.h> and not the one in xilinx_ml403.h.

When I load the zImage directly with xilinx xmd debugger, the kernel start without problem (if I don't have KGDB or SERIAL_TEXT_DEBUG option in my kernel config). But when I try to load the uImage with u-boot, the kernel start but crach befor I can see something on output.

The kernel start because I debug it and the platform_init is ok, setup_arch too and it crach after ppc4xx_setup_arch at printk(KERN_INFO "Xilinx ML403 Reference System (Virtex-4 FX)\n") line when the kernel access in printk.c.

I suppose the serial init have problem but I have no idea what is the cause of the problem. I use the opb_uart16550 IP in my Xilinx design and the associat drivers in u-boot and linux.

Thanks,
Guillaume Berthelom

Signature · 2 lines
View this message in context: http://www.nabble.com/U-boot-%2B-Linux-2.6-%2B-Avnet-FX12-MM-%28based-on-ML403-config%29-tf3651846.html#a10201070
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
#1 lore raw

Hi Guillaume,

I was facing the same problem with my Avent (virtex 4 FX12) evaluation board. Originally I have built successfully u-boot 1.2.0 and linux 2.6.21 but I was not able to boot kernel 2.6.21 from u-boot 1.2.0. Kernel 2.6.22 (uImage) onwards can be booted with u-boot 1.2 and higher. Currently I use u-boot 1.2.0 and kernel 2.6.23 without any problems. My recommendation is to use at least the kernel version 2.6.22 otherwise you will have kernel panic problem.

Best Regards

Mirek

Quoted 31 lines · Guillaume Berthelom

Hi,

I'm trying to port Linux 2.6 on Avnet FX12 MM board with U-Boot and the help of xilinx ML403 config.

I have generate my costum xparameters.h file with EDK 8.2i.
I use ELDK 4.1 and Linux 2.6.20.x.
I have modified ml403.h u-boot's config file to adapt it for my board and I have no problem to boot u-boot.
I use the right board_info structure from <asm/ppcboot.h> and not the one in xilinx_ml403.h.

When I load the zImage directly with xilinx xmd debugger, the kernel start without problem (if I don't have KGDB or SERIAL_TEXT_DEBUG option in my kernel config). But when I try to load the uImage with u-boot, the kernel start but crach befor I can see something on output.

The kernel start because I debug it and the platform_init is ok, setup_arch too and it crach after ppc4xx_setup_arch at printk(KERN_INFO "Xilinx ML403 Reference System (Virtex-4 FX)\n") line when the kernel access in printk.c.

I suppose the serial init have problem but I have no idea what is the cause of the problem. I use the opb_uart16550 IP in my Xilinx design and the associat drivers in u-boot and linux.

Thanks,
Guillaume Berthelom

Signature · 2 lines
View this message in context: http://www.nabble.com/U-boot-%2B-Linux-2.6-%2B-Avnet-FX12-MM-%28based-on-ML403-config%29-tp10201070p16384525.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
#2 lore raw

Hi Mirek,

Our Git server from Xilinx, git.xilinx.com, has a kernel that is 2.6.24 based if this helps.=20

All of my testing for Virtex 4 is on the ML405 board which is an FX20 device rather than an FX12, but the kernel configuration is pretty much compatible.

Thanks,
John

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mirek23
Sent: Sunday, March 30, 2008 11:21 AM
To: [email protected]
Subject: Re: U-boot + Linux 2.6 + Avnet FX12 MM (based on ML403 config)

Hi Guillaume,

I was facing the same problem with my Avent (virtex 4 FX12) evaluation board. Originally I have built successfully u-boot 1.2.0 and linux 2.6.21
but I was not able to boot kernel 2.6.21 from u-boot 1.2.0. Kernel 2.6.22
(uImage) onwards can be booted with u-boot 1.2 and higher. Currently I use
u-boot 1.2.0 and kernel 2.6.23 without any problems. My recommendation is to
use at least the kernel version 2.6.22 otherwise you will have kernel panic
problem.

Best Regards

Mirek

Quoted 4 lines · Guillaume Berthelom

=20
Hi,
=20
I'm trying to port Linux 2.6 on Avnet FX12 MM board with U-Boot and

the

Quoted 5 lines

help of xilinx ML403 config.
=20
I have generate my costum xparameters.h file with EDK 8.2i. I use ELDK 4.1 and Linux 2.6.20.x.
I have modified ml403.h u-boot's config file to adapt it for my board

and

Quoted 2 lines

I have no problem to boot u-boot.
I use the right board_info structure from <asm/ppcboot.h> and not the

one

Quoted 3 lines

in xilinx_ml403.h.
=20
When I load the zImage directly with xilinx xmd debugger, the kernel

start

Quoted 1 line

without problem (if I don't have KGDB or SERIAL_TEXT_DEBUG option in

my

Quoted 1 line

kernel config). But when I try to load the uImage with u-boot, the

kernel

Quoted 4 lines

start but crach befor I can see something on output. =20
The kernel start because I debug it and the platform_init is ok, setup_arch too and it crach after ppc4xx_setup_arch at

printk(KERN_INFO

Quoted 5 lines

"Xilinx ML403 Reference System (Virtex-4 FX)\n") line when the kernel access in printk.c.
=20
I suppose the serial init have problem but I have no idea what is the cause of the problem. I use the opb_uart16550 IP in my Xilinx design

and

Quoted 6 lines

the associat drivers in u-boot and linux.
=20
Thanks,
Guillaume Berthelom
=20
=20

--=20
View this message in context:
http://www.nabble.com/U-boot-%2B-Linux-2.6-%2B-Avnet-FX12-MM-%28based-on
-ML403-config%29-tp10201070p16384525.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

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