Changeset 7c1a04d in freewrt


Ignore:
Timestamp:
Dec 22, 2006, 4:37:49 PM (19 years ago)
Author:
Phil Sutter <n0-1@…>
Children:
72c0067
Parents:
b6b301b
Message:

finally importing NAND flash target filesystem for rb532

To keep it consistent to the documentation, I renamed
the target from "flash" to "yaffs2". I also created the
necessary entry in target/Config.in, so it should be usable
now. Also the instprep-rb.sh script had to be touched (it
knows about the target fs it's used on).

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1364 afb5a338-a214-0410-bd46-81f09a774fd1

Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • scripts/instprep-rb.sh

    rb6b301b r7c1a04d  
    2525        echo "$ME"
    2626        echo
    27         echo "Creates device nodes in local directory:"
    28         echo -e "\tnull    c  1 3"
    29         echo -e "\ttty     c  5 0"
    30         echo -e "\tconsole c  5 1"
    31         echo -e "\tcfa1    b 13 1"
    32         echo -e "\tcfa2    b 13 2"
     27        echo "Prepare the RootFS right after installation for later use."
     28        echo "If you want to know better, look at the source."
    3329        exit 1
    3430}
     
    5450;;
    5551
    56 flash)
     52yaffs2)
    5753echo "copying over device nodes"
    5854cp -dpR /dev/null /dev/tty /dev/console /dev/mtd* dev/
  • target/Config.in

    rb6b301b r7c1a04d  
    7373          inside your hardware and want to boot FreeWRT from it.
    7474
     75config FWRT_TARGET_ROOTFS_YAFFS2
     76        bool "read-write filesystem for NAND flash using YAFFS2"
     77        depends on FWRT_LINUX_2_4_RB || \
     78                   FWRT_LINUX_2_6_RB
     79        help
     80          Use this option if you want to install FreeWRT to RouterBoard's
     81          internal NAND flash.
     82
    7583endchoice
    7684
  • target/image/rb/Makefile

    rb6b301b r7c1a04d  
    7373endif
    7474
    75 ifeq ($(FS),flash)
     75ifeq ($(FS),yaffs2)
    7676install: $(BIN_DIR)/$(ROOTFSTARBALL)
    7777        @echo
Note: See TracChangeset for help on using the changeset viewer.