osmeest wrote:
> I based my APEX config on $APEX/src/mach-ixp42x/debian-nas100d-arm_config.
OK, that's the correct one.
> Two diffs from original config are:
> CONFIG_CROSS_COMPILE="/home/olivier/slug/slugosle/tmp/cross/bin/arm-linux-"
> CONFIG_ENV_DEFAULT_CMDLINE="console=ttyS0,115200
> rtc-pcf8563.probe=0,0x51 noirqdebug root=/dev/mtdblock2 rw"
You should not need to change the CMDLINE. I think this is the root of
your problem.
Also note that in the nas100d apex config, the kernel and initrd are
*not* swapped.
>> Did you add the modules required for the pata_artop IDE driver? Did you
>> update the flash-kernel script to do the right thing for the nas100d?
>> What MTD partition layout do you have?
>
> Nope, did not change the kernel found in the slug image.
You should be using a stock ixp4xx kernel with nas100d support. The
latest Debian kernel svn has this, as does any nslu2-linux kernel.
> npe_ucode 0x50EC0000 0x50EC0000 0x00020000 0x00400000
> npe_ucode contains the NPE-B. I hoped it would be found automatically
> by the npe_ucode module but it never worked...
I call mine "microcode" - just look in the nas100d-setup.c file in your
kernel sources to find the right name.
> script is fis load apex -b 0x1000000
For nas100d, I use 0x00400000 for apex and kernel, and 0x00b00000 for
rootfs.
> APEX Boot Loader 1.5.6 -- Copyright (c) 2004,2005,2006,2007 Marc
> env => nor:0xee0000+15k (no-write)
You need to create a partition for your apex environment.
My fis list is like this:
RedBoot> fis list
Name FLASH addr Mem addr Length Entry point
RedBoot 0x50000000 0x50000000 0x00040000 0x00000000
RedBoot config 0x50FC0000 0x50FC0000 0x00001000 0x00000000
FIS directory 0x50FE0000 0x50FE0000 0x00020000 0x00000000
kernel 0x50040000 0x00400000 0x00200000 0x00400000
filesystem 0x50240000 0x00B00000 0x00C80000 0x00B00000
apex 0x50EC0000 0x00400000 0x00020000 0x00400000
sysconfig 0x50F00000 0x00400000 0x000A0000 0x00000000
Apex config 0x50EE0000 0x50EE0000 0x00020000 0x00000000
microcode 0x50FA0000 0x00400000 0x00020000 0x00000000
> # copy fis://filesystem 0x00B00000
Note that it is not swapping the initrd, so you shouldn't need to swap
it before writing.
> ATAG_CMDLINE: (97 bytes) 'console=ttyS0,115200
> rtc-pcf8563.probe=0,0x51 noirqdebug root=/dev/mtdblock2
> rootfstype=jffs2 rw'
> ATAG_INITRD2: start 0x00b00000 size 0x00400000
You've given it an initrd, but told it to use mtdblock2 as jffs. Use
the original cmdline from apex without changes.
-- Rod
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/nslu2-linux/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/nslu2-linux/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:nslu2-linux-digest@xxxxxxxxxxxxxxx
mailto:nslu2-linux-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
nslu2-linux-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|