at91sam9263ek, few issues

Nataraj S Narayan natarajsn at gmail.com
Fri Aug 12 02:45:13 EDT 2011


Hi

The following is the gist of issues seen,  namely

 1. unable to saveenv
 2.  ubiattach issue.

I am using NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung
NAND 256MiB 3,3V 8-bit).

Please help

regards

Nataraj

barebox at Atmel at91sam9263-ek:/  eth0.serverip=192.168.0.110
barebox at Atmel at91sam9263-ek:/ eth0.ipaddr=192.168.0.105

barebox at Atmel at91sam9263-ek:/ saveenv
saving environment
could not open /dev/env0: Read-only file system

barebox at Atmel at91sam9263-ek:/ printenv
locals:
ip=dhcp
kernel_loc=tftp
rootfs_loc=net
rootfs_type=ubifs
rootfsimage=root.ubifs
kernelimage_type=uimage
kernelimage=uImage
nand_device=atmel_nand
nand_parts=256k(barebox)ro,128k(bareboxenv),1536k(kernel),-(root)
rootfs_mtdblock_nand=3
autoboot_timeout=3
bootargs=console=ttyS0,115200
PS1=\e[1;32mbarebox@\e[1;31m\h:\w\e[0m
globals:
PATH=/env/bin




barebox at Atmel at91sam9263-ek:/ ubiattach dev/nand0.root
UBI: attaching mtd0 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB 0:0,
read 64 bytes
UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB
476:0, read 64 bytes
UBI error: ubi_io_read: error -74 while reading 64 bytes from PEB
489:0, read 64 bytes



More information about the barebox mailing list