This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/OMAP-L138: How can I get the L138 to U-Boot from location 0x40000 on the NAND?

Part Number: OMAP-L138
Other Parts Discussed in Thread: FLASHTOOL, , PMP, TEST2, CC2500

Tool/software: TI C/C++ Compiler

Hello experts,

I have a u-boot.bin file that needs to be written to location 0x40000 on a NAND device (happens to be exactly where MTD partition 1 begins).  Here's how Linux sees the NAND partitions:

Creating 7 MTD partitions on "davinci_nand.1":
0x000000000000-0x000000020000 : "u-boot env"
0x000000020000-0x000000040000 : "UBL"
0x000000040000-0x0000000c0000 : "u-boot"
0x000000200000-0x000000400000 : "kernel"
0x000000400000-0x000001400000 : "filesystem"
0x000001400000-0x000002400000 : "ap4_fs"
0x000002400000-0x000020000000 : "filesystem_large"

How can I take the u-boot.bin file and get U-Boot to load it in from location 0x40000 ?  (Don't think just using AISgen will do it)

Any help would be greatly appreciated.  Consultants are welcome (we're in a time crunch..)

much thanks,

Bill

  • Hi Bill,

    I've consulted the design team. They will post their feedback directly here.

    Best Regards,
    Yordan
  • Sorry, 0x40000 marks the start of partition 2, not partition 1.  So the idea is to write UBL at the start of partition 1, which, according to the partition map embedded in the Linux MTD NAND driver is at

    0x2000 on the NAND.

    Then have UBL read in U-boot from location 0x40000 on the NAND, which happens to be the start of partition 2 on the NAND.

    Any help would be appreciated.

    Thanks, Bill

  • So another option that would fox this issue we're having is to write a UBL + U-boot combined image to location 0x4000 on the NAND. If I did that, how do I tell the OMAP L138 to read from THAT specific location on the NAND?

    Thanks again, Bill
  • Which SDK are you using?

    Steve K.
  • Hi Steve,

    These are running a pretty early version of the SDK, 03.30.00.06.

    So these units in the field, unfortunately we've shipped thousands of these, have buggy U-boot NAND drivers in them.  They've been out in the field working for years, but they've been seeing failures when rebooting them, as sometimes they do not come back up after a power-cycle and have to be RMA'ed.  Since most of these units are on ceilings, it is very costly to have to RMA these devices.

    Because of this problem, they want me to provide them a script that will updated the units with the latest U-Boot from Linux. The catch is that the units cannot be rebooted until AFTER U-boot gets rewritten to the NAND.

    I've been able to work around some problems like unlocking all of the partitions using an device driver and also am able to write UBL + U-boot to a partition using the "legacy" OOB layout (another issue I had to deal with), using a utility called 'flashtool' however the UBL + U-boot image (.ais file) is larger than partition 1, so writing it from Linux to partition 1 doesn't work. If I write it to partition 2 starting at 0x40000 (since THAT partition IS large enough), how can I tell the OMAP L138 to read U-Boot from THAT location?

    Or is there a way to get Linux (using a different device driver) that will bypass MTD partition boundaries and write the entire UBL + U-Boot file beyond Partition 1 ?

    Thanks again for any help you (or anyone else) can provide.

    Bill

  • Hi Bill,
    I'm working on how to solve this.

    Steve K.
  • I now have an EVM and will start looking at this shortly.

    Steve K.
  • Great, thanks!

    Making some progress on it, not quite there yet though..

    Thanks again, Bill

  • Sorry for the delay. I am still looking at this.

    Steve K.
  • Hi Steve,

    Thanks a lot for looking into this! Have you found anything?

    We got another unit with the same issue:

    Regards,

    Bill

    OMAP-L138 initialization passed!
    Booting TI User Boot Loader
    UBL Version: 1.65
    UBL Flashtype: NAND
    Starting NAND Copy...
    Valid magicnum, 0x55424CBB, found in block 0x00000006.
    DONE
    Jumping to entry point at 0xC1080000.


    U-Boot 2009.11 (Oct 21 2011 - 17:34:18)

    I2C: ready
    DRAM: 64 MB
    NAND: 512 MiB
    Bad block table found at page 262080, version 0x01
    Bad block table found at page 262016, version 0x01
    *** Warning - bad CRC or NAND, using default environment

    In: serial
    Out: serial
    Err: serial
    ARM Clock : 300000000 Hz
    DDR Clock : 150000000 Hz
    Error - unable to probe SPI flash.
    Net: Ethernet PHY: GENERIC @ 0x00

    Hit any key to stop autoboot: 0
    U-Boot > printenv
    bootargs=davinci_emac.eth=00:50:c2:00:00:01 mem=128M console=ttyS2,115200n8 root=/dev/mtdblock4 rw rootfstype=jffs2 ip=dhcp
    bootcmd=nand read.e 0xc1180000 0x400000 0x400000;nboot.e 0xc0700000 0 0x200000;if iminfo;then if itest $bp == 6;then setenv bp 3;saveenv;fi;bootm;else if itest $bp == 3;then setenv bp 6;saveenv;fi;nboot.e 0xc0700000 0 0x2400000;bootm;fi;
    bootdelay=3
    baudrate=115200
    bootfile="uImage"
    stdin=serial
    stdout=serial
    stderr=serial
    ethaddr=00:00:30:fa:0a:c1
    ver=U-Boot 2009.11 (Oct 21 2011 - 17:34:18)

    Environment size: 519/131068 bytes
    U-Boot > boot

    NAND read: device 0 offset 0x400000, size 0x400000
    NAND read from offset 400000 failed -74
    4194304 bytes read: ERROR

    Loading from NAND 512MiB 3,3V 8-bit, offset 0x200000
    Image Name: Linux-2.6.33-rc4
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2011412 Bytes = 1.9 MB
    Load Address: c0008000
    Entry Point: c0008000

    ## Checking Image at c0700000 ...
    Legacy image found
    Image Name: Linux-2.6.33-rc4
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2011412 Bytes = 1.9 MB
    Load Address: c0008000
    Entry Point: c0008000
    Verifying Checksum ... OK
    itest - return true/false on integer compare

    Usage:
    itest [.b, .w, .l, .s] [*]value1 <op> [*]value2
    ## Booting kernel from Legacy Image at c0700000 ...
    Image Name: Linux-2.6.33-rc4
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2011412 Bytes = 1.9 MB
    Load Address: c0008000
    Entry Point: c0008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kerneli - bgg.
    bgg - start_kernel before smp_setup_processor_id..
    bgg - start_kernel before lock_kernel..
    bgg - start_kernel before tick_init..
    bgg - start_kernel before boot_cpu_init..
    bgg - start_kernel before page_address_init..
    bgg - in asmlinkage before printing linx version....
    Linux version 2.6.33-rc4 (bgoetz@volta.altierre.com) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #20 PREEMPT Fri Jan 7 13:54:47 PST 2011
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    CPU: VIVT data cache, VIVT instruction cache
    Machine: DaVinci DA850/OMAP-L138/AM18xx EVM
    Memory policy: ECC disabled, Data cache writeback
    bgg beginning of davinci_common_init
    bgg after first if stmt..
    DaVinci da850/omap-l138/am18xx variant 0x1
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
    Kernel command line: davinci_emac.eth=00:50:c2:00:00:01 mem=128M console=ttyS2,115200n8 root=/dev/mtdblock4 rw rootfstype=jffs2 ip=dhcp
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 128MB = 128MB total
    Memory: 125680KB available (3576K code, 303K data, 116K init, 0K highmem)
    SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    Hierarchical RCU implementation.
    NR_IRQS:245
    Console: colour dummy device 80x30
    Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    DaVinci: 144 gpio irqs
    NET: Registered protocol family 16
    bgg beginning of da850_evm_init.......
    Success configuring NAND pins!
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    pca953x 1-0020: failed reading register
    i2c-gpio i2c-gpio.1: using pins 20 (SDA) and 21 (SCL)
    Switching to clocksource timer0_1
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    EMAC: MII PHY configured, RMII PHY will not be functional
    Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
    SGI XFS with security attributes, large block/inode numbers, no debug enabled
    msgmni has been set to 245
    io scheduler noop registered (default)
    Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
    serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
    serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
    console [ttyS2] enabled
    brd: module loaded
    loop: module loaded
    ahci ahci: forcing PORTS_IMPL to 0x1
    ahci ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    ahci ahci: flags: ncq sntf pm led clo only pmp pio slum part ccc
    scsi0 : ahci
    ata1: SATA max UDMA/133 irq 67
    bgg start of nand_davinci_probe Chip Select=1 +++++++++++++++++++++++++++++++++++++++++++++
    bgg aemif clock rate=25000000 (25000 KH)+++++++++++++++++++++++
    bgg just wrote timing, register c8890014 value 0x80
    nand_get_flash_type: bgg beginning of routine
    bgg2 NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron NAND 512MiB 3,3V 8-bit)
    Creating 7 MTD partitions on "davinci_nand.1":
    0x000000000000-0x000000020000 : "u-boot env"
    0x000000020000-0x000000040000 : "UBL"
    0x000000040000-0x0000000c0000 : "u-boot"
    0x000000200000-0x000000400000 : "kernel"
    0x000000400000-0x000001400000 : "filesystem"
    0x000001400000-0x000002400000 : "ap4_fs"
    0x000002400000-0x000020000000 : "filesystem_large"
    davinci_nand davinci_nand.1: controller rev. 2.5
    spi_davinci spi_davinci.1: DaVinci SPI driver in EDMA mode
    Using RX channel = 18 , TX channel = 19 and event queue = 1
    spi_davinci spi_davinci.1: Controller at 0xfef0e000
    tun: Universal TUN/TAP device driver, 1.6
    tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    console [netcon0] enabled
    bgg test2!!! netconsole: network logging started
    i2c /dev entries driver
    TCP cubic registered
    NET: Registered protocol family 17
    Clocks: disable unused i2c1
    Clocks: disable unused emac
    Clocks: disable unused mcasp
    Clocks: disable unused lcdc
    Clocks: disable unused mmcsd
    Clocks: disable unused spi0
    Clocks: disable unused mcbsp0
    Clocks: disable unused mcbsp1
    Clocks: disable unused vpif

    *************** MAC is 0:50:c2:0:0:1 (00:50:c2:00:00:01)
    emac-mii: probed
    ata1: SATA link down (SStatus 0 SControl 300)
    eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1:00, id=7c0f1)
    Sending DHCP requests .
    PHY: 1:00 - Link is Up - 100/Full
    ., OK
    IP-Config: Got DHCP answer from 172.20.120.200, my address is 172.20.142.22
    IP-Config: Complete:
    device=eth0, addr=172.20.142.22, mask=255.255.255.0, gw=172.20.142.1,
    host=172.20.142.22, domain=altierre.com, nis-domain=altierre,
    bootserver=172.20.120.200, rootserver=172.20.120.200, rootpath=
    Empty flash at 0x0000fffc ends at 0x00010000
    Empty flash at 0x0002fffc ends at 0x00030000
    Empty flash at 0x0004fffc ends at 0x00050000
    Empty flash at 0x0006fffc ends at 0x00070000
    Empty flash at 0x0008fffc ends at 0x00090000
    Empty flash at 0x000afffc ends at 0x000b0000
    Empty flash at 0x000cfffc ends at 0x000d0000
    Empty flash at 0x000efffc ends at 0x000f0000
    Empty flash at 0x0010fffc ends at 0x00110000
    Empty flash at 0x0012ffc8 ends at 0x00130000
    Empty flash at 0x0014fffc ends at 0x00150000
    Empty flash at 0x0016fffc ends at 0x00170000
    Empty flash at 0x0018fffc ends at 0x00190000
    Empty flash at 0x001cfffc ends at 0x001d0000
    Empty flash at 0x001efffc ends at 0x001f0000
    Empty flash at 0x0020fffc ends at 0x00210000
    Empty flash at 0x0022ffc8 ends at 0x00230000
    Empty flash at 0x0024ff68 ends at 0x00250000
    Empty flash at 0x0026fffc ends at 0x00270000
    Empty flash at 0x0028fffc ends at 0x00290000
    Empty flash at 0x002aff4c ends at 0x002b0000
    Empty flash at 0x002efffc ends at 0x002f0000
    Empty flash at 0x0030fffc ends at 0x00310000
    Empty flash at 0x0032fffc ends at 0x00330000
    Empty flash at 0x0034fffc ends at 0x00350000
    Empty flash at 0x0036fffc ends at 0x00370000
    Empty flash at 0x0038fffc ends at 0x00390000
    mtd->read(0x400 bytes from 0x640000) returned ECC error
    mtd->read(0x1fc14 bytes from 0x6403ec) returned ECC error
    mtd->read(0x800 bytes from 0x67f800) returned ECC error
    mtd->read(0x2564 bytes from 0x67d29c) returned ECC error
    mtd->read(0x800 bytes from 0x69f800) returned ECC error
    mtd->read(0x800 bytes from 0x6bf800) returned ECC error
    mtd->read(0x800 bytes from 0x73f800) returned ECC error
    mtd->read(0xfec bytes from 0x73e814) returned ECC error
    mtd->read(0x800 bytes from 0x75f800) returned ECC error
    mtd->read(0x800 bytes from 0x77f800) returned ECC error
    mtd->read(0x800 bytes from 0x79f800) returned ECC error
    mtd->read(0x800 bytes from 0x7bf800) returned ECC error
    mtd->read(0x258 bytes from 0x7285a8) returned ECC error
    VFS: Mounted root (jffs2 filesystem) on device 31:4.
    Freeing init memory: 116K
    mtd->read(0x6c0 bytes from 0x66e940) returned ECC error
    mtd->read(0x670 bytes from 0x66e190) returned ECC error
    mtd->read(0x6b8 bytes from 0x728948) returned ECC error
    mtd->read(0x40c bytes from 0x6533f4) returned ECC error
    mtd->read(0x60c bytes from 0x7281f4) returned ECC error
    mtd->read(0x734 bytes from 0x66f0cc) returned ECC error
    mtd->read(0x20c bytes from 0x6535f4) returned ECC error
    mtd->read(0x33c bytes from 0x7284c4) returned ECC error
    mtd->read(0x3b0 bytes from 0x728450) returned ECC error
    mtd->read(0x7bc bytes from 0x3af844) returned ECC error
    mtd->read(0x790 bytes from 0x3af870) returned ECC error
    INIT: version 2.86 booting
    mtd->read(0xd8 bytes from 0x728728) returned ECC error
    mtd->read(0xc5 bytes from 0x728800) returned ECC error
    mtd->read(0x44 bytes from 0x728728) returned ECC error
    mtd->read(0x159 bytes from 0x72876c) returned ECC error
    Please wait: booting...
    Starting udev
    mtd->read(0x684 bytes from 0x67817c) returned ECC error
    mtd->read(0x2e0 bytes from 0x671d20) returned ECC error
    mtd->read(0x6b4 bytes from 0x78d94c) returned ECC error
    mtd->read(0x10c bytes from 0x654ef4) returned ECC error
    mtd->read(0x670 bytes from 0x654990) returned ECC error
    mtd->read(0x48 bytes from 0x6547b8) returned ECC error
    mtd->read(0x120 bytes from 0x653ee0) returned ECC error
    mtd->read(0x84 bytes from 0x65377c) returned ECC error
    mtd->read(0x6ac bytes from 0x3af954) returned ECC error
    mtd->read(0x378 bytes from 0x3afc88) returned ECC error
    mtd->read(0x44c bytes from 0x3dbbb4) returned ECC error
    mtd->read(0x1f8 bytes from 0x3dc608) returned ECC error
    mtd->read(0x41c bytes from 0x3dbbe4) returned ECC error
    JFFS2 notice: (422) check_node_data: wrong data CRC in data node at 0x003dc608: read 0x59f9d98, calculated 0x2c82e3bf.
    mtd->read(0x40e bytes from 0x3dc000) returned ECC error
    mtd->read(0x1be bytes from 0x3db800) returned ECC error
    mtd->read(0x3c bytes from 0x3affc4) returned ECC error
    JFFS2 notice: (422) read_dnode: node CRC failed on dnode at 0x3affc4: read 0x79d60a26, calculated 0x252be7d2
    JFFS2 notice: (403) check_node_data: wrong data CRC in data node at 0x003cb9e4: read 0xb902fa5e, calculated 0x424687ce.
    Populating dev cachemtd->read(0x640 bytes from 0x7281c0) returned ECC error
    mtd->read(0x4f0 bytes from 0x3afb10) returned ECC error

    Remounting root file system...
    WARNING: Couldn't open directory /lib/modules/2.6.33-rc4: No such file or directory
    FATAL: Could not open /lib/modules/2.6.33-rc4/modules.dep.temp for writing: No such file or directory
    modprobe: FATAL: Could not load /lib/modules/2.6.33-rc4/modules.dep: No such file or directory

    root: mount: mounting rootfs on / failed: No such file or directorymtd->read(0x3b0 bytes from 0x728450) returned ECC error

    root: mount: mounting usbfs on /mtd->read(0x3f4 bytes from 0x72840c) returned ECC error
    proc/bus/usb failed: No such file or directory
    mtd->read(0x800 bytes from 0x4ff800) returned ECC error
    mtd->read(0x340 bytes from 0x4ff4c0) returned ECC error
    mtd->read(0x400 bytes from 0xf80000) returned ECC error
    mtd->read(0x1fa80 bytes from 0xf80580) returned ECC error
    mtd->read(0x800 bytes from 0xfbf800) returned ECC error
    mtd->read(0x800 bytes from 0xfdf800) returned ECC error
    mtd->read(0x800 bytes from 0xfff800) returned ECC error
    mtd->read(0x578 bytes from 0x4eda88) returned ECC error
    mtd->read(0x1e8 bytes from 0x728618) returned ECC error
    mtd->read(0x90 bytes from 0x729f70) returned ECC error
    mtd->read(0x554 bytes from 0xff1aac) returned ECC error
    mtd->read(0x84 bytes from 0xfd377c) returned ECC error
    mtd->read(0x6f8 bytes from 0x728908) returned ECC error
    mtd->read(0x104 bytes from 0x7286fc) returned ECC error
    mtd->read(0x7b0 bytes from 0x67d050) returned ECC error
    mtd->read(0x494 bytes from 0x67bb6c) returned ECC error
    mtd->read(0x538 bytes from 0x67a2c8) returned ECC error
    mtd->read(0x71c bytes from 0x6798e4) returned ECC error
    mtd->read(0x158 bytes from 0x6796a8) returned ECC error
    mtd->read(0x6b0 bytes from 0x654950) returned ECC error
    mtd->read(0x518 bytes from 0x642ae8) returned ECC error
    mtd->read(0x22c bytes from 0x6405d4) returned ECC error
    mtd->read(0x44 bytes from 0x728648) returned ECC error
    mtd->read(0x60 bytes from 0xfa9fa0) returned ECC error
    mtd->read(0x64 bytes from 0xf8179c) returned ECC error
    mtd->read(0x104 bytes from 0xf816fc) returned ECC error
    mtd->read(0x6a0 bytes from 0x4ee160) returned ECC error
    mtd->read(0x710 bytes from 0x4ee0f0) returned ECC error
    Setting up IP spoofing protection: rp_filter.
    Configuring network interfaces... Received vendorclass: <altierre-sync-002

    udhcpc (v1.16.0) started
    vendorclas = <altierre-sync-002

    Sending discover...
    Sending select for 172.20.142.22...
    udhcpc: No vendor specific info returned.

    NTP Server info sent len: 4

    Got NTP server sent = 172.20.122.1

    Stopping any/all previously running ntpd threads

    sh: you need to specify whom to kill
    mtd->read(0x2c bytes from 0xf817d4) returned ECC error
    mtd->read(0x800 bytes from 0xf81800) returned ECC error
    mtd->read(0x818 bytes from 0xf82000) returned ECC error
    JFFS2 notice: (953) check_node_data: wrong data CRC in data node at 0x00f817d4: read 0x8604bfe6, calculated 0xbde5169b.
    Starting up ntpd client to 172.20.122.1

    Successfully wrote /tmp/AAP4.cfg!

    Lease of 172.20.142.22 obtained, lease time 691200
    adding dns 172.20.120.120
    adding dns 172.20.120.220
    done.
    Wed Nov 2 23:49:00 UTC 2016
    mtd->read(0x6b8 bytes from 0x728148) returned ECC error
    INIT: Entering runlevel: 5
    Starting syslogd/klogd: done
    mtd->read(0x554 bytes from 0xff1aac) returned ECC error
    mtd->read(0x84 bytes from 0xfd377c) returned ECC error
    mtd->read(0x60 bytes from 0xfa9fa0) returned ECC error
    mtd->read(0x64 bytes from 0xf8179c) returned ECC error
    mtd->read(0x6a0 bytes from 0x4ee160) returned ECC error
    mtd->read(0x710 bytes from 0x4ee0f0) returned ECC error
    mtd->read(0x294 bytes from 0xf8156c) returned ECC error
    mtd->read(0xf8 bytes from 0xff1708) returned ECC error
    mtd->read(0x814 bytes from 0xff0fec) returned ECC error
    mtd->read(0x614 bytes from 0xff01ec) returned ECC error
    mtd->read(0x684 bytes from 0xfef97c) returned ECC error
    mtd->read(0x628 bytes from 0xfef1d8) returned ECC error
    mtd->read(0x508 bytes from 0xfeeaf8) returned ECC error
    mtd->read(0x74 bytes from 0xfee78c) returned ECC error
    mtd->read(0x15c bytes from 0xfedea4) returned ECC error
    mtd->read(0x5f8 bytes from 0xfeda08) returned ECC error
    mtd->read(0x28c bytes from 0xfed574) returned ECC error
    mtd->read(0x3d4 bytes from 0xfecc2c) returned ECC error
    mtd->read(0x79c bytes from 0xfec064) returned ECC error
    mtd->read(0x78c bytes from 0xfeb874) returned ECC error
    mtd->read(0x6cc bytes from 0xfeb134) returned ECC error
    mtd->read(0x278 bytes from 0xfead88) returned ECC error
    mtd->read(0x61c bytes from 0xfea9e4) returned ECC error
    mtd->read(0x1c4 bytes from 0xfea63c) returned ECC error
    mtd->read(0x63c bytes from 0xfea1c4) returned ECC error
    mtd->read(0x1c8 bytes from 0xfe9e38) returned ECC error
    mtd->read(0x12c bytes from 0xfe96d4) returned ECC error
    mtd->read(0x244 bytes from 0xfe85bc) returned ECC error
    mtd->read(0x6e4 bytes from 0xfe791c) returned ECC error
    mtd->read(0x3dc bytes from 0xfe6c24) returned ECC error
    mtd->read(0x1ac bytes from 0xfe6654) returned ECC error
    mtd->read(0x238 bytes from 0xfe5dc8) returned ECC error
    mtd->read(0x26c bytes from 0xfe5594) returned ECC error
    mtd->read(0x2f0 bytes from 0xfe4d10) returned ECC error
    mtd->read(0x3ac bytes from 0xfe4454) returned ECC error
    mtd->read(0x624 bytes from 0xfe39dc) returned ECC error
    mtd->read(0x78 bytes from 0xfe2f88) returned ECC error
    mtd->read(0x260 bytes from 0xfe25a0) returned ECC error
    mtd->read(0x47c bytes from 0xfe1b84) returned ECC error
    mtd->read(0x690 bytes from 0xfe1170) returned ECC error
    mtd->read(0x544 bytes from 0xfe0abc) returned ECC error
    mtd->read(0x5c4 bytes from 0xfe023c) returned ECC error
    mtd->read(0x3a4 bytes from 0xf8145c) returned ECC error
    mtd->read(0x3c0 bytes from 0x4fec40) returned ECC error
    mtd->read(0x350 bytes from 0x4fe4b0) returned ECC error
    mtd->read(0x5f8 bytes from 0x4fda08) returned ECC error
    mtd->read(0x148 bytes from 0x4fceb8) returned ECC error
    mtd->read(0x2f0 bytes from 0x4fc510) returned ECC error
    mtd->read(0x5d8 bytes from 0x4fba28) returned ECC error
    mtd->read(0x64 bytes from 0x4faf9c) returned ECC error
    mtd->read(0x288 bytes from 0x4fa578) returned ECC error
    mtd->read(0x588 bytes from 0x4f9a78) returned ECC error
    mtd->read(0x34 bytes from 0x4f8fcc) returned ECC error
    mtd->read(0x800 bytes from 0x4f9000) returned ECC error
    mtd->read(0x284 bytes from 0x4f857c) returned ECC error
    mtd->read(0x4ec bytes from 0x4f7b14) returned ECC error
    mtd->read(0x6b4 bytes from 0x4f714c) returned ECC error
    mtd->read(0x130 bytes from 0x4f66d0) returned ECC error
    mtd->read(0x370 bytes from 0x4f5c90) returned ECC error
    mtd->read(0x5d8 bytes from 0x4f5228) returned ECC error
    mtd->read(0x6f8 bytes from 0x4f4908) returned ECC error
    mtd->read(0x184 bytes from 0x4f3e7c) returned ECC error
    mtd->read(0x364 bytes from 0x4f349c) returned ECC error
    mtd->read(0x584 bytes from 0x4f2a7c) returned ECC error
    mtd->read(0x810 bytes from 0x4f1ff0) returned ECC error
    mtd->read(0x2d0 bytes from 0x4f1530) returned ECC error
    mtd->read(0x4ac bytes from 0x4f0b54) returned ECC error
    mtd->read(0x680 bytes from 0x4f0180) returned ECC error
    mtd->read(0x7b0 bytes from 0x4ef850) returned ECC error
    mtd->read(0x140 bytes from 0x4eeec0) returned ECC error
    mtd->read(0x824 bytes from 0x4ee7dc) returned ECC error
    mtd->read(0x668 bytes from 0x4ee198) returned ECC error
    mtd->read(0x266 bytes from 0xff1800) returned ECC error
    mtd->read(0x90 bytes from 0xff0800) returned ECC error
    mtd->read(0x1e9 bytes from 0xff0000) returned ECC error
    mtd->read(0x17b bytes from 0xfef800) returned ECC error
    mtd->read(0x1d7 bytes from 0xfef000) returned ECC error
    mtd->read(0x2f8 bytes from 0xfee800) returned ECC error
    mtd->read(0x37d bytes from 0xfee000) returned ECC error
    mtd->read(0x205 bytes from 0xfed800) returned ECC error
    mtd->read(0x130 bytes from 0xfed000) returned ECC error
    mtd->read(0xb6 bytes from 0xfec800) returned ECC error
    mtd->read(0x61 bytes from 0xfec000) returned ECC error
    mtd->read(0x73 bytes from 0xfeb800) returned ECC error
    mtd->read(0x132 bytes from 0xfeb000) returned ECC error
    mtd->read(0x1e4 bytes from 0xfea800) returned ECC error
    mtd->read(0x1c3 bytes from 0xfea000) returned ECC error
    mtd->read(0x283 bytes from 0xfe9800) returned ECC error
    mtd->read(0xa04 bytes from 0xfe8800) returned ECC error
    JFFS2 notice: (1070) check_node_data: wrong data CRC in data node at 0x00fe85bc: read 0x949aded8, calculated 0x3df86491.
    mtd->read(0x5b9 bytes from 0xfe8000) returned ECC error
    mtd->read(0x91a bytes from 0xfe7000) returned ECC error
    mtd->read(0x424 bytes from 0xfe6800) returned ECC error
    mtd->read(0x653 bytes from 0xfe6000) returned ECC error
    mtd->read(0x5c5 bytes from 0xfe5800) returned ECC error
    mtd->read(0x594 bytes from 0xfe5000) returned ECC error
    mtd->read(0x510 bytes from 0xfe4800) returned ECC error
    mtd->read(0x452 bytes from 0xfe4000) returned ECC error
    mtd->read(0x9dc bytes from 0xfe3000) returned ECC error
    mtd->read(0x785 bytes from 0xfe2800) returned ECC error
    mtd->read(0x59d bytes from 0xfe2000) returned ECC error
    mtd->read(0x381 bytes from 0xfe1800) returned ECC error
    mtd->read(0x16e bytes from 0xfe1000) returned ECC error
    mtd->read(0x2bc bytes from 0xfe0800) returned ECC error
    mtd->read(0x4be bytes from 0x4ff000) returned ECC error
    mtd->read(0x440 bytes from 0x4fe800) returned ECC error
    mtd->read(0x4b0 bytes from 0x4fe000) returned ECC error
    mtd->read(0xa05 bytes from 0x4fd000) returned ECC error
    mtd->read(0x6b5 bytes from 0x4fc800) returned ECC error
    mtd->read(0x50e bytes from 0x4fc000) returned ECC error
    mtd->read(0xa25 bytes from 0x4fb000) returned ECC error
    mtd->read(0x799 bytes from 0x4fa800) returned ECC error
    mtd->read(0x575 bytes from 0x4fa000) returned ECC error
    mtd->read(0x276 bytes from 0x4f9800) returned ECC error
    mtd->read(0x7cc bytes from 0x4f8800) returned ECC error
    mtd->read(0x57c bytes from 0x4f8000) returned ECC error
    mtd->read(0x313 bytes from 0x4f7800) returned ECC error
    mtd->read(0x949 bytes from 0x4f6800) returned ECC error
    mtd->read(0x6cf bytes from 0x4f6000) returned ECC error
    mtd->read(0x490 bytes from 0x4f5800) returned ECC error
    mtd->read(0x226 bytes from 0x4f5000) returned ECC error
    mtd->read(0x907 bytes from 0x4f4000) returned ECC error
    mtd->read(0x679 bytes from 0x4f3800) returned ECC error
    mtd->read(0x49b bytes from 0x4f3000) returned ECC error
    mtd->read(0x279 bytes from 0x4f2800) returned ECC error
    mtd->read(0x7f0 bytes from 0x4f1800) returned ECC error
    mtd->read(0x52d bytes from 0x4f1000) returned ECC error
    mtd->read(0x352 bytes from 0x4f0800) returned ECC error
    mtd->read(0x180 bytes from 0x4f0000) returned ECC error
    mtd->read(0x84e bytes from 0x4ef000) returned ECC error
    mtd->read(0x44 bytes from 0xf8145c) returned ECC error
    mtd->read(0x44 bytes from 0x4ee198) returned ECC error
    mtd->read(0x44 bytes from 0x4ee7dc) returned ECC error
    mtd->read(0x94a bytes from 0x4eef04) returned ECC error
    mtd->read(0x8ec bytes from 0x4ef894) returned ECC error
    mtd->read(0x44 bytes from 0xfe5dc8) returned ECC error
    mtd->read(0x847 bytes from 0xfe5e0c) returned ECC error
    mtd->read(0x44 bytes from 0xfe6654) returned ECC error
    mtd->read(0x58c bytes from 0xfe6698) returned ECC error
    mtd->read(0xcb2 bytes from 0xfe6c68) returned ECC error
    mtd->read(0xc59 bytes from 0xfe7960) returned ECC error
    mtd->read(0x44 bytes from 0xfe9204) returned ECC error
    mtd->read(0x36b bytes from 0xfe9718) returned ECC error
    mtd->read(0x44 bytes from 0xfe9a84) returned ECC error
    mtd->read(0x347 bytes from 0xfe9e7c) returned ECC error
    mtd->read(0x364 bytes from 0xfea680) returned ECC error
    mtd->read(0x366 bytes from 0xfeadcc) returned ECC error
    mtd->read(0x6fb bytes from 0xfeb178) returned ECC error
    mtd->read(0x7a9 bytes from 0xfeb8b8) returned ECC error
    mtd->read(0x80e bytes from 0xfec0a8) returned ECC error
    mtd->read(0x44 bytes from 0xfecc2c) returned ECC error
    mtd->read(0x4c0 bytes from 0xfecc70) returned ECC error
    mtd->read(0x44d bytes from 0xfed5b8) returned ECC error
    mtd->read(0x495 bytes from 0xfedee8) returned ECC error
    mtd->read(0x328 bytes from 0xfee7d0) returned ECC error
    mtd->read(0x69b bytes from 0xfeeb3c) returned ECC error
    mtd->read(0x44 bytes from 0xfef1d8) returned ECC error
    mtd->read(0x75f bytes from 0xfef21c) returned ECC error
    mtd->read(0x829 bytes from 0xfef9c0) returned ECC error
    mtd->read(0x660 bytes from 0xff0230) returned ECC error
    mtd->read(0x44 bytes from 0xff0fec) returned ECC error
    mtd->read(0x31a bytes from 0xff174c) returned ECC error
    mtd->read(0x3d8 bytes from 0x653428) returned ECC error
    mtd->read(0x2ac bytes from 0x652d54) returned ECC error
    mtd->read(0x44 bytes from 0x4f0180) returned ECC error
    mtd->read(0x98e bytes from 0x4f01c4) returned ECC error
    mtd->read(0x995 bytes from 0x4f0b98) returned ECC error
    mtd->read(0xa7c bytes from 0x4f1574) returned ECC error
    mtd->read(0x44 bytes from 0x4f1ff0) returned ECC error
    mtd->read(0xa45 bytes from 0x4f2034) returned ECC error
    mtd->read(0x9db bytes from 0x4f2ac0) returned ECC error
    mtd->read(0x999 bytes from 0x4f34e0) returned ECC error
    mtd->read(0xa47 bytes from 0x4f3ec0) returned ECC error
    mtd->read(0x8da bytes from 0x4f494c) returned ECC error
    mtd->read(0xa24 bytes from 0x4f526c) returned ECC error
    mtd->read(0x44 bytes from 0x4f5c90) returned ECC error
    mtd->read(0x9fb bytes from 0x4f5cd4) returned ECC error
    mtd->read(0xa35 bytes from 0x4f6714) returned ECC error
    mtd->read(0x983 bytes from 0x4f7190) returned ECC error
    mtd->read(0xa24 bytes from 0x4f7b58) returned ECC error
    mtd->read(0xa0c bytes from 0x4f85c0) returned ECC error
    mtd->read(0x44 bytes from 0x4f8fcc) returned ECC error
    mtd->read(0xa66 bytes from 0x4f9010) returned ECC error
    mtd->read(0x44 bytes from 0x4f9a78) returned ECC error
    mtd->read(0xab9 bytes from 0x4f9abc) returned ECC error
    mtd->read(0x9dd bytes from 0x4fa5bc) returned ECC error
    mtd->read(0xa45 bytes from 0x4fafe0) returned ECC error
    mtd->read(0xaa2 bytes from 0x4fba6c) returned ECC error
    mtd->read(0x961 bytes from 0x4fc554) returned ECC error
    mtd->read(0xb09 bytes from 0x4fcefc) returned ECC error
    mtd->read(0x44 bytes from 0x4fda08) returned ECC error
    mtd->read(0xa64 bytes from 0x4fda4c) returned ECC error
    mtd->read(0x74c bytes from 0x4fe4f4) returned ECC error
    mtd->read(0x83a bytes from 0x4fec84) returned ECC error
    mtd->read(0x44 bytes from 0xfe0000) returned ECC error
    mtd->read(0x83c bytes from 0xfe0280) returned ECC error
    mtd->read(0x44 bytes from 0xfe0abc) returned ECC error
    mtd->read(0x66e bytes from 0xfe0b00) returned ECC error
    mtd->read(0x9cd bytes from 0xfe11b4) returned ECC error
    mtd->read(0x9d5 bytes from 0xfe1bc8) returned ECC error
    mtd->read(0x9a1 bytes from 0xfe25e4) returned ECC error
    mtd->read(0xa10 bytes from 0xfe2fcc) returned ECC error
    mtd->read(0xa32 bytes from 0xfe3a20) returned ECC error
    mtd->read(0x44 bytes from 0xfe4454) returned ECC error
    mtd->read(0x878 bytes from 0xfe4498) returned ECC error
    mtd->read(0x44 bytes from 0xfe4d10) returned ECC error
    mtd->read(0x840 bytes from 0xfe4d54) returned ECC error
    mtd->read(0x7ed bytes from 0xfe55d8) returned ECC error
    mtd->read(0x820 bytes from 0x4edfe0) returned ECC error
    mtd->read(0x44 bytes from 0x4edfe0) returned ECC error
    mtd->read(0x44 bytes from 0x4edac8) returned ECC error
    mtd->read(0x49c bytes from 0x6af364) returned ECC error
    mtd->read(0x244 bytes from 0x6aedbc) returned ECC error
    mtd->read(0x178 bytes from 0x6ae688) returned ECC error
    mtd->read(0x8c bytes from 0x6adf74) returned ECC error
    mtd->read(0x50 bytes from 0x6ad7b0) returned ECC error
    mtd->read(0x16c bytes from 0x67a694) returned ECC error
    mtd->read(0x520 bytes from 0x66cae0) returned ECC error
    mtd->read(0x4dc bytes from 0x66c324) returned ECC error
    mtd->read(0x2d9 bytes from 0x6af000) returned ECC error
    mtd->read(0x5ba bytes from 0x6ae800) returned ECC error
    mtd->read(0x688 bytes from 0x6ae000) returned ECC error
    mtd->read(0x774 bytes from 0x6ad800) returned ECC error
    mtd->read(0x44 bytes from 0x67a694) returned ECC error
    mtd->read(0x44 bytes from 0x6ad7b0) returned ECC error
    mtd->read(0x780 bytes from 0x6ad7f4) returned ECC error
    mtd->read(0x6d0 bytes from 0x6adfb8) returned ECC error
    mtd->read(0x6ee bytes from 0x6ae6cc) returned ECC error
    mtd->read(0x44 bytes from 0x6aedbc) returned ECC error
    mtd->read(0x4d9 bytes from 0x6aee00) returned ECC error
    mtd->read(0x8c bytes from 0x729774) returned ECC error
    mtd->read(0x514 bytes from 0x7292ec) returned ECC error
    mtd->read(0x680 bytes from 0x728980) returned ECC error
    mtd->read(0x11c bytes from 0x67bee4) returned ECC error
    mtd->read(0x7f4 bytes from 0x67a80c) returned ECC error
    mtd->read(0x528 bytes from 0x6782d8) returned ECC error
    mtd->read(0x2f4 bytes from 0x66b50c) returned ECC error
    mtd->read(0x40 bytes from 0x6527c0) returned ECC error
    mtd->read(0x800 bytes from 0x652800) returned ECC error
    mtd->read(0x478 bytes from 0x652388) returned ECC error
    mtd->read(0x70c bytes from 0x6518f4) returned ECC error
    mtd->read(0x70c bytes from 0x6510f4) returned ECC error
    mtd->read(0x704 bytes from 0x6508fc) returned ECC error
    mtd->read(0x684 bytes from 0x65017c) returned ECC error
    mtd->read(0x5c8 bytes from 0x64fa38) returned ECC error
    mtd->read(0x19c bytes from 0x64f664) returned ECC error
    mtd->read(0x57c bytes from 0x64f284) returned ECC error
    mtd->read(0xd8 bytes from 0x64ef28) returned ECC error
    mtd->read(0x210 bytes from 0x64e5f0) returned ECC error
    mtd->read(0x4c bytes from 0x64dfb4) returned ECC error
    mtd->read(0x11c bytes from 0x64d6e4) returned ECC error
    mtd->read(0x330 bytes from 0x64ccd0) returned ECC error
    mtd->read(0x238 bytes from 0x64c5c8) returned ECC error
    mtd->read(0x558 bytes from 0x64c2a8) returned ECC error
    mtd->read(0x68 bytes from 0x64bf98) returned ECC error
    mtd->read(0x1f8 bytes from 0x64b608) returned ECC error
    mtd->read(0x2ac bytes from 0x64ad54) returned ECC error
    mtd->read(0xd0 bytes from 0x64a730) returned ECC error
    mtd->read(0x164 bytes from 0x649e9c) returned ECC error
    mtd->read(0x1c8 bytes from 0x649638) returned ECC error
    mtd->read(0x12c bytes from 0x648ed4) returned ECC error
    mtd->read(0x604 bytes from 0x6489fc) returned ECC error
    mtd->read(0x2f8 bytes from 0x648508) returned ECC error
    mtd->read(0x32c bytes from 0x647cd4) returned ECC error
    mtd->read(0x48c bytes from 0x647374) returned ECC error
    mtd->read(0x5a0 bytes from 0x646a60) returned ECC error
    mtd->read(0x6a0 bytes from 0x646160) returned ECC error
    mtd->read(0x7b0 bytes from 0x645850) returned ECC error
    mtd->read(0xb0 bytes from 0x644f50) returned ECC error
    mtd->read(0x1c8 bytes from 0x644638) returned ECC error
    mtd->read(0x2c8 bytes from 0x643d38) returned ECC error
    mtd->read(0x3c8 bytes from 0x643438) returned ECC error
    mtd->read(0x4dc bytes from 0x642b24) returned ECC error
    mtd->read(0x678 bytes from 0x642188) returned ECC error
    mtd->read(0x530 bytes from 0x6412d0) returned ECC error
    mtd->read(0x101 bytes from 0x652000) returned ECC error
    mtd->read(0xf4 bytes from 0x651800) returned ECC error
    mtd->read(0xf3 bytes from 0x651000) returned ECC error
    mtd->read(0xfc bytes from 0x650800) returned ECC error
    mtd->read(0x179 bytes from 0x650000) returned ECC error
    mtd->read(0x237 bytes from 0x64f800) returned ECC error
    mtd->read(0x281 bytes from 0x64f000) returned ECC error
    mtd->read(0x342 bytes from 0x64e800) returned ECC error
    mtd->read(0x326 bytes from 0x64e000) returned ECC error
    mtd->read(0x1f7 bytes from 0x64d800) returned ECC error
    mtd->read(0x167 bytes from 0x64d000) returned ECC error
    mtd->read(0x46 bytes from 0x64c800) returned ECC error
    mtd->read(0x2a8 bytes from 0x64c000) returned ECC error
    mtd->read(0x157 bytes from 0x64b800) returned ECC error
    mtd->read(0x8c bytes from 0x64b000) returned ECC error
    mtd->read(0x22e bytes from 0x64a800) returned ECC error
    mtd->read(0x24e bytes from 0x64a000) returned ECC error
    mtd->read(0x218 bytes from 0x649800) returned ECC error
    mtd->read(0x158 bytes from 0x649000) returned ECC error
    mtd->read(0x1fc bytes from 0x648800) returned ECC error
    mtd->read(0x145 bytes from 0x648000) returned ECC error
    mtd->read(0x4d4 bytes from 0x647800) returned ECC error
    mtd->read(0x373 bytes from 0x647000) returned ECC error
    mtd->read(0x25d bytes from 0x646800) returned ECC error
    mtd->read(0x15d bytes from 0x646000) returned ECC error
    mtd->read(0x84f bytes from 0x645000) returned ECC error
    mtd->read(0x74e bytes from 0x644800) returned ECC error
    mtd->read(0x636 bytes from 0x644000) returned ECC error
    mtd->read(0x535 bytes from 0x643800) returned ECC error
    mtd->read(0x437 bytes from 0x643000) returned ECC error
    mtd->read(0x2a6 bytes from 0x642800) returned ECC error
    mtd->read(0x3ea bytes from 0x641800) returned ECC error
    mtd->read(0x7c8 bytes from 0x67c000) returned ECC error
    mtd->read(0x123 bytes from 0x67b000) returned ECC error
    mtd->read(0x476 bytes from 0x678800) returned ECC error
    mtd->read(0x5bd bytes from 0x66b800) returned ECC error
    mtd->read(0x72c bytes from 0x729800) returned ECC error
    mtd->read(0x2a5 bytes from 0x729000) returned ECC error
    mtd->read(0x44 bytes from 0x6527c0) returned ECC error
    mtd->read(0x44 bytes from 0x728980) returned ECC error
    mtd->read(0x8e1 bytes from 0x7289c4) returned ECC error
    mtd->read(0x44 bytes from 0x7292ec) returned ECC error
    mtd->read(0x774 bytes from 0x7297b8) returned ECC error
    mtd->read(0x44 bytes from 0x66b50c) returned ECC error
    mtd->read(0x86d bytes from 0x66b550) returned ECC error
    mtd->read(0x44 bytes from 0x64bc48) returned ECC error
    mtd->read(0x2cc bytes from 0x64bfdc) returned ECC error
    mtd->read(0x23a bytes from 0x64c60c) returned ECC error
    mtd->read(0x453 bytes from 0x64cd14) returned ECC error
    mtd->read(0x2cf bytes from 0x64d728) returned ECC error
    mtd->read(0x32e bytes from 0x64dff8) returned ECC error
    mtd->read(0x50e bytes from 0x64e634) returned ECC error
    mtd->read(0x315 bytes from 0x64ef6c) returned ECC error
    mtd->read(0x44 bytes from 0x64f284) returned ECC error
    mtd->read(0x38f bytes from 0x64f6a8) returned ECC error
    mtd->read(0x6fd bytes from 0x64fa7c) returned ECC error
    mtd->read(0x73c bytes from 0x6501c0) returned ECC error
    mtd->read(0x7b3 bytes from 0x650940) returned ECC error
    mtd->read(0x7bc bytes from 0x651138) returned ECC error
    mtd->read(0x44 bytes from 0x6518f4) returned ECC error
    mtd->read(0x7c9 bytes from 0x651938) returned ECC error
    mtd->read(0x44 bytes from 0x6527c0) returned ECC error
    mtd->read(0x44 bytes from 0x6782d8) returned ECC error
    mtd->read(0x95a bytes from 0x67831c) returned ECC error
    mtd->read(0x44 bytes from 0x67a80c) returned ECC error
    mtd->read(0x8d3 bytes from 0x67a850) returned ECC error
    mtd->read(0x44 bytes from 0x67bee4) returned ECC error
    mtd->read(0x8a0 bytes from 0x67bf28) returned ECC error
    mtd->read(0x44 bytes from 0x6412d0) returned ECC error
    mtd->read(0x8d6 bytes from 0x641314) returned ECC error
    mtd->read(0x44 bytes from 0x642188) returned ECC error
    mtd->read(0x8da bytes from 0x6421cc) returned ECC error
    mtd->read(0x44 bytes from 0x642b24) returned ECC error
    mtd->read(0x8cf bytes from 0x642b68) returned ECC error
    mtd->read(0x8b9 bytes from 0x64347c) returned ECC error
    mtd->read(0x8ba bytes from 0x643d7c) returned ECC error
    mtd->read(0x8d2 bytes from 0x64467c) returned ECC error
    mtd->read(0x8bb bytes from 0x644f94) returned ECC error
    mtd->read(0x8c9 bytes from 0x645894) returned ECC error
    mtd->read(0x44 bytes from 0x646160) returned ECC error
    mtd->read(0x8b9 bytes from 0x6461a4) returned ECC error
    mtd->read(0x8cf bytes from 0x646aa4) returned ECC error
    mtd->read(0x91c bytes from 0x6473b8) returned ECC error
    mtd->read(0x42d bytes from 0x647d18) returned ECC error
    mtd->read(0x4b0 bytes from 0x64854c) returned ECC error
    mtd->read(0x44 bytes from 0x6489fc) returned ECC error
    mtd->read(0x240 bytes from 0x648f18) returned ECC error
    mtd->read(0x39c bytes from 0x64967c) returned ECC error
    mtd->read(0x36e bytes from 0x649ee0) returned ECC error
    mtd->read(0x2ba bytes from 0x64a774) returned ECC error
    mtd->read(0x2f4 bytes from 0x64ad98) returned ECC error
    mtd->read(0x30b bytes from 0x64b64c) returned ECC error
    mtd->read(0x44 bytes from 0x64b958) returned ECC error
    mtd->read(0x2a9 bytes from 0x64b99c) returned ECC error
    fixuboot2 version 2.2
    EEPROM MAC is: 28:c7:18:ff:01:8f string: 28:c7:18:ff:01:8f
    mtd->read(0x3d4 bytes from 0x73142c) returned ECC error
    mtd->read(0x1b8 bytes from 0x730e48) returned ECC error
    mtd->read(0x7c bytes from 0x730784) returned ECC error
    mtd->read(0x2d8 bytes from 0x72fd28) returned ECC error
    mtd->read(0x238 bytes from 0x72f5c8) returned ECC error
    mtd->read(0x1e0 bytes from 0x72ee20) returned ECC error
    mtd->read(0x134 bytes from 0x72e6cc) returned ECC error
    mtd->read(0x484 bytes from 0x66e37c) returned ECC error
    mtd->read(0x454 bytes from 0x66cbac) returned ECC error
    mtd->read(0x410 bytes from 0x66c3f0) returned ECC error
    mtd->read(0x3a2 bytes from 0x731000) returned ECC error
    mtd->read(0x645 bytes from 0x730800) returned ECC error
    mtd->read(0x784 bytes from 0x730000) returned ECC error
    mtd->read(0x527 bytes from 0x72f800) returned ECC error
    mtd->read(0x5c7 bytes from 0x72f000) returned ECC error
    mtd->read(0x61d bytes from 0x72e800) returned ECC error
    mtd->read(0x44 bytes from 0x66e37c) returned ECC error
    mtd->read(0x44 bytes from 0x72e6cc) returned ECC error
    mtd->read(0x70d bytes from 0x72e710) returned ECC error
    mtd->read(0x44 bytes from 0x72ee20) returned ECC error
    mtd->read(0x763 bytes from 0x72ee64) returned ECC error
    mtd->read(0x44 bytes from 0x72f5c8) returned ECC error
    mtd->read(0x71b bytes from 0x72f60c) returned ECC error
    mtd->read(0xa18 bytes from 0x72fd6c) returned ECC error
    mtd->read(0x67d bytes from 0x7307c8) returned ECC error
    mtd->read(0x516 bytes from 0x730e8c) returned ECC error
    mtd->read(0x1f0 bytes from 0x72e610) returned ECC error
    mtd->read(0x498 bytes from 0x66cb68) returned ECC error
    mtd->read(0x454 bytes from 0x66c3ac) returned ECC error
    mtd->read(0x44 bytes from 0x66cb68) returned ECC error
    mtd->read(0x44 bytes from 0x72e444) returned ECC error
    EEPROM MAC matches 'ethaddr' environment variable
    EEPROM MAC matches 'bootargs' environment variable
    EEPROM MAC (28:c7:18:ff:01:8f) does NOT match 'ifconfig' MAC address(00:50:C2:00:00:01
    ) before fix
    mtd->read(0x27c bytes from 0xfff584) returned ECC error
    mtd->read(0x504 bytes from 0xffeafc) returned ECC error
    mtd->read(0x734 bytes from 0xffe0cc) returned ECC error
    mtd->read(0x1c4 bytes from 0xffd63c) returned ECC error
    mtd->read(0x3cc bytes from 0xffcc34) returned ECC error
    mtd->read(0x6d8 bytes from 0xffc128) returned ECC error
    mtd->read(0x140 bytes from 0xffb6c0) returned ECC error
    mtd->read(0x340 bytes from 0xffacc0) returned ECC error
    mtd->read(0x5a4 bytes from 0xffa25c) returned ECC error
    mtd->read(0x7d4 bytes from 0xff982c) returned ECC error
    mtd->read(0x214 bytes from 0xff8dec) returned ECC error
    mtd->read(0x438 bytes from 0xff83c8) returned ECC error
    mtd->read(0x630 bytes from 0xff79d0) returned ECC error
    mtd->read(0x7dc bytes from 0xff7024) returned ECC error
    mtd->read(0x214 bytes from 0xff65ec) returned ECC error
    mtd->read(0x448 bytes from 0xff5bb8) returned ECC error
    mtd->read(0x73c bytes from 0xff50c4) returned ECC error
    mtd->read(0x150 bytes from 0xff46b0) returned ECC error
    mtd->read(0x378 bytes from 0xff3c88) returned ECC error
    mtd->read(0x4d0 bytes from 0xff3330) returned ECC error
    mtd->read(0x630 bytes from 0xff29d0) returned ECC error
    mtd->read(0x620 bytes from 0xff21e0) returned ECC error
    mtd->read(0x51c bytes from 0xff1ae4) returned ECC error
    mtd->read(0x770 bytes from 0xfd3090) returned ECC error
    mtd->read(0x6a8 bytes from 0xfd2958) returned ECC error
    mtd->read(0x520 bytes from 0xfd22e0) returned ECC error
    mtd->read(0x5b0 bytes from 0xfd1a50) returned ECC error
    mtd->read(0x578 bytes from 0xfd1288) returned ECC error
    mtd->read(0x514 bytes from 0xfd0aec) returned ECC error
    mtd->read(0xb4 bytes from 0xfd074c) returned ECC error
    mtd->read(0x148 bytes from 0xfcfeb8) returned ECC error
    mtd->read(0x280 bytes from 0xfcf580) returned ECC error
    mtd->read(0x41c bytes from 0xfcebe4) returned ECC error
    mtd->read(0x4c0 bytes from 0xfce340) returned ECC error
    mtd->read(0x4f4 bytes from 0xfcdb0c) returned ECC error
    mtd->read(0x5e0 bytes from 0xfcd220) returned ECC error
    mtd->read(0x18c bytes from 0xfcce74) returned ECC error
    mtd->read(0xd4 bytes from 0xfcc72c) returned ECC error
    mtd->read(0x10c bytes from 0xfcbef4) returned ECC error
    mtd->read(0x44 bytes from 0xfcb7bc) returned ECC error
    mtd->read(0x638 bytes from 0xfca9c8) returned ECC error
    mtd->read(0x4a4 bytes from 0xfc9b5c) returned ECC error
    mtd->read(0x1b4 bytes from 0xfc8e4c) returned ECC error
    mtd->read(0x464 bytes from 0xfc839c) returned ECC error
    mtd->read(0x1cc bytes from 0xfc7e34) returned ECC error
    mtd->read(0x284 bytes from 0xfc757c) returned ECC error
    mtd->read(0x2b8 bytes from 0xfc6d48) returned ECC error
    mtd->read(0x374 bytes from 0xfc648c) returned ECC error
    mtd->read(0x5f8 bytes from 0xfc5a08) returned ECC error
    mtd->read(0x44 bytes from 0xfc4fbc) returned ECC error
    mtd->read(0x220 bytes from 0xfc45e0) returned ECC error
    mtd->read(0x43c bytes from 0xfc3bc4) returned ECC error
    mtd->read(0x658 bytes from 0xfc31a8) returned ECC error
    mtd->read(0x538 bytes from 0xfc2ac8) returned ECC error
    mtd->read(0x5c4 bytes from 0xfc223c) returned ECC error
    mtd->read(0x760 bytes from 0xfc18a0) returned ECC error
    mtd->read(0x6e4 bytes from 0xfc111c) returned ECC error
    mtd->read(0x174 bytes from 0xfc068c) returned ECC error
    mtd->read(0x360 bytes from 0xf814a0) returned ECC error
    mtd->read(0x8d bytes from 0xfd3000) returned ECC error
    mtd->read(0x155 bytes from 0xfd2800) returned ECC error
    mtd->read(0x2e0 bytes from 0xfd2000) returned ECC error
    mtd->read(0x250 bytes from 0xfd1800) returned ECC error
    mtd->read(0x285 bytes from 0xfd1000) returned ECC error
    mtd->read(0x2eb bytes from 0xfd0800) returned ECC error
    mtd->read(0x36f bytes from 0xfd0000) returned ECC error
    mtd->read(0x205 bytes from 0xfcf800) returned ECC error
    mtd->read(0x153 bytes from 0xfcf000) returned ECC error
    mtd->read(0x103 bytes from 0xfce800) returned ECC error
    mtd->read(0x340 bytes from 0xfce000) returned ECC error
    mtd->read(0x30c bytes from 0xfcd800) returned ECC error
    mtd->read(0x21d bytes from 0xfcd000) returned ECC error
    mtd->read(0x2ca bytes from 0xfcc800) returned ECC error
    mtd->read(0x327 bytes from 0xfcc000) returned ECC error
    mtd->read(0x363 bytes from 0xfcb800) returned ECC error
    mtd->read(0x409 bytes from 0xfcb000) returned ECC error
    mtd->read(0x9c8 bytes from 0xfca000) returned ECC error
    mtd->read(0xb5a bytes from 0xfc9000) returned ECC error
    mtd->read(0x64b bytes from 0xfc8800) returned ECC error
    mtd->read(0x39b bytes from 0xfc8000) returned ECC error
    mtd->read(0x631 bytes from 0xfc7800) returned ECC error
    JFFS2 notice: (953) check_node_data: wrong data CRC in data node at 0x00fc757c: read 0xd1dcb131, calculated 0x5cf0572f.
    mtd->read(0x57a bytes from 0xfc7000) returned ECC error
    mtd->read(0x545 bytes from 0xfc6800) returned ECC error
    mtd->read(0x48a bytes from 0xfc6000) returned ECC error
    mtd->read(0xa08 bytes from 0xfc5000) returned ECC error
    mtd->read(0x7bc bytes from 0xfc4800) returned ECC error
    mtd->read(0x5e0 bytes from 0xfc4000) returned ECC error
    mtd->read(0x3c1 bytes from 0xfc3800) returned ECC error
    mtd->read(0x1a7 bytes from 0xfc3000) returned ECC error
    mtd->read(0x2c6 bytes from 0xfc2800) returned ECC error
    mtd->read(0x23a bytes from 0xfc2000) returned ECC error
    mtd->read(0x9d bytes from 0xfc1800) returned ECC error
    mtd->read(0x91b bytes from 0xfc0800) returned ECC error
    mtd->read(0x2f4 bytes from 0xfff800) returned ECC error
    mtd->read(0x583 bytes from 0xfff000) returned ECC error
    mtd->read(0x2fc bytes from 0xffe800) returned ECC error
    mtd->read(0x8cb bytes from 0xffd800) returned ECC error
    mtd->read(0x639 bytes from 0xffd000) returned ECC error
    mtd->read(0x432 bytes from 0xffc800) returned ECC error
    mtd->read(0x927 bytes from 0xffb800) returned ECC error
    mtd->read(0x6bf bytes from 0xffb000) returned ECC error
    mtd->read(0x4bf bytes from 0xffa800) returned ECC error
    mtd->read(0x25b bytes from 0xffa000) returned ECC error
    mtd->read(0x82b bytes from 0xff9000) returned ECC error
    mtd->read(0x5ea bytes from 0xff8800) returned ECC error
    mtd->read(0x3c8 bytes from 0xff8000) returned ECC error
    mtd->read(0x1ce bytes from 0xff7800) returned ECC error
    mtd->read(0x822 bytes from 0xff6800) returned ECC error
    mtd->read(0x5ec bytes from 0xff6000) returned ECC error
    Error: mismatch MACs or 'ip=dhcp' exists in bootcmd, will attempt to fix!
    mtd->read(0x148 bytes from 0x7286b8) returned ECC error
    mtd->read(0x3b8 bytes from 0xff5800) returned ECC error
    mtd->read(0x8c3 bytes from 0xff4800) returned ECC error
    mtd->read(0x44 bytes from 0x7286b8) returned ECC error
    sh: /opt/altierre/aap/sbin/aap_ctl: not found
    mtd->read(0x6b0 bytes from 0xff4000) returned ECC error
    mtd->read(0x486 bytes from 0xff3800) returned ECC error
    mtd->read(0x32d bytes from 0xff3000) returned ECC error
    mtd->read(0x1d0 bytes from 0xff2800) returned ECC error
    mtd->read(0x1dd bytes from 0xff2000) returned ECC error
    mtd->read(0x44 bytes from 0xf814a0) returned ECC error
    mtd->read(0x790 bytes from 0xfdf870) returned ECC error
    mtd->read(0x19c bytes from 0xfdee64) returned ECC error
    mtd->read(0x3f8 bytes from 0xfde408) returned ECC error
    mtd->read(0x600 bytes from 0xfdda00) returned ECC error
    mtd->read(0x30 bytes from 0xfdcfd0) returned ECC error
    mtd->read(0x800 bytes from 0xfdd000) returned ECC error
    mtd->read(0x20c bytes from 0xfdc5f4) returned ECC error
    mtd->read(0x21c bytes from 0xfdbde4) returned ECC error
    mtd->read(0x1cc bytes from 0xfdb634) returned ECC error
    mtd->read(0x288 bytes from 0xfdad78) returned ECC error
    mtd->read(0x364 bytes from 0xfda49c) returned ECC error
    mtd->read(0x630 bytes from 0xfd99d0) returned ECC error
    mtd->read(0x1d4 bytes from 0xfd8e2c) returned ECC error
    mtd->read(0x25c bytes from 0xfd85a4) returned ECC error
    mtd->read(0x510 bytes from 0xfd7af0) returned ECC error
    mtd->read(0x734 bytes from 0xfd70cc) returned ECC error
    mtd->read(0x1f8 bytes from 0xfd6608) returned ECC error
    mtd->read(0x3cc bytes from 0xfd5c34) returned ECC error
    mtd->read(0x5cc bytes from 0xfd5234) returned ECC error
    mtd->read(0x708 bytes from 0xfd48f8) returned ECC error
    mtd->read(0x9c bytes from 0xfd3f64) returned ECC error
    mtd->read(0x48 bytes from 0xfd37b8) returned ECC error
    mtd->read(0x598 bytes from 0xfa9a68) returned ECC error
    mtd->read(0x408 bytes from 0xfa93f8) returned ECC error
    mtd->read(0x484 bytes from 0xfa8b7c) returned ECC error
    mtd->read(0x3d0 bytes from 0xfa8430) returned ECC error
    mtd->read(0x378 bytes from 0xfa7c88) returned ECC error
    mtd->read(0x48 bytes from 0xfa77b8) returned ECC error
    mtd->read(0x80c bytes from 0xfa6ff4) returned ECC error
    mtd->read(0x2d0 bytes from 0xfa6d30) returned ECC error
    mtd->read(0x31c bytes from 0xfa64e4) returned ECC error
    mtd->read(0x47c bytes from 0xfa5b84) returned ECC error
    mtd->read(0x824 bytes from 0xfa57dc) returned ECC error
    mtd->read(0x358 bytes from 0xfa4ca8) returned ECC error
    mtd->read(0x31c bytes from 0xfa44e4) returned ECC error
    mtd->read(0x27c bytes from 0xfa3d84) returned ECC error
    mtd->read(0x494 bytes from 0xfa336c) returned ECC error
    mtd->read(0x2d4 bytes from 0xfa252c) returned ECC error
    mtd->read(0x7e4 bytes from 0xfa181c) returned ECC error
    mtd->read(0x2e8 bytes from 0xfa0d18) returned ECC error
    mtd->read(0x800 bytes from 0xfa0000) returned ECC error
    mtd->read(0x31c bytes from 0xf814e4) returned ECC error
    mtd->read(0x267 bytes from 0xfa9800) returned ECC error
    mtd->read(0x3f5 bytes from 0xfa9000) returned ECC error
    mtd->read(0x37b bytes from 0xfa8800) returned ECC error
    mtd->read(0xbc bytes from 0xfa8000) returned ECC error
    mtd->read(0x486 bytes from 0xfa7800) returned ECC error
    mtd->read(0x530 bytes from 0xfa6800) returned ECC error
    mtd->read(0x4e1 bytes from 0xfa6000) returned ECC error
    mtd->read(0x9d bytes from 0xfa5000) returned ECC error
    mtd->read(0x71 bytes from 0xfa4800) returned ECC error
    mtd->read(0x134 bytes from 0xfa4000) returned ECC error
    mtd->read(0x584 bytes from 0xfa3800) returned ECC error
    mtd->read(0xb6a bytes from 0xfa2800) returned ECC error
    mtd->read(0x52b bytes from 0xfa2000) returned ECC error
    mtd->read(0x81b bytes from 0xfa1000) returned ECC error
    mtd->read(0x8 bytes from 0xfa0800) returned ECC error
    mtd->read(0x870 bytes from 0xfdf000) returned ECC error
    mtd->read(0x662 bytes from 0xfde800) returned ECC error
    mtd->read(0x406 bytes from 0xfde000) returned ECC error
    mtd->read(0x1ff bytes from 0xfdd800) returned ECC error
    mtd->read(0x7ce bytes from 0xfdc800) returned ECC error
    mtd->read(0x5f4 bytes from 0xfdc000) returned ECC error
    mtd->read(0x5e3 bytes from 0xfdb800) returned ECC error
    mtd->read(0x634 bytes from 0xfdb000) returned ECC error
    mtd->read(0x577 bytes from 0xfda800) returned ECC error
    mtd->read(0x49a bytes from 0xfda000) returned ECC error
    mtd->read(0x9cf bytes from 0xfd9000) returned ECC error
    mtd->read(0x62a bytes from 0xfd8800) returned ECC error
    mtd->read(0x5a3 bytes from 0xfd8000) returned ECC error
    mtd->read(0x2ed bytes from 0xfd7800) returned ECC error
    mtd->read(0x8ca bytes from 0xfd6800) returned ECC error
    mtd->read(0x607 bytes from 0xfd6000) returned ECC error
    mtd->read(0x434 bytes from 0xfd5800) returned ECC error
    mtd->read(0x234 bytes from 0xfd5000) returned ECC error
    mtd->read(0x8f6 bytes from 0xfd4000) returned ECC error
    mtd->read(0x764 bytes from 0xfd3800) returned ECC error
    mtd->read(0x44 bytes from 0xf814e4) returned ECC error
    mtd->read(0xbc bytes from 0xfbf744) returned ECC error
    mtd->read(0x2ac bytes from 0xfbed54) returned ECC error
    mtd->read(0x3d4 bytes from 0xfbe42c) returned ECC error
    mtd->read(0x1d8 bytes from 0xfbde28) returned ECC error
    mtd->read(0x788 bytes from 0xfbd078) returned ECC error
    mtd->read(0x7a8 bytes from 0xfbc858) returned ECC error
    mtd->read(0x354 bytes from 0xfbc4ac) returned ECC error
    mtd->read(0x2a8 bytes from 0xfbbd58) returned ECC error
    mtd->read(0x2d0 bytes from 0xfbb530) returned ECC error
    mtd->read(0x228 bytes from 0xfbadd8) returned ECC error
    mtd->read(0x18c bytes from 0xfb9e74) returned ECC error
    mtd->read(0x7b8 bytes from 0xfb9048) returned ECC error
    mtd->read(0x49c bytes from 0xfb8364) returned ECC error
    mtd->read(0x474 bytes from 0xfb7b8c) returned ECC error
    mtd->read(0x3d8 bytes from 0xfb7428) returned ECC error
    mtd->read(0x548 bytes from 0xfb6ab8) returned ECC error
    mtd->read(0x750 bytes from 0xfb60b0) returned ECC error
    mtd->read(0x1bc bytes from 0xfb5644) returned ECC error
    mtd->read(0x3cc bytes from 0xfb4c34) returned ECC error
    mtd->read(0x5e0 bytes from 0xfb4220) returned ECC error
    mtd->read(0x7f0 bytes from 0xfb3810) returned ECC error
    mtd->read(0x754 bytes from 0xfb30ac) returned ECC error
    mtd->read(0x748 bytes from 0xfb28b8) returned ECC error
    mtd->read(0x7b0 bytes from 0xfb2050) returned ECC error
    mtd->read(0x100 bytes from 0xfb1700) returned ECC error
    mtd->read(0x400 bytes from 0xfb0c00) returned ECC error
    mtd->read(0x780 bytes from 0xfb0080) returned ECC error
    mtd->read(0xb8 bytes from 0xfaf748) returned ECC error
    mtd->read(0x37c bytes from 0xfaec84) returned ECC error
    mtd->read(0x570 bytes from 0xfae290) returned ECC error
    mtd->read(0x58 bytes from 0xfad7a8) returned ECC error
    mtd->read(0x244 bytes from 0xfacdbc) returned ECC error
    mtd->read(0x42c bytes from 0xfac3d4) returned ECC error
    mtd->read(0x60c bytes from 0xfab9f4) returned ECC error
    mtd->read(0x744 bytes from 0xfab0bc) returned ECC error
    mtd->read(0xd4 bytes from 0xfaa72c) returned ECC error
    mtd->read(0x820 bytes from 0xfa9fe0) returned ECC error
    mtd->read(0xa4 bytes from 0xfa9f5c) returned ECC error
    mtd->read(0x2d8 bytes from 0xf81528) returned ECC error
    mtd->read(0x3a0 bytes from 0xf80c60) returned ECC error
    mtd->read(0x280 bytes from 0xf80580) returned ECC error
    mtd->read(0x302 bytes from 0xf81000) returned ECC error
    mtd->read(0x45d bytes from 0xf80800) returned ECC error
    mtd->read(0x293 bytes from 0xfbf800) returned ECC error
    mtd->read(0xef bytes from 0xfbf000) returned ECC error
    mtd->read(0xb3 bytes from 0xfbe800) returned ECC error
    mtd->read(0x429 bytes from 0xfbe000) returned ECC error
    mtd->read(0x56 bytes from 0xfbd800) returned ECC error
    mtd->read(0x76 bytes from 0xfbd000) returned ECC error
    mtd->read(0x58 bytes from 0xfbc800) returned ECC error
    mtd->read(0x102 bytes from 0xfbc000) returned ECC error
    mtd->read(0xfe bytes from 0xfbb800) returned ECC error
    mtd->read(0x18e bytes from 0xfbb000) returned ECC error
    mtd->read(0xa1a bytes from 0xfba000) returned ECC error
    mtd->read(0x673 bytes from 0xfb9800) returned ECC error
    mtd->read(0x846 bytes from 0xfb8800) returned ECC error
    mtd->read(0x362 bytes from 0xfb8000) returned ECC error
    JFFS2 notice: (953) check_node_data: wrong data CRC in data node at 0x00fb7b8c: read 0xc3c2bafa, calculated 0x39eb3d5a.
    mtd->read(0x38c bytes from 0xfb7800) returned ECC error
    mtd->read(0x427 bytes from 0xfb7000) returned ECC error
    mtd->read(0x2b6 bytes from 0xfb6800) returned ECC error
    mtd->read(0x8ae bytes from 0xfb5800) returned ECC error
    mtd->read(0x642 bytes from 0xfb5000) returned ECC error
    mtd->read(0x431 bytes from 0xfb4800) returned ECC error
    mtd->read(0x220 bytes from 0xfb4000) returned ECC error
    mtd->read(0x10 bytes from 0xfb3800) returned ECC error
    mtd->read(0xaa bytes from 0xfb3000) returned ECC error
    mtd->read(0xb6 bytes from 0xfb2800) returned ECC error
    mtd->read(0x84d bytes from 0xfb1800) returned ECC error
    mtd->read(0x6fe bytes from 0xfb1000) returned ECC error
    mtd->read(0x3fe bytes from 0xfb0800) returned ECC error
    mtd->read(0x880 bytes from 0xfaf800) returned ECC error
    mtd->read(0x745 bytes from 0xfaf000) returned ECC error
    mtd->read(0x483 bytes from 0xfae800) returned ECC error
    mtd->read(0xa90 bytes from 0xfad800) returned ECC error
    JFFS2 notice: (953) check_node_data: wrong data CRC in data node at 0x00fad7a8: read 0x5a745a81, calculated 0x23b1dda.
    mtd->read(0x7a7 bytes from 0xfad000) returned ECC error
    mtd->read(0x5b9 bytes from 0xfac800) returned ECC error
    mtd->read(0x3d2 bytes from 0xfac000) returned ECC error
    mtd->read(0x1f2 bytes from 0xfab800) returned ECC error
    mtd->read(0x8b9 bytes from 0xfaa800) returned ECC error
    mtd->read(0x44 bytes from 0xf81528) returned ECC error
    mtd->read(0x200 bytes from 0xf81600) returned ECC error
    mtd->read(0x16c bytes from 0xf81694) returned ECC error
    mtd->read(0xd0 bytes from 0xf81730) returned ECC error
    eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1:00, id=7c0f1)
    Received vendorclass: <altierre-sync-002

    udhcpc (v1.16.0) started
    vendorclas = <altierre-sync-002

    Sending discover...
    PHY: 1:00 - Link is Up - 100/Full
    Sending discover...
    Sending select for 172.20.142.37...
    udhcpc: No vendor specific info returned.

    NTP Server info sent len: 4

    Got NTP server sent = 172.20.122.1

    Stopping any/all previously running ntpd threads

    mtd->read(0x6e4 bytes from 0x72811c) returned ECC error
    mtd->read(0x438 bytes from 0x7283c8) returned ECC error
    Starting up ntpd client to 172.20.122.1

    Successfully wrote /tmp/AAP4.cfg!

    Lease of 172.20.142.37 obtained, lease time 691200
    adding dns 172.20.120.120
    adding dns 172.20.120.220
    mtd->read(0x294 bytes from 0x65356c) returned ECC error
    mtd->read(0x250 bytes from 0x6535b0) returned ECC error
    mtd->read(0x44 bytes from 0x6535b0) returned ECC error
    mtd->read(0x344 bytes from 0x72acbc) returned ECC error
    mtd->read(0x44 bytes from 0x72acbc) returned ECC error
    mtd->read(0x788 bytes from 0x654078) returned ECC error
    mtd->read(0x6e8 bytes from 0x653918) returned ECC error
    mtd->read(0x5c4 bytes from 0x65323c) returned ECC error
    mtd->read(0x3ac bytes from 0x3dc454) returned ECC error
    mtd->read(0x5fc bytes from 0x3dba04) returned ECC error
    mtd->read(0x44 bytes from 0x654078) returned ECC error
    mtd->read(0x558 bytes from 0x7292a8) returned ECC error
    mtd->read(0x44 bytes from 0x7292a8) returned ECC error
    mtd->read(0x610 bytes from 0x72e1f0) returned ECC error
    mtd->read(0x814 bytes from 0x72dfec) returned ECC error
    mtd->read(0x810 bytes from 0x72d7f0) returned ECC error
    mtd->read(0x44 bytes from 0x72cfbc) returned ECC error
    mtd->read(0x4 bytes from 0x72d000) returned ECC error
    mtd->read(0x160 bytes from 0x72cea0) returned ECC error
    mtd->read(0x818 bytes from 0x72c7e8) returned ECC error
    mtd->read(0x40 bytes from 0x72bfc0) returned ECC error
    mtd->read(0x800 bytes from 0x72c000) returned ECC error
    mtd->read(0x40 bytes from 0x72b7c0) returned ECC error
    mtd->read(0x800 bytes from 0x72b800) returned ECC error
    mtd->read(0x34 bytes from 0x72afcc) returned ECC error
    mtd->read(0x800 bytes from 0x72b000) returned ECC error
    mtd->read(0x28 bytes from 0x72a7d8) returned ECC error
    mtd->read(0x800 bytes from 0x72a800) returned ECC error
    mtd->read(0x808 bytes from 0x729ff8) returned ECC error
    mtd->read(0x5ac bytes from 0x67d254) returned ECC error
    mtd->read(0x170 bytes from 0x67ce90) returned ECC error
    mtd->read(0x38 bytes from 0x67c7c8) returned ECC error
    mtd->read(0x800 bytes from 0x67c800) returned ECC error
    mtd->read(0x164 bytes from 0x67be9c) returned ECC error
    mtd->read(0x804 bytes from 0x67b7fc) returned ECC error
    mtd->read(0x80 bytes from 0x67a780) returned ECC error
    mtd->read(0x54 bytes from 0x679fac) returned ECC error
    mtd->read(0x810 bytes from 0x6797f0) returned ECC error
    mtd->read(0x2c bytes from 0x678fd4) returned ECC error
    mtd->read(0x800 bytes from 0x679000) returned ECC error
    mtd->read(0x570 bytes from 0x678290) returned ECC error
    mtd->read(0x81c bytes from 0x677fe4) returned ECC error
    mtd->read(0x818 bytes from 0x6777e8) returned ECC error
    mtd->read(0x50 bytes from 0x676fb0) returned ECC error
    mtd->read(0x30 bytes from 0x6767d0) returned ECC error
    mtd->read(0x800 bytes from 0x676800) returned ECC error
    mtd->read(0x36c bytes from 0x671c94) returned ECC error
    mtd->read(0x820 bytes from 0x6717e0) returned ECC error
    mtd->read(0x40 bytes from 0x670fc0) returned ECC error
    mtd->read(0x800 bytes from 0x671000) returned ECC error
    mtd->read(0x21c bytes from 0x6705e4) returned ECC error
    mtd->read(0x295 bytes from 0x670800) returned ECC error
    JFFS2 notice: (921) check_node_data: wrong data CRC in data node at 0x006705e4: read 0xfe8e4510, calculated 0x4bb8802c.
    mtd->read(0x264 bytes from 0x67059c) returned ECC error
    mtd->read(0x824 bytes from 0x66ffdc) returned ECC error
    mtd->read(0x38 bytes from 0x66f7c8) returned ECC error
    mtd->read(0x800 bytes from 0x66f800) returned ECC error
    mtd->read(0x44 bytes from 0x66efbc) returned ECC error
    mtd->read(0x36 bytes from 0x66f000) returned ECC error
    mtd->read(0xd8 bytes from 0x66ef28) returned ECC error
    mtd->read(0x814 bytes from 0x66e7ec) returned ECC error
    mtd->read(0x814 bytes from 0x66dfec) returned ECC error
    mtd->read(0x28 bytes from 0x66d7d8) returned ECC error
    mtd->read(0x800 bytes from 0x66d800) returned ECC error
    mtd->read(0x820 bytes from 0x66cfe0) returned ECC error
    mtd->read(0x28 bytes from 0x66c7d8) returned ECC error
    mtd->read(0x800 bytes from 0x66c800) returned ECC error
    mtd->read(0x30 bytes from 0x66bfd0) returned ECC error
    mtd->read(0x800 bytes from 0x66c000) returned ECC error
    mtd->read(0x33c bytes from 0x66b4c4) returned ECC error
    mtd->read(0x6c0 bytes from 0x642140) returned ECC error
    mtd->read(0x4c bytes from 0x641fb4) returned ECC error
    mtd->read(0x578 bytes from 0x641288) returned ECC error
    mtd->read(0x3f0 bytes from 0x640c10) returned ECC error
    mtd->read(0x64 bytes from 0x641000) returned ECC error
    mtd->read(0x438 bytes from 0x640bc8) returned ECC error
    mtd->read(0x824 bytes from 0x6407dc) returned ECC error
    mtd->read(0x1b bytes from 0x642000) returned ECC error
    mtd->read(0x47c bytes from 0x72e384) returned ECC error
    mtd->read(0x5ec bytes from 0x66ca14) returned ECC error
    mtd->read(0x5a8 bytes from 0x66c258) returned ECC error
    mtd->read(0x44 bytes from 0x66ca14) returned ECC error
    mtd->read(0x5b8 bytes from 0x734248) returned ECC error
    mtd->read(0x39c bytes from 0x733c64) returned ECC error
    mtd->read(0x260 bytes from 0x7335a0) returned ECC error
    mtd->read(0x4bc bytes from 0x732b44) returned ECC error
    mtd->read(0x41c bytes from 0x7323e4) returned ECC error
    mtd->read(0x3c4 bytes from 0x731c3c) returned ECC error
    mtd->read(0x318 bytes from 0x7314e8) returned ECC error
    mtd->read(0x6dc bytes from 0x67b124) returned ECC error
    mtd->read(0x38 bytes from 0x67a7c8) returned ECC error
    mtd->read(0x800 bytes from 0x67a800) returned ECC error
    mtd->read(0x4d0 bytes from 0x66eb30) returned ECC error
    mtd->read(0x410 bytes from 0x66cbf0) returned ECC error
    mtd->read(0x3cc bytes from 0x66c434) returned ECC error
    mtd->read(0x1be bytes from 0x734000) returned ECC error
    mtd->read(0x461 bytes from 0x733800) returned ECC error
    mtd->read(0x5a0 bytes from 0x733000) returned ECC error
    mtd->read(0x343 bytes from 0x732800) returned ECC error
    mtd->read(0x3e3 bytes from 0x732000) returned ECC error
    mtd->read(0x439 bytes from 0x731800) returned ECC error
    mtd->read(0x44 bytes from 0x67b124) returned ECC error
    mtd->read(0x454 bytes from 0x6bf3ac) returned ECC error
    mtd->read(0x304 bytes from 0x6becfc) returned ECC error
    mtd->read(0x78 bytes from 0x6be788) returned ECC error
    mtd->read(0x218 bytes from 0x6bdde8) returned ECC error
    mtd->read(0x98 bytes from 0x6bd768) returned ECC error
    mtd->read(0x284 bytes from 0x6bcd7c) returned ECC error
    mtd->read(0x79c bytes from 0x6bc064) returned ECC error
    mtd->read(0x134 bytes from 0x6bb6cc) returned ECC error
    mtd->read(0x3ac bytes from 0x6bac54) returned ECC error
    mtd->read(0x660 bytes from 0x6ba1a0) returned ECC error
    mtd->read(0x804 bytes from 0x6b97fc) returned ECC error
    mtd->read(0x72c bytes from 0x6b88d4) returned ECC error
    mtd->read(0x78c bytes from 0x6b8074) returned ECC error
    mtd->read(0x6f8 bytes from 0x6b7908) returned ECC error
    mtd->read(0x7f8 bytes from 0x6b7008) returned ECC error
    mtd->read(0x48 bytes from 0x6b67b8) returned ECC error
    mtd->read(0xe0 bytes from 0x6b5f20) returned ECC error
    mtd->read(0x1ac bytes from 0x6b5654) returned ECC error
    mtd->read(0x284 bytes from 0x6b4d7c) returned ECC error
    mtd->read(0x3d0 bytes from 0x6b4430) returned ECC error
    mtd->read(0x4cc bytes from 0x6b3b34) returned ECC error
    mtd->read(0x720 bytes from 0x6b30e0) returned ECC error
    mtd->read(0x14c bytes from 0x6b26b4) returned ECC error
    mtd->read(0x280 bytes from 0x6b1d80) returned ECC error
    mtd->read(0x384 bytes from 0x6b147c) returned ECC error
    mtd->read(0x530 bytes from 0x6b0ad0) returned ECC error
    mtd->read(0x588 bytes from 0x6b0278) returned ECC error
    mtd->read(0x578 bytes from 0x6afa88) returned ECC error
    mtd->read(0x3e4 bytes from 0x6af41c) returned ECC error
    mtd->read(0x210 bytes from 0x68cdf0) returned ECC error
    mtd->read(0x528 bytes from 0x68c2d8) returned ECC error
    mtd->read(0x410 bytes from 0x68bbf0) returned ECC error
    mtd->read(0x26c bytes from 0x68b594) returned ECC error
    mtd->read(0xb8 bytes from 0x68af48) returned ECC error
    mtd->read(0x5d4 bytes from 0x68a22c) returned ECC error
    mtd->read(0x3f8 bytes from 0x689c08) returned ECC error
    mtd->read(0x268 bytes from 0x689598) returned ECC error
    mtd->read(0x134 bytes from 0x688ecc) returned ECC error
    mtd->read(0xe4 bytes from 0x68871c) returned ECC error
    mtd->read(0x9c bytes from 0x687f64) returned ECC error
    mtd->read(0x30 bytes from 0x6877d0) returned ECC error
    mtd->read(0x800 bytes from 0x687800) returned ECC error
    mtd->read(0x2dc bytes from 0x686d24) returned ECC error
    mtd->read(0x2a8 bytes from 0x686558) returned ECC error
    mtd->read(0x3f4 bytes from 0x685c0c) returned ECC error
    mtd->read(0xf0 bytes from 0x685710) returned ECC error
    mtd->read(0x104 bytes from 0x684efc) returned ECC error
    mtd->read(0x198 bytes from 0x684668) returned ECC error
    mtd->read(0x760 bytes from 0x6838a0) returned ECC error
    mtd->read(0x704 bytes from 0x6830fc) returned ECC error
    mtd->read(0x6d4 bytes from 0x68292c) returned ECC error
    mtd->read(0x658 bytes from 0x6821a8) returned ECC error
    mtd->read(0x5ec bytes from 0x681a14) returned ECC error
    mtd->read(0x7bc bytes from 0x681044) returned ECC error
    mtd->read(0x290 bytes from 0x680570) returned ECC error
    mtd->read(0x534 bytes from 0x679acc) returned ECC error
    mtd->read(0x5a8 bytes from 0x66ca58) returned ECC error
    mtd->read(0x564 bytes from 0x66c29c) returned ECC error
    mtd->read(0x160 bytes from 0x68c800) returned ECC error
    mtd->read(0x2d6 bytes from 0x68c000) returned ECC error
    mtd->read(0x3f0 bytes from 0x68b800) returned ECC error
    mtd->read(0x594 bytes from 0x68b000) returned ECC error
    mtd->read(0xb5 bytes from 0x68a800) returned ECC error
    mtd->read(0x22a bytes from 0x68a000) returned ECC error
    mtd->read(0x406 bytes from 0x689800) returned ECC error
    mtd->read(0x596 bytes from 0x689000) returned ECC error
    mtd->read(0x6ca bytes from 0x688800) returned ECC error
    mtd->read(0x719 bytes from 0x688000) returned ECC error
    mtd->read(0x117 bytes from 0x687000) returned ECC error
    mtd->read(0x108 bytes from 0x686800) returned ECC error
    mtd->read(0x134 bytes from 0x686000) returned ECC error
    mtd->read(0x40b bytes from 0x685800) returned ECC error
    mtd->read(0x710 bytes from 0x685000) returned ECC error
    mtd->read(0x6fc bytes from 0x684800) returned ECC error
    mtd->read(0x9d bytes from 0x683800) returned ECC error
    mtd->read(0xfc bytes from 0x683000) returned ECC error
    mtd->read(0x12a bytes from 0x682800) returned ECC error
    mtd->read(0x1a7 bytes from 0x682000) returned ECC error
    mtd->read(0x211 bytes from 0x681800) returned ECC error
    mtd->read(0x841 bytes from 0x680800) returned ECC error
    mtd->read(0x17e bytes from 0x6bf800) returned ECC error
    mtd->read(0x3a9 bytes from 0x6bf000) returned ECC error
    mtd->read(0x4fc bytes from 0x6be800) returned ECC error
    mtd->read(0x366 bytes from 0x6be000) returned ECC error
    mtd->read(0x5e8 bytes from 0x6bd800) returned ECC error
    mtd->read(0x35b bytes from 0x6bd000) returned ECC error
    mtd->read(0x18c bytes from 0x6bc800) returned ECC error
    mtd->read(0x861 bytes from 0x6bb800) returned ECC error
    mtd->read(0x6cc bytes from 0x6bb000) returned ECC error
    mtd->read(0x452 bytes from 0x6ba800) returned ECC error
    mtd->read(0x1a0 bytes from 0x6ba000) returned ECC error
    mtd->read(0xd5 bytes from 0x6b9000) returned ECC error
    mtd->read(0xd2 bytes from 0x6b8800) returned ECC error
    mtd->read(0x74 bytes from 0x6b8000) returned ECC error
    mtd->read(0x108 bytes from 0x6b7800) returned ECC error
    mtd->read(0x808 bytes from 0x6b6800) returned ECC error
    mtd->read(0x7b6 bytes from 0x6b6000) returned ECC error
    mtd->read(0x71f bytes from 0x6b5800) returned ECC error
    mtd->read(0x652 bytes from 0x6b5000) returned ECC error
    mtd->read(0x57c bytes from 0x6b4800) returned ECC error
    mtd->read(0x42d bytes from 0x6b4000) returned ECC error
    mtd->read(0x333 bytes from 0x6b3800) returned ECC error
    mtd->read(0x8de bytes from 0x6b2800) returned ECC error
    mtd->read(0x6b1 bytes from 0x6b2000) returned ECC error
    mtd->read(0x57e bytes from 0x6b1800) returned ECC error
    mtd->read(0x47b bytes from 0x6b1000) returned ECC error
    mtd->read(0x2ce bytes from 0x6b0800) returned ECC error
    mtd->read(0x275 bytes from 0x6b0000) returned ECC error
    mtd->read(0x288 bytes from 0x6af800) returned ECC error
    mtd->read(0x44 bytes from 0x679acc) returned ECC error
    mtd->read(0xf8 bytes from 0x69f708) returned ECC error
    mtd->read(0x338 bytes from 0x69ecc8) returned ECC error
    mtd->read(0x5d4 bytes from 0x69e22c) returned ECC error
    mtd->read(0x58 bytes from 0x69d7a8) returned ECC error
    mtd->read(0x4c0 bytes from 0x69cb40) returned ECC error
    mtd->read(0xdc bytes from 0x69c724) returned ECC error
    mtd->read(0x4e4 bytes from 0x69bb1c) returned ECC error
    mtd->read(0xec bytes from 0x69b714) returned ECC error
    mtd->read(0x2e4 bytes from 0x69ad1c) returned ECC error
    mtd->read(0x3ec bytes from 0x69a414) returned ECC error
    mtd->read(0x538 bytes from 0x699ac8) returned ECC error
    mtd->read(0x7d4 bytes from 0x69902c) returned ECC error
    mtd->read(0x27c bytes from 0x698584) returned ECC error
    mtd->read(0x400 bytes from 0x697c00) returned ECC error
    mtd->read(0x398 bytes from 0x697468) returned ECC error
    mtd->read(0x344 bytes from 0x696cbc) returned ECC error
    mtd->read(0x400 bytes from 0x696400) returned ECC error
    mtd->read(0x39c bytes from 0x695c64) returned ECC error
    mtd->read(0x428 bytes from 0x6953d8) returned ECC error
    mtd->read(0x514 bytes from 0x694aec) returned ECC error
    mtd->read(0x534 bytes from 0x6942cc) returned ECC error
    mtd->read(0x64c bytes from 0x6939b4) returned ECC error
    mtd->read(0x6a8 bytes from 0x693158) returned ECC error
    mtd->read(0x7c0 bytes from 0x692840) returned ECC error
    mtd->read(0x104 bytes from 0x691efc) returned ECC error
    mtd->read(0x308 bytes from 0x6914f8) returned ECC error
    mtd->read(0x59c bytes from 0x690a64) returned ECC error
    mtd->read(0x7e0 bytes from 0x690020) returned ECC error
    mtd->read(0x78 bytes from 0x68f788) returned ECC error
    mtd->read(0x19c bytes from 0x68ee64) returned ECC error
    mtd->read(0x2e0 bytes from 0x68e520) returned ECC error
    mtd->read(0x41c bytes from 0x68dbe4) returned ECC error
    mtd->read(0x314 bytes from 0x68d4ec) returned ECC error
    mtd->read(0x150 bytes from 0x68ceb0) returned ECC error
    mtd->read(0x28c bytes from 0x67bd74) returned ECC error
    mtd->read(0x564 bytes from 0x66ca9c) returned ECC error
    mtd->read(0x520 bytes from 0x66c2e0) returned ECC error
    mtd->read(0x67c bytes from 0x66b184) returned ECC error
    mtd->read(0x1e4 bytes from 0x66ae1c) returned ECC error
    mtd->read(0x824 bytes from 0x66a7dc) returned ECC error
    mtd->read(0x540 bytes from 0x669ac0) returned ECC error
    mtd->read(0x390 bytes from 0x669470) returned ECC error
    mtd->read(0x1cc bytes from 0x668e34) returned ECC error
    mtd->read(0x3c bytes from 0x6687c4) returned ECC error
    mtd->read(0x800 bytes from 0x668800) returned ECC error
    mtd->read(0x4a4 bytes from 0x667b5c) returned ECC error
    mtd->read(0x2c8 bytes from 0x667538) returned ECC error
    mtd->read(0x120 bytes from 0x666ee0) returned ECC error
    mtd->read(0xb4 bytes from 0x66674c) returned ECC error
    mtd->read(0x78 bytes from 0x665f88) returned ECC error
    mtd->read(0x38 bytes from 0x6657c8) returned ECC error
    mtd->read(0x800 bytes from 0x665800) returned ECC error
    mtd->read(0x408 bytes from 0x664bf8) returned ECC error
    mtd->read(0x38 bytes from 0x6647c8) returned ECC error
    mtd->read(0x800 bytes from 0x664800) returned ECC error
    mtd->read(0x3a8 bytes from 0x663c58) returned ECC error
    mtd->read(0xa8 bytes from 0x663758) returned ECC error
    mtd->read(0xc4 bytes from 0x66273c) returned ECC error
    mtd->read(0x5c0 bytes from 0x661a40) returned ECC error
    mtd->read(0x59c bytes from 0x661264) returned ECC error
    mtd->read(0x3e8 bytes from 0x660c18) returned ECC error
    mtd->read(0x328 bytes from 0x6604d8) returned ECC error
    mtd->read(0xfb bytes from 0x66b000) returned ECC error
    mtd->read(0x12f bytes from 0x66a000) returned ECC error
    mtd->read(0x2bd bytes from 0x669800) returned ECC error
    mtd->read(0x46e bytes from 0x669000) returned ECC error
    mtd->read(0x18f bytes from 0x668000) returned ECC error
    mtd->read(0x35b bytes from 0x667800) returned ECC error
    mtd->read(0x537 bytes from 0x667000) returned ECC error
    mtd->read(0x6df bytes from 0x666800) returned ECC error
    mtd->read(0x74a bytes from 0x666000) returned ECC error
    mtd->read(0x1 bytes from 0x665000) returned ECC error
    mtd->read(0x41 bytes from 0x664000) returned ECC error
    mtd->read(0x458 bytes from 0x663800) returned ECC error
    mtd->read(0x815 bytes from 0x662800) returned ECC error
    mtd->read(0x94 bytes from 0x662000) returned ECC error
    mtd->read(0x23f bytes from 0x661800) returned ECC error
    mtd->read(0x264 bytes from 0x661000) returned ECC error
    mtd->read(0x415 bytes from 0x660800) returned ECC error
    mtd->read(0x29b bytes from 0x69f800) returned ECC error
    mtd->read(0x707 bytes from 0x69f000) returned ECC error
    mtd->read(0x4c8 bytes from 0x69e800) returned ECC error
    mtd->read(0xa2a bytes from 0x69d800) returned ECC error
    mtd->read(0xae bytes from 0x69d000) returned ECC error
    JFFS2 notice: (921) check_node_data: wrong data CRC in data node at 0x0069cb40: read 0xc07d11b4, calculated 0x30e7232e.
    mtd->read(0x340 bytes from 0x69c800) returned ECC error
    mtd->read(0x1a2 bytes from 0x69c000) returned ECC error
    mtd->read(0x31b bytes from 0x69b800) returned ECC error
    mtd->read(0x1c9 bytes from 0x69b000) returned ECC error
    mtd->read(0x51c bytes from 0x69a800) returned ECC error
    mtd->read(0x414 bytes from 0x69a000) returned ECC error
    mtd->read(0x2c8 bytes from 0x699800) returned ECC error
    mtd->read(0x829 bytes from 0x698800) returned ECC error
    mtd->read(0x581 bytes from 0x698000) returned ECC error
    mtd->read(0x3ff bytes from 0x697800) returned ECC error
    mtd->read(0x467 bytes from 0x697000) returned ECC error
    mtd->read(0x4ba bytes from 0x696800) returned ECC error
    mtd->read(0x3fe bytes from 0x696000) returned ECC error
    mtd->read(0x461 bytes from 0x695800) returned ECC error
    mtd->read(0x3d7 bytes from 0x695000) returned ECC error
    mtd->read(0x2ec bytes from 0x694800) returned ECC error
    mtd->read(0x2c9 bytes from 0x694000) returned ECC error
    mtd->read(0x1b4 bytes from 0x693800) returned ECC error
    mtd->read(0x156 bytes from 0x693000) returned ECC error
    mtd->read(0x83d bytes from 0x692000) returned ECC error
    mtd->read(0x6fb bytes from 0x691800) returned ECC error
    mtd->read(0x4f8 bytes from 0x691000) returned ECC error
    mtd->read(0x263 bytes from 0x690800) returned ECC error
    mtd->read(0x81f bytes from 0x68f800) returned ECC error
    mtd->read(0x785 bytes from 0x68f000) returned ECC error
    mtd->read(0x661 bytes from 0x68e800) returned ECC error
    mtd->read(0x51d bytes from 0x68e000) returned ECC error
    mtd->read(0x3e4 bytes from 0x68d800) returned ECC error
    mtd->read(0x4e9 bytes from 0x68d000) returned ECC error
    mtd->read(0x44 bytes from 0x67bd74) returned ECC error
    mtd->read(0x714 bytes from 0x6770ec) returned ECC error
    mtd->read(0x4a8 bytes from 0x676358) returned ECC error
    mtd->read(0x3d0 bytes from 0x675c30) returned ECC error
    mtd->read(0x1dc bytes from 0x675624) returned ECC error
    mtd->read(0x214 bytes from 0x674dec) returned ECC error
    mtd->read(0x3a0 bytes from 0x674460) returned ECC error
    mtd->read(0x654 bytes from 0x6739ac) returned ECC error
    mtd->read(0x9c bytes from 0x672f64) returned ECC error
    mtd->read(0x32c bytes from 0x6724d4) returned ECC error
    mtd->read(0x2ac bytes from 0x671d54) returned ECC error
    mtd->read(0x356 bytes from 0x676000) returned ECC error
    mtd->read(0x42e bytes from 0x675800) returned ECC error
    mtd->read(0x624 bytes from 0x675000) returned ECC error
    mtd->read(0x5eb bytes from 0x674800) returned ECC error
    mtd->read(0x460 bytes from 0x674000) returned ECC error
    mtd->read(0x9a9 bytes from 0x673000) returned ECC error
    mtd->read(0x761 bytes from 0x672800) returned ECC error
    mtd->read(0x4d4 bytes from 0x672000) returned ECC error
    mtd->read(0x44 bytes from 0x6770ec) returned ECC error
    mtd->read(0x6dc bytes from 0x678124) returned ECC error
    mtd->read(0x1f0 bytes from 0x640610) returned ECC error
    mtd->read(0x2c bytes from 0x72811c) returned ECC error
    EEPROM MAC matches 'ethaddr' environment variable after fix
    EEPROM MAC matches 'bootargs' environment variable after fix
    EEPROM MAC matches 'ifconfig' MAC address after fix
    All MAC addresses match and 'ip=dhcp' has been removed from bootcmd.
    Bringing up the JTAG FPGA driver
    Setting up OMAP GPIO pins for JTAG interfaceJTAG FPGA: registered with major=65 ...................
    Check the size of accessPoint.xsvf
    Program the FPGA with accessPoint.xsvf
    Download file /mnt/ap4_fs//accessPoint.xsvf to flash ...
    In xsvfInitialize
    Initialize done... programming FPGA...
    1000 2000 3000 4000 5000 6000 7000
    Done with while loop final count = 7536
    Completed the download - SUCCESS.
    Processing Time = 31.040 seconds
    Bringing up the EMIFA driver
    Beginning of setup_emifa
    The value of Register PINMUX5 is 0x11110118
    The value of Register PINMUX6 is 0x11111111
    The value of Register PINMUX7 is 0x11111111
    The value of Register PINMUX8 is 0x11111111
    The value of Register PINMUX9 is 0x11111111
    The value of Register PINMUX10 is 0x11111111
    The value of Register PINMUX11 is 0x11111111
    The value of Register PINMUX12 is 0x11111111
    AWCC: orig value: 0xf0000000 new value: 0xd0100000
    CE3CFG(for NAND): 0x80 CE4CFG(for FPGA): 0x3ffffffc
    CE4CFG: 0xc881a018: 0x3ffffffc --> 0x7ffffffd
    AFPGA: registered with major=63 ...................
    Initial setting AFPGA reset to HIGH
    Testing gpio 127 (connected to boot pin S0-0)
    Setting GPIO RESET to 1
    .. RESET done
    Bringing up the SPI driver and start the CC2500 clocks


    Beginning of main() **************************************************************************
    can't set max write speed hzspi mode: 0
    bits per word: 8
    max speed: 30000000 Hz (30000 KHz)
    Final setting AFPGA reset to LOW
    Testing gpio 127 (connected to boot pin S0-0)
    Setting GPIO RESET to 0
    .. RESET done
    mtd->read(0xf8 bytes from 0x69f708) returned ECC error
    mtd->read(0x338 bytes from 0x69ecc8) returned ECC error
    mtd->read(0x5d4 bytes from 0x69e22c) returned ECC error
    mtd->read(0x58 bytes from 0x69d7a8) returned ECC error
    mtd->read(0xdc bytes from 0x69c724) returned ECC error
    mtd->read(0x4e4 bytes from 0x69bb1c) returned ECC error
    mtd->read(0xec bytes from 0x69b714) returned ECC error
    mtd->read(0x2e4 bytes from 0x69ad1c) returned ECC error
    mtd->read(0x3ec bytes from 0x69a414) returned ECC error
    mtd->read(0x538 bytes from 0x699ac8) returned ECC error
    mtd->read(0x7d4 bytes from 0x69902c) returned ECC error
    mtd->read(0x27c bytes from 0x698584) returned ECC error
    mtd->read(0x400 bytes from 0x697c00) returned ECC error
    mtd->read(0x398 bytes from 0x697468) returned ECC error
    mtd->read(0x344 bytes from 0x696cbc) returned ECC error
    mtd->read(0x400 bytes from 0x696400) returned ECC error
    mtd->read(0x39c bytes from 0x695c64) returned ECC error
    mtd->read(0x428 bytes from 0x6953d8) returned ECC error
    mtd->read(0x514 bytes from 0x694aec) returned ECC error
    mtd->read(0x534 bytes from 0x6942cc) returned ECC error
    mtd->read(0x64c bytes from 0x6939b4) returned ECC error
    mtd->read(0x6a8 bytes from 0x693158) returned ECC error
    mtd->read(0x7c0 bytes from 0x692840) returned ECC error
    mtd->read(0x104 bytes from 0x691efc) returned ECC error
    mtd->read(0x308 bytes from 0x6914f8) returned ECC error
    mtd->read(0x59c bytes from 0x690a64) returned ECC error
    mtd->read(0x7e0 bytes from 0x690020) returned ECC error
    mtd->read(0x78 bytes from 0x68f788) returned ECC error
    mtd->read(0x19c bytes from 0x68ee64) returned ECC error
    mtd->read(0x2e0 bytes from 0x68e520) returned ECC error
    mtd->read(0x41c bytes from 0x68dbe4) returned ECC error
    mtd->read(0x314 bytes from 0x68d4ec) returned ECC error
    mtd->read(0x150 bytes from 0x68ceb0) returned ECC error
    mtd->read(0x28c bytes from 0x67bd74) returned ECC error
    mtd->read(0x1e4 bytes from 0x66ae1c) returned ECC error
    mtd->read(0x824 bytes from 0x66a7dc) returned ECC error
    mtd->read(0x540 bytes from 0x669ac0) returned ECC error
    mtd->read(0x390 bytes from 0x669470) returned ECC error
    mtd->read(0x1cc bytes from 0x668e34) returned ECC error
    mtd->read(0x3c bytes from 0x6687c4) returned ECC error
    mtd->read(0x800 bytes from 0x668800) returned ECC error
    mtd->read(0x4a4 bytes from 0x667b5c) returned ECC error
    mtd->read(0x2c8 bytes from 0x667538) returned ECC error
    mtd->read(0x120 bytes from 0x666ee0) returned ECC error
    mtd->read(0xb4 bytes from 0x66674c) returned ECC error
    mtd->read(0x78 bytes from 0x665f88) returned ECC error
    mtd->read(0x38 bytes from 0x6657c8) returned ECC error
    mtd->read(0x800 bytes from 0x665800) returned ECC error
    mtd->read(0x408 bytes from 0x664bf8) returned ECC error
    mtd->read(0x38 bytes from 0x6647c8) returned ECC error
    mtd->read(0x800 bytes from 0x664800) returned ECC error
    mtd->read(0x3a8 bytes from 0x663c58) returned ECC error
    mtd->read(0xa8 bytes from 0x663758) returned ECC error
    mtd->read(0xc4 bytes from 0x66273c) returned ECC error
    mtd->read(0x5c0 bytes from 0x661a40) returned ECC error
    mtd->read(0x59c bytes from 0x661264) returned ECC error
    mtd->read(0x3e8 bytes from 0x660c18) returned ECC error
    mtd->read(0x328 bytes from 0x6604d8) returned ECC error
    mtd->read(0x44 bytes from 0x67bd74) returned ECC error
    2018-05-02 18:46mtd->read(0x344 bytes from 0x72acbc) returned ECC error
    :15: Sync Server system booting.
    mtd->read(0x44 bytes from 0x72acbc) returned ECC error
    mtd->read(0x44 bytes from 0x72acbc) returned ECC error
    2018-05-02 18:46:15: Starting Sync Server ...
    Setting AFPGA reset to HIGH
    Testing gpio 127 (connected to boot pin S0-0)
    Setting GPIO RESET to 1
    .. RESET done
    mtd->read(0x34 bytes from 0x7281c0) returned ECC error
    mtd->read(0x438 bytes from 0x7283c8) returned ECC error
    mtd->read(0x1a0 bytes from 0x728728) returned ECC error
    Setting AFPGA reset to LOW
    Testing gpio 127 (connected to boot pin S0-0)
    Setting GPIO RESET to 0
    .. RESET done
    mtd->read(0x44 bytes from 0x68ceb0) returned ECC error
    mtd->read(0x5f5 bytes from 0x68cef4) returned ECC error
    mtd->read(0x6b4 bytes from 0x68d530) returned ECC error
    mtd->read(0x8f5 bytes from 0x68dc28) returned ECC error
    mtd->read(0x8fd bytes from 0x68e564) returned ECC error
    mtd->read(0x44 bytes from 0x69b714) returned ECC error
    mtd->read(0x3c3 bytes from 0x69b758) returned ECC error
    mtd->read(0x642 bytes from 0x69bb60) returned ECC error
    mtd->read(0x3d8 bytes from 0x69c768) returned ECC error
    mtd->read(0x44 bytes from 0x69d0b0) returned ECC error
    mtd->read(0xa3e bytes from 0x69d7ec) returned ECC error
    mtd->read(0xa58 bytes from 0x69e270) returned ECC error
    mtd->read(0x9fb bytes from 0x69ed0c) returned ECC error
    mtd->read(0x34f bytes from 0x69f74c) returned ECC error
    mtd->read(0x44 bytes from 0x660000) returned ECC error
    mtd->read(0x6f9 bytes from 0x66051c) returned ECC error
    mtd->read(0x608 bytes from 0x660c5c) returned ECC error
    mtd->read(0x797 bytes from 0x6612a8) returned ECC error
    mtd->read(0x610 bytes from 0x661a84) returned ECC error
    mtd->read(0x895 bytes from 0x662780) returned ECC error
    mtd->read(0x4bc bytes from 0x66379c) returned ECC error
    mtd->read(0x3a5 bytes from 0x663c9c) returned ECC error
    mtd->read(0x44 bytes from 0x6647c8) returned ECC error
    mtd->read(0x3c5 bytes from 0x664c3c) returned ECC error
    mtd->read(0x44 bytes from 0x6657c8) returned ECC error
    mtd->read(0x77e bytes from 0x665fcc) returned ECC error
    mtd->read(0x74f bytes from 0x666790) returned ECC error
    mtd->read(0x613 bytes from 0x666f24) returned ECC error
    mtd->read(0x5df bytes from 0x66757c) returned ECC error
    mtd->read(0x5ef bytes from 0x667ba0) returned ECC error
    mtd->read(0x44 bytes from 0x6687c4) returned ECC error
    mtd->read(0x44 bytes from 0x68ee64) returned ECC error
    mtd->read(0x8dd bytes from 0x68eea8) returned ECC error
    mtd->read(0x853 bytes from 0x68f7cc) returned ECC error
    mtd->read(0x9ff bytes from 0x690064) returned ECC error
    mtd->read(0xa50 bytes from 0x690aa8) returned ECC error
    mtd->read(0x9bf bytes from 0x69153c) returned ECC error
    mtd->read(0x8fd bytes from 0x691f40) returned ECC error
    mtd->read(0x8d2 bytes from 0x692884) returned ECC error
    mtd->read(0x818 bytes from 0x69319c) returned ECC error
    mtd->read(0x8d1 bytes from 0x6939f8) returned ECC error
    mtd->read(0x7dc bytes from 0x694310) returned ECC error
    mtd->read(0x8a7 bytes from 0x694b30) returned ECC error
    mtd->read(0x845 bytes from 0x69541c) returned ECC error
    mtd->read(0x756 bytes from 0x695ca8) returned ECC error
    mtd->read(0x876 bytes from 0x696444) returned ECC error
    mtd->read(0x767 bytes from 0x696d00) returned ECC error
    mtd->read(0x753 bytes from 0x6974ac) returned ECC error
    mtd->read(0x93d bytes from 0x697c44) returned ECC error
    mtd->read(0xa61 bytes from 0x6985c8) returned ECC error
    mtd->read(0xa58 bytes from 0x699070) returned ECC error
    mtd->read(0x908 bytes from 0x699b0c) returned ECC error
    mtd->read(0x8c4 bytes from 0x69a458) returned ECC error
    mtd->read(0x469 bytes from 0x69ad60) returned ECC error

    ./sync_server_bin Version: 10.12.9

    InitGlobals: product_id: 0xa init_done: 0 from_aap: 1
    Unknown parameter: transmission_ready_time=900
    enable_radio: DISABLED radio disabled sync flood
    File LogLevel.cfg instructed AP to disable radio
    From file: /tmp/AAP4.cfg new NTP server is: 172.20.122.1
    Watchdog circuit is not part of sync server.
    beginning of AAP2Main::Init
    2018-05-02 18:46:33: Configuring Sync Server ...
    mtd->read(0x928 bytes from 0x728980) returned ECC error

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org arago ttyS2

    Arago 2009.09 arago ttyS2

    arago login: Sync Server will now begin sending time sync packets to all connected APs!
    InitSyncServer: ProductId: 10 RevId: 3

    About to initialize Sync Server!

    Wed May 2 18:46:48 2018
    APSocket.Init(169.254.100.1:9999)

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org arago ttyS2

    Arago 2009.09 arago ttyS2

    arago login: root
    Password:
    Login incorrect

    arago login: Unable to connect... trying again in 10 seconds; check hostName and/or port number

  • Try changing
    CONFIG_SYS_NAND_U_BOOT_OFFS=

    In your defconfig file in the configs directory. Also, you have to modify the partition table in your.dts file in Linux.

    Steve K.
  • Hi Steve,

    So I ended up changing DEVICE_NAND_UBL_SEARCH_START_BLOCK in the UBL code which was hard-coded to 6 (which starts the search at 0xc0000) to 2 which NOW starts the search for U-Boot to start at 0x40000, which is where /dev/mtd2 starts at (as seen from Linux - see partition 3 above).

    So when UBL booted up, it DID correctly start searching from the CORRECT address:

    The system is going down for reboot NOW!
    INIT: Sending processes the TERM signal
    INIT: Sending processeStopping syslogd/klogd: stopped syslogd (pid 908) stopped klogd (pid 910) done Deconfiguring network interfaces... done.
    Sending all processes the TERM signal...
    Sending all processes the KILL signal...
    Unmounting remote filesystems...
    Deactivating swap...
    Unmounting local filesystems...
    mount: can't find /mnt/ram in /proc/mounts
    umount: none busy - remounted read-only
    mount: cannot read /proc/mounts: No such file or directory Rebooting... Restarting system.
    OMAP-L138 initialization passed!
    Booting TI User Boot Loader
    UBL Version: 1.65
    UBL Flashtype: NAND
    Starting NAND Copy...
    Valid magicnum BGG, 0x55424CBB, found in block 0x00000002. <------------ (I added the "BGG" string but it IS reading from block 2, previously it was reading from block 6)
    DONE
    Jumping to entry point at 0xC1080000.



    Also, updating UBL and U-Boot from Linux was a bit of a challenge. I had to install a device driver to 'unlock' all of the partitions, then had to use this tool called 'flashtool' so that when I wrote both the UBL and U-Boot partitions from Linux, I had to use the --dm365-rbl option that wrote each of those two partitions with DM365 RBL compatible OOB layout. (This is required for the OMAP L-138).

    Anyways, thanks for the help!
    Bill