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.

update ubi file from web error

Expert 1840 points

Dear,

I am working with dm8127, RDK V3.5. I am using the update firmware function from web interface and got error as below. The camera cannot boot.

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.
NetWinder Floating Point Emulator V0.97 (double precision)
PMU: registered new PMU device of type 0
omap-iommu omap-iommu.0: ducati registered
omap-iommu omap-iommu.1: sys registered
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 138
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
CMEMK module: built on Dec 5 2013 at 01:12:42
Reference Linux version 2.6.37
File /root/workdir/dm8127_35Board/ti_tools/linuxutils_3_23_00_01/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
allocated heap buffer 0xc7000000 of size 0x4000000
cmemk initialized
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
console [ttyO0] enabled, bootconsole disabled
console [ttyO0] enabled, bootconsole disabled
omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
brd: module loaded
loop: module loaded
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron )
Creating 8 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000020000 : "U-Boot-min"
0x000000020000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x0000006c0000 : "Kernel"
0x0000006c0000-0x000006fc0000 : "File System"
0x000006fc0000-0x000007bc0000 : "Data"
0x000007bc0000-0x00000b0c0000 : "File System2"
0x00000b0c0000-0x000010000000 : "Reserved"
UBI: attaching mtd6 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: max. sequence number: 0
UBI error: vtbl_check: volume table check failed: record 0, error 9
UBI error: ubi_init: cannot attach mtd6
davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
davinci_mdio davinci_mdio.0: detected phy mask ffffffde
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
davinci_mdio davinci_mdio.0: phy[5]: device 0:05, driver unknown
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
Linux video capture interface: v2.00
OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
notify_init : notify drivercreated for remote proc id 2 at physical Address 0xbfd00000
cm: Module associated with clock hdmi_i2s_fck didn't enable in 100000 tries
asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
asoc: HDMI-DAI-CODEC <-> hdmi-dai mapping ok
ALSA device list:
#0: TI8148 IPNC
nf_conntrack version 0.5.0 (1104 buckets, 4416 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
Bridge firewalling registered
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
omap_voltage_late_init: Voltage driver support not added
Power Management for TI81XX.
Detected MACID=84:7e:40:81:77:a
tps65911-rtc tps65911-rtc: setting system clock to 2012-11-09 12:51:55 UTC (1352465515)

CPSW phy found : id is : 0x4dd074
PHY 0:01 not found
IP-Config: Complete:
device=eth0, addr=192.168.0.85, mask=255.255.255.0, gw=192.168.0.1,
host=192.168.0.85, domain=, nis-domain=(none),
bootserver=192.168.0.86, rootserver=192.168.0.86, rootpath=
VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00 128 mtdblock0 (driver?)
1f01 2304 mtdblock1 (driver?)
1f02 128 mtdblock2 (driver?)
1f03 4352 mtdblock3 (driver?)
1f04 107520 mtdblock4 (driver?)
1f05 12288 mtdblock5 (driver?)
1f06 54272 mtdblock6 (driver?)
1f07 81152 mtdblock7 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Backtrace:
[<c004bf70>] (dump_backtrace+0x0/0x110) from [<c038e0f0>] (dump_stack+0x18/0x1c)
r6:00008000 r5:c4414000 r4:c04ff058 r3:60000013
[<c038e0d8>] (dump_stack+0x0/0x1c) from [<c038e150>] (panic+0x5c/0x178)
[<c038e0f4>] (panic+0x0/0x178) from [<c0009184>] (mount_block_root+0x1c4/0x204)
r3:00000000 r2:00000000 r1:c4425f78 r0:c04477d5
r7:c002d76c
[<c0008fc0>] (mount_block_root+0x0/0x204) from [<c000940c>] (prepare_namespace+0x94/0x1cc)
[<c0009378>] (prepare_namespace+0x0/0x1cc) from [<c0008d70>] (kernel_init+0x114/0x154)
r5:c002cd34 r4:c002cd34
[<c0008c5c>] (kernel_init+0x0/0x154) from [<c0072fc8>] (do_exit+0x0/0x5d0)
r5:c0008c5c r4:00000000

Please give me your advice!

  • BIOZ,

    Looks like the flashed image is corruption, or some corruption has occurred during flashing. Have you checked whether the updated image is proper or not?

  • hi,

    When I update the image, some time the BOA get the signal error caused by /tmp/nand access. I tried to check the update ultility and I think if we use nandwrite to flash UBIFS it will get the error relate to nand checking EC. During reading through internet, I figure out that using ubiformat is more proper. I tried to flash manually by console and successed with ubiformat and nanderaseall. Thanks

  • I am encountering this same error when trying to flash from SD card.

    I have done this step to boot from SD, but was never able to actually load the kernel from that boot:

    sudo ../mksd-ti814x.sh /dev/sdb MLO u-boot.bin uImage filesys_full_feature.tar.gz

    I also have moved the full feature .bin file from the Private/Binaries/DM8127/nand directory to the SD card.

    Here are the commands I've taken from the guides:

    nand scrub 0x006C0000 0xB940000
    mw.b 0x81000000 0xFF 0x24A0000 (last parameter was 0x5000000 in one guide)
    mmc rescan
    fatload mmc 0 0x81000000 ubifsfull8127.bin
    nand erase 0x006C0000 0xB940000
    nand write 0x81000000 0x006C0000 0x24A0000 (last parameter was 0x5000000 in one guide)

    And printenv, which I don't think I've modified:

    bootdelay=2
    baudrate=115200
    autoload=yes
    verify=yes
    bootfile=uImage
    ramdisk_file=ramdisk.gz
    loadaddr=0x81000000
    script_addr=0x80900000
    loadbootscript=fatload mmc 0 ${script_addr} boot.scr
    bootscript= echo Running bootscript from MMC/SD to set the ENV...; source ${script_addr}
    ethaddr=84:7e:40:6e:d7:bc
    ethact=cpsw
    filesize=2520000
    bootargs=console=ttyO0,115200n8 rootwait=1 rw ubi.mtd=4,2048 rootfstype=ubifs root=ubi0:rootfs init=/init mem=80M vram=4M notifyk.vpssm3_sva=0xBFD00000 ip=dhcp eth=00.0C.0C.02.38.7C cmemk.phys_start=0x85000000 cmemk.phys_end=0x89000000 cmemk.allowOverlap=1 earlyprintk
    bootcmd=ipnc_ff_init 1;nboot 0x81000000 0 0x280000; bootm
    stdin=serial
    stdout=serial
    stderr=serial

    I am a novice with embedded devices, so what am I doing wrong since I'm just following documentation?

    Thanks.