Technologic Systems Logo
Search Icon
Customer Area | Contact Us |Cart Icon
  16525 East Laser Drive
Fountain Hills, AZ 85268
Phone (480) 837-5200
Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    May 2016
    Posts
    1

    How to reprogram the original root filesystem into flash using reboot?

    Greets
    I'm trying to restore my TS7250 to factory state to have it boot with the root filesystem in internal flash memory.

    Redboot> fis list
    Name FLASH addr Mem addr Length Entry point
    (reserved) 0x60000000 0x60000000 0x07D20000 0x00000000
    RedBoot 0x67D20000 0x67D20000 0x00040000 0x00000000
    tslinux 0x67D80000 0x00218000 0x00160000 0x00218000
    FIS directory 0x67FE0000 0x67FE0000 0x00003000 0x00000000
    RedBoot config 0x67FFF000 0x67FFF000 0x00001000 0x00000000

    RedBoot> fconfig -l
    Run script at boot: true
    Boot script:
    .. fis load tslinux
    .. exec -c "console=ttyAM0,115200 root=/dev/mtdblock1"
    [...]


    It currently loads the tslinux kernel but then fails saying:

    [...]
    Creating 3 MTD partitions on "NAND 128MiB 3,3V 8-bit":
    0x00000000-0x00004000 : "TS-BOOTROM"
    mtd: partition "TS-BOOTROM" doesn't end on an erase block -- force read-only
    0x00004000-0x07d04000 : "Linux"
    mtd: partition "Linux" doesn't start on an erase block boundary -- force read-only
    0x07d04000-0x08000000 : "RedBoot"
    mtd: partition "RedBoot" doesn't start on an erase block boundary -- force read-only
    [...]
    VFS: Cannot open root device "mtdblock1" or 1f:01
    Please append a correct "root=" boot option
    Kernel panic: VFS: Unable to mount root fs on 1f:01


    I've also tried root=/dev/mtdblock/1 as suggested elsewhere in the docs - the same.

    I'm guessing that at some point I overwrote the root filesystem image during testing, and need to try reflashing the original rootfs to see if that sorts it out.

    I've read the linuxarm-guide-rev2.0.pdf which says I'll find JFFS images on the supplied CD or on the website, but can't see them in either place. It also tells how to reprogram the images into flash from a running Linux system, but not from Redboot.

    So my questions are:
    - Where do I find the original JFFS filesystem image for the TS7250, as was in flash when it was supplied?
    - what are the redboot runes to erase, load via http or tftp and program the rootfs partition of the flash?

    Thanks!

    M
    Last edited by martinwguy; May 19th, 2016 at 08:50 PM. Reason: +http/tftp

  2. #2
    Junior Member
    Join Date
    Feb 2016
    Posts
    1
    Hi,

    Similar problem on ts-7260 when I using zImage-7260-ts11 instead of zImage-7260_2k-ts11 .

    Istvan


    [...]
    Creating 3 MTD partitions on "NAND 128MiB 3,3V 8-bit":
    0x00000000-0x00004000 : "TS-BOOTROM"
    mtd: partition "TS-BOOTROM" doesn't end on an erase block -- force read-only
    0x00004000-0x07d04000 : "Linux"
    mtd: partition "Linux" doesn't start on an erase block boundary -- force read-only
    0x07d04000-0x08000000 : "RedBoot"
    mtd: partition "RedBoot" doesn't start on an erase block boundary -- force read-only
    [...]
    VFS: Cannot open root device "mtdblock1" or 1f:01
    Please append a correct "root=" boot option
    Kernel panic: VFS: Unable to mount root fs on 1f:01



    M[/QUOTE]

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •