[U-Boot-Users] RAMDisk on MPC5200

Jon Smirl jonsmirl at gmail.com
Sat Aug 18 02:52:31 CEST 2007


On 8/17/07, Wolfgang Denk <wd at denx.de> wrote:
> In message <9e4733910708171458j638b27c8rb7cca7e0ade7ecc1 at mail.gmail.com> you wrote:
> >
> > Who is requesting the RAMDisk be loaded, is this coming from the
> > kernel or u-boot? Since I am booting from a NFS root I don't need a
>
> Who is entering the commands?
>
> > RAMdisk so I want to turn this off.  I'm using OSELAS MPC5200-tiny-5
> > to build but I'll switch to another environment if needed to work
> > around this.
> >
> > uboot> run bcmd_net
>
> And now you expect that we guess what "bcmd_net"  might  be  on  your
> system,  and  all teh other relevant environment settings? I'm afraid
> my crystal ball is in dire need of an ectoplasmic upgrade. :-)

uboot> printenv
baudrate=115200
ethaddr=00:50:C2:6E:26:D3
ipaddr=192.168.1.11
serverip=192.168.1.4
gateway=192.168.1.200
netmask=255.255.255.0
uimage=uImage-pcm030
oftree=oftree-pcm030.dtb
jffs2=root-pcm030.jffs2
nfsrootfs=/home/OSELAS.BSP-Phytec-phyCORE-MPC5200B-tiny-5/root
mtdparts=mtdparts=physmap-flash.0:256k(ubootl),1792k(kernel),13312k(jffs2),256k(uboot)ro,256k(oftree),-(space)
bargs_base=setenv bootargs console=ttyPSC0,115200 $(mtdparts) rw
bargs_nfs=setenv bootargs $(bootargs) root=/dev/nfs ip=dhcp
nfsroot=$(serverip):$(nfsrootfs),v3,tcp
bargs_flash=setenv bootargs $(bootargs) root=/dev/mtdblock2 rootfstype=jffs2
bcmd_flash=run bargs_base bargs_flash; bootm 0xff040000 - 0xfff40000
bcmd_net=run bargs_base bargs_nfs; tftpboot 0x500000 $(uimage); tftp
0x400000 $(oftree); bootm 0x500000 - 0x400000
prg_kernel=tftp 0x400000 $(uimage); erase 0xff040000 0xff1fffff; cp.b
0x400000 0xff040000 $(filesize)
prg_jffs2=tftp 0x400000 $(jffs2); erase 0xff200000 0xffefffff; cp.b
0x400000 0xff200000 $(filesize)
prg_oftree=tftp 0x400000 $(oftree); erase 0xfff40000 0xfff5ffff; cp.b
0x400000 0xfff40000 $(filesize)
ethact=FEC ETHERNET
stdin=serial
stdout=serial
stderr=serial

Environment size: 1162/2044 bytes
uboot>



>
>
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Why don't you have a Linux partition installed so you can be  working
> in  a  programmer-friendly environment instead of a keep-gates'-bank-
> account-happy one? :-)                            -- Tom Christiansen
>


-- 
Jon Smirl
jonsmirl at gmail.com




More information about the U-Boot mailing list