Changeset 8057


Ignore:
Timestamp:
2007-07-19T16:52:38+02:00 (11 years ago)
Author:
florian
Message:

Add wget2nand, this should allow netboot installation directly to nand

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/rb532-2.6/base-files/default/sbin/wget2nand

    r8050 r8057  
    4545 
    4646echo "Copying filesystem..." 
    47 ( wget -O - $url/openwrt-adm5120-2.6-rootfs.tgz) | ( cd /tmp/wget2nand/; tar xvz ) 
    48 wget -O /tmp/wget2nand-boot/kernel $url/openwrt-adm5120-2.6-vmlinux.elf  
     47( wget -O - $url/openwrt-rb532-2.6-rootfs.tgz) | ( cd /tmp/wget2nand/; tar xvz ) 
     48wget -O /tmp/wget2nand-boot/kernel $url/openwrt-rb532-2.6-vmlinux  
    4949 
    50 # update the command line on the kernel to boot from the right place 
    51 [ ! -e /sbin/patch-cmdline ] && { 
    52         echo "Cannot find patch-cmdline" 
    53         exit 1 
    54 } 
    55  
    56 echo "Patching the kernel command line" 
    57 /sbin/patch-cmdline /tmp/wget2nand-boot/kernel "root=/dev/mtdblock1 rootfstype=yaffs2 init=/etc/preinit " 
     50# No need to patch the kernel, this was done during the build process 
    5851chmod +x /tmp/wget2nand-boot/kernel 
    5952 
Note: See TracChangeset for help on using the changeset viewer.