* at91sam9263ek, few issues
@ 2011-08-12 6:45 Nataraj S Narayan
2011-08-12 13:38 ` Nataraj S Narayan
0 siblings, 1 reply; 2+ messages in thread
From: Nataraj S Narayan @ 2011-08-12 6:45 UTC (permalink / raw)
To: barebox
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@Atmel at91sam9263-ek:/ eth0.serverip=192.168.0.110
barebox@Atmel at91sam9263-ek:/ eth0.ipaddr=192.168.0.105
barebox@Atmel at91sam9263-ek:/ saveenv
saving environment
could not open /dev/env0: Read-only file system
barebox@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@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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: at91sam9263ek, few issues
2011-08-12 6:45 at91sam9263ek, few issues Nataraj S Narayan
@ 2011-08-12 13:38 ` Nataraj S Narayan
0 siblings, 0 replies; 2+ messages in thread
From: Nataraj S Narayan @ 2011-08-12 13:38 UTC (permalink / raw)
To: barebox
Hi
Changed nand_chip_delay =50 from 20 in
./drivers/mtd/nand/atmel_nand.c, and presently getting:-
barebox@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
registering /dev/ubi0
UBI: attached mtd0 to ubi0
UBI: MTD device name: "nand0.root"
UBI: MTD device size: 254 MiB
UBI: number of good PEBs: 2028
UBI: number of bad PEBs: 5
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 0
UBI: available PEBs: 2004
UBI: total number of reserved PEBs: 24
UBI: number of PEBs reserved for bad PEB handling: 20
UBI: max/mean erase counter: 1/1
But further giving a
barebox@Atmel at91sam9263-ek:/ tftp rootfs1.ubif /dev/ubi0
TFTP from server 192.168.0.110 ('rootfs1.ubif' -> '/dev/ubi0')
write: No space left on device
tftp failed: error -28
Btw , which is the irc channel of Barebox?
regards
Nataraj
On Fri, Aug 12, 2011 at 6:45 AM, Nataraj S Narayan <natarajsn@gmail.com> wrote:
> 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@Atmel at91sam9263-ek:/ eth0.serverip=192.168.0.110
> barebox@Atmel at91sam9263-ek:/ eth0.ipaddr=192.168.0.105
>
> barebox@Atmel at91sam9263-ek:/ saveenv
> saving environment
> could not open /dev/env0: Read-only file system
>
> barebox@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@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
>
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-12 13:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-12 6:45 at91sam9263ek, few issues Nataraj S Narayan
2011-08-12 13:38 ` Nataraj S Narayan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox