u-boot+linux for ML403 board; Linuxppc-embedded Digest, Vol 31, Issue 35
Hi Leonid,
The only thing I had to do with the kernel 2.6.19 from denx.de (but this was the 2.6.19 don't know about newer ones) is the typical board_info struct patch:
diff -Naur linux-2.6.19/arch/ppc/platforms/4xx/xilinx_ml403.h ../linux-2.6.19-xemac/arch/ppc/platforms/4xx/xilinx_ml403.h
--- linux-2.6.19/arch/ppc/platforms/4xx/xilinx_ml403.h 2007-01-05
11:12:24.000000000 +0100
+++ ../linux-2.6.19-xemac/arch/ppc/platforms/4xx/xilinx_ml403.h 2007-01-12
14:47:24.000000000 +0100
@@ -24,13 +24,7 @@
#include <linux/types.h>
-typedef struct board_info {
- unsigned int bi_memsize; /* DRAM installed, in bytes
*/
- unsigned char bi_enetaddr[6]; /* Local Ethernet MAC
address */
- unsigned int bi_intfreq; /* Processor speed, in Hz */
- unsigned int bi_busfreq; /* PLB Bus speed, in Hz */
- unsigned int bi_pci_busfreq; /* PCI Bus speed, in Hz */
-} bd_t;
+#include <asm/ppcboot.h>
/* Some 4xx parts use a different timebase frequency from the internal
clock.
*/
Greetings,
Lorenz
Quoted 9 lines
Message: 3
Date: Thu, 15 Mar 2007 16:50:15 -0700
From: "Leonid" <[email protected]>
Subject: u-boot+linux for ML403 board.
To: <[email protected]>
Message-ID:
ntermedia.net>
Quoted 66 lines
Content-Type: text/plain; charset="us-ascii"
Hi:
Does anybody use u-boot+linux on ML403 board? If yes, can somebody give
me kernel or kernel patch to any open source kernel tree (DENX or kernel.org).I couldn't prepare uImage which is working with u-boot on ML403 board -
it hangs forever:TFTP from server 192.168.0.141; our IP address is 192.168.0.203 Filename 'LM200/rel/1.0.1d-403/uImage'.
Load address:0x400000
Loading: T
##################################################################################################################################
####################################### done Bytes transferred = 861911 (d26d7 hex) ## Booting image at 00400000 ... Image Name: Linux-2.6.19.2 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 861847 Bytes = 841.6 kBLoad Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Current stack ends at0x03E676F0=> set upper limit to0x00800000Board Info pointer (kbd) at007ffe80## cmdline at0x007FFF00...0x007FFFF8memstart = 0x00000000 memsize = 0x04000000 flashstart = 0x28000000 flashsize = 0x00800000 flashoffset = 0x00000000 sramstart = 0x00000000 sramsize = 0x00000000 bootflags = 0x00000000 procfreq = 300 MHz plb_busfreq = 100 MHz ethaddr = 00:01:02:CB:CB:71 IP addr = 192.168.0.203 baudrate = 115200 bpsNo initrd
## Transferring control to Linux (at address 00000000) ..Thanks,
Leonid.
------------------------------
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embeddedEnd of Linuxppc-embedded Digest, Vol 31, Issue 35
*************************************************