1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Why are there two flash0/1 in WRT150N?

Discussion in 'Cisco/Linksys Wireless Routers' started by zishenyan, Jan 1, 2008.

  1. zishenyan

    zishenyan LI Guru Member

    Hello all,

    There is one thing I can't understand, whenever I enter CFE and check all devices by "show devices". CFE always shows two flash devices, flash0 and flash1.

    As I know WRT150n only has one flash chip, does anyone know which flash device represents the "real flash device"?

    Thanks a lot!!:smile:

    Zishenyan
     
  2. Toxic

    Toxic Administrator Staff Member

    is one device for the bootloader and one for the firmware?
     
  3. zishenyan

    zishenyan LI Guru Member

    I am not sure...

    CFE> show devices
    flash0.boot New CFI flash at 1FC00000 offset 00000000 size 256KB
    flash0.trx New CFI flash at 1FC00000 offset 00040000 size 1KB
    flash0.os New CFI flash at 1FC00000 offset 0004001C size 3808KB
    flash0.nvram New CFI flash at 1FC00000 offset 003F8000 size 32KB
    flash1.boot New CFI flash at 1FC00000 offset 00000000 size 256KB
    flash1.trx New CFI flash at 1FC00000 offset 00040000 size 3808KB
    flash1.nvram New CFI flash at 1FC00000 offset 003F8000 size 32KB

    Both of them have boot segment(?). And as I know, CFE acts as a bootloader in wrt150n; that is, there is only one bootloader (CFE) in wrt150n. If I misunderstand something, please correct me. :smile:
    By the way, I found the flash0.os has a size of 3808KB, and it plus start address of 0x4001C will be 3F801C, which overflows the space of flash0.nvram. Is it a correct configuration?

    Zishenyan
     
  4. Toxic

    Toxic Administrator Staff Member

    I dont really know however I think the best place to ask this is over at either ddwrt forums or openwrt.org forums where they specialize in this type of environment.
     

Share This Page