Hi all,
This is probably a no-brainer but I'm utterly stumped! I have no
experience using linuxrc at all. I want to boot a kernel from the SD
card so I can supply clients with updated software by simply sending
them an SD card. I figured I would modify the linuxrc file of the SD
card boot initrd image to run the 'bootload' command on a kernel from
the SD card. The problem is that no matter what I try, I keep getting
a 'not found' error when linuxrc attempts to run bootload.
I have go the most permissive and executable rights (777), tried
running it from /bin and from / and calling it as a command (i.e. no
path) and directly (with a path)... The linuxrc script looks like:
#!/bin/sh
cd /
mount -t proc proc /proc
insmod -f /sdcard.o -o sdcard0 dmaenable=1
insmod -f /bootloader.o
mount /dev/sdcard0/disc0/part2 /mnt
/bin/bootload -c "console=ttyAM0,115200 root=/dev/ram0" -r \
/mnt/boot/ramdisk2 /mnt/boot/zImage
I have also tried to replace the arguments to bootload with '--help'
which again returned 'not found'. Adding 'exec' or '/bin/sh' or 'exec
/bin/sh' in front did not help either! Any call with /bin/sh
preceeding it returns:
Syntax error: word unexpected (expecting ")")
I have also tried adding other commands to the initrd image and they
too return 'not found'. I can see them when I list the folders, and
autocomplete functions on them, so they are definitely there with the
correct permissions!
I am really puzzled!! Can anyone please help?
Regards,
Hamish
------------------------ Yahoo! Groups Sponsor --------------------~-->
Something is new at Yahoo! Groups. Check out the enhanced email design.
http://us.click.yahoo.com/kOt0.A/gOaOAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups - Join or create groups, clubs, forums & communities. Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups - Join or create groups, clubs, forums &
communities. is subject to:
http://docs.yahoo.com/info/terms/
|