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.
I am having an issue in booting the beagle board with UBIFS file system. I am able to boot xloader, u-boot and kernel from flash while mounting the UBIFS kernel hangs.
I am using beagle board with nand cape which uses MT29F4G16ABAD nand flash. its 512MiB with 16 bit interface.I have made changes in u-boot and kernel for pin mux and xloader,u-boot and kernel boots from flash.
only changes in kernel is pin mux .Do i need to make any other changes in kernel ?
below is the command used for creating the UBIFS
mkfs.ubifs -r ubifs_filesystem -F -o /tftpboot/ubifs.img -m 2048 -e 126976 -c 3993
ubinize -o /tftpboot/ubi.img -m 2048 -p 128KiB ubinize.cfg
Now ubi.img is created
-rw-r--r-- 1 root root 36950016 Nov 4 09:06 ubifs.img
-rw-rw-r-- 1 skottary skottary 38404096 Nov 4 09:07 ubi.img
from u-boot i am flashing the image to mtd7
tftp 0x82000000 ubi.img
nand erase 0x780000 0xF880000
nand write 0x82000000 0x780000 0x24a0000
After reset system hangs while mounting the file system
Below is the extract from nand data sheet.Do i need to take minimum io size as 1024 for 16 bit interface while creating ubi.img ?
• Organization
– Page size x8: 2112 bytes (2048 + 64 bytes)
– Page size x16: 1056 words (1024 + 32 words)
– Block size: 64 pages (128K + 4K bytes)
– Plane size: 2 planes x 2048 blocks per plane
– Device size: 4Gb: 4096 blocks; 8Gb: 8192 blocks
16Gb: 16,384 blocks
[ 1.030853] omap-gpmc omap-gpmc: GPMC revision 6.0
[ 1.035888] Registering NAND on CS0
[ 1.041564] registered am33xx_sr device
[ 1.047821] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.055114] omap2-nand driver initializing
[ 1.059722] ONFI flash detected
[ 1.063293] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xcc (Micron NAND 512MiB 3,3V 16-bit)
[ 1.072509] Creating 8 MTD partitions on "omap2-nand.0":
[ 1.078063] 0x000000000000-0x000000020000 : "SPL"
[ 1.084411] 0x000000020000-0x000000040000 : "SPL.backup1"
[ 1.091400] 0x000000040000-0x000000060000 : "SPL.backup2"
[ 1.098297] 0x000000060000-0x000000080000 : "SPL.backup3"
[ 1.105255] 0x000000080000-0x000000260000 : "U-Boot"
[ 1.112457] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 1.119201] 0x000000280000-0x000000780000 : "Kernel"
[ 1.127685] 0x000000780000-0x000020000000 : "File System"
[ 1.343597] OneNAND driver initializing
[ 1.348327] UBI: attaching mtd7 to ubi0
[ 1.352386] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 1.358917] UBI: logical eraseblock size: 126976 bytes
[ 1.364562] UBI: smallest flash I/O unit: 2048
[ 1.369445] UBI: VID header offset: 2048 (aligned 2048)
[ 1.375732] UBI: data offset: 4096
[ 3.372528] UBI: max. sequence number: 0
[ 3.377197] UBI error: ubi_read_volume_table: the layout volume was not found
[ 3.385803] UBI error: ubi_init: cannot attach mtd7
.......................
[ 3.878967] Detected MACID=0:18:31:8b:39:6e
[ 3.884826] cpsw: Detected MACID = 00:18:31:8b:39:6f
[ 3.891357] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 04:23:22 UTC (946700602)
[ 3.900726] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
[ 3.908111] Please append a correct "root=" boot option; here are the available partitions:
[ 3.916900] 1f00 128 mtdblock0 (driver?)
[ 3.922210] 1f01 128 mtdblock1 (driver?)
[ 3.927490] 1f02 128 mtdblock2 (driver?)
[ 3.932800] 1f03 128 mtdblock3 (driver?)
[ 3.938079] 1f04 1920 mtdblock4 (driver?)
[ 3.943389] 1f05 128 mtdblock5 (driver?)
[ 3.948669] 1f06 5120 mtdblock6 (driver?)
[ 3.953979] 1f07 516608 mtdblock7 (driver?)
[ 3.959259] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 3.967895] Backtrace:
[ 3.970489] [<c0017dbc>] (dump_backtrace+0x0/0x10c) from [<c03c92d4>] (dump_stack+0x18/0x1c)
[ 3.979339] r6:00008000 r5:c04849b0 r4:c05afa08 r3:c056f998
[ 3.985321] [<c03c92bc>] (dump_stack+0x0/0x1c) from [<c03c9510>] (panic+0x64/0x194)
[ 3.993377] [<c03c94ac>] (panic+0x0/0x194) from [<c0511c88>] (mount_block_root+0x174/0x228)
[ 4.002136] r3:00000004 r2:00000000 r1:cf01df68 r0:c04849b0
[ 4.008087] r7:c053ead8
[ 4.010742] [<c0511b14>] (mount_block_root+0x0/0x228) from [<c0511fa4>] (prepare_namespace+0x94/0x1c0)
[ 4.020507] [<c0511f10>] (prepare_namespace+0x0/0x1c0) from [<c05118fc>] (kernel_init+0xf4/0x120)
[ 4.029815] r5:c054ada4 r4:c054ada4
[ 4.033630] [<c0511808>] (kernel_init+0x0/0x120) from [<c00447a4>] (do_exit+0x0/0x65c)
[ 4.041931] r5:c0511808 r4:00000000
below is the u-boot env for nand boot
========================================================================================================================
U-Boot# print
arch=arm
baudrate=115200
board=am335x
board_name=A335BONE
board_rev=00A6
bootargs=console=ttyO0,115200n8 noinitrd ip=off mem=512M rootwait=1 rw ubi.mtd=7,2048 rootfstype=ubifs root=ubi0:rootfs
bootargs_defaults=setenv bootargs console=${console} ${optargs}
bootcmd=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Ru;
bootdelay=1
bootenv=uEnv.txt
bootfile=uImage
console=ttyO0,115200n8
cpu=armv7
dfu_alt_info_emmc=rawemmc mmc 0 3751936
dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw mmc 100 100;u-boot.img.raw mmc 300 3C0;u-boot.img fat 0 1;uEnv.txt fat 0 1
dfu_alt_info_nand=SPL part 0 1;SPL.backup1 part 0 2;SPL.backup2 part 0 3;SPL.backup3 part 0 4;u-boot part 0 5;kernel part 0 7;rootfs part 0 8
ethact=cpsw
ethaddr=00:18:31:8b:39:6e
fdt_high=0xffffffff
fdtaddr=0x80F80000
findfdt=if test $board_name = A335BONE; then setenv fdtfile am335x-bone.dtb; fi; if test $board_name = A33515BB; then setenv fdtfile am335x-evm.dtb; fi; if test $board_name = A335X_SK; then setenv fdtfilei
importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize
ip_method=none
kloadaddr=0x80007fc0
loadaddr=0x80200000
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}
loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz
loaduimage=ext2load mmc ${mmcdev}:2 ${kloadaddr} /boot/${bootfile}
loaduimagefat=fatload mmc ${mmcdev} ${kloadaddr} ${bootfile}
mmcargs=run bootargs_defaults;setenv bootargs ${bootargs} root=${mmcroot} rootfstype=${mmcrootfstype} ip=${ip_method}
mmcboot=echo Booting from mmc ...; run mmcargs; bootm ${kloadaddr}
mmcdev=0
mmcroot=/dev/mmcblk0p2 ro
mmcrootfstype=ext3 rootwait
mtdids=nand0=omap2-nand.0
mtdparts=mtdparts=omap2-nand.0:128k(SPL),128k(SPL.backup1),128k(SPL.backup2),128k(SPL.backup3),1920k(u-boot),128k(u-boot-env),5m(kernel),-(rootfs)
nand_erasesize=20000
nand_oobsize=40
nand_writesize=800
nandargs=setenv bootargs console=${console} ${optargs} root=${nandroot} rootfstype=${nandrootfstype}
nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} ${nandsrcaddr} ${nandimgsize}; bootm ${loadaddr}
nandimgsize=0x500000
nandroot=ubi0:rootfs rw ubi.mtd=7,2048
nandrootfstype=ubifs rootwait=1
nandsrcaddr=0x280000
netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
netboot=echo Booting from network ...; setenv autoload no; dhcp; tftp ${loadaddr} ${bootfile}; run netargs; bootm ${loadaddr}
nfsopts=nolock
ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype}
ramboot=echo Booting from ramdisk ...; run ramargs; bootm ${loadaddr}
ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M
ramrootfstype=ext2
rdaddr=0x81000000
rootpath=/export/rootfs
soc=am33xx
spiargs=setenv bootargs console=${console} ${optargs} root=${spiroot} rootfstype=${spirootfstype}
spiboot=echo Booting from spi ...; run spiargs; sf probe ${spibusno}:0; sf read ${loadaddr} ${spisrcaddr} ${spiimgsize}; bootm ${loadaddr}
spibusno=0
spiimgsize=0x362000
spiroot=/dev/mtdblock4 rw
spirootfstype=jffs2
spisrcaddr=0xe0000
static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
stderr=serial
stdin=serial
stdout=serial
usbnet_devaddr=00:18:31:8b:39:6e
vendor=ti
ver=U-Boot 2013.01.01-svn8676 (Oct 31 2013 - 14:30:44)
Environment size: 3785/131068 bytes
====================================================================================
Can somebody tell me what is the issue did i miss any step ?
After going through the few threads.
http://e2e.ti.com/support/arm/sitara_arm/f/791/p/268305/941327.aspx#941327
http://e2e.ti.com/support/arm/sitara_arm/f/791/t/244832.aspx
Applied below patch and leads to more crash
skottary@ubuntu:~/work/ibflex/board-support/linux-3.2.0-psp04.06.00.11$ svn diff drivers/mtd/nand/nand_base.c
Index: drivers/mtd/nand/nand_base.c
===================================================================
--- drivers/mtd/nand/nand_base.c (revision 8680)
+++ drivers/mtd/nand/nand_base.c (working copy)
@@ -3448,6 +3448,7 @@
break;
}
}
+// mtd->subpage_sft = 0;
chip->subpagesize = mtd->writesize >> mtd->subpage_sft;
/* Initialize state */
skottary@ubuntu:~/work/ibflex/board-support/linux-3.2.0-psp04.06.00.11$ vi drivers/mtd/nand/nand_base.c
skottary@ubuntu:~/work/ibflex/board-support/linux-3.2.0-psp04.06.00.11$ vi drivers/mtd/nand/nand_base.c
skottary@ubuntu:~/work/ibflex/board-support/linux-3.2.0-psp04.06.00.11$ svn diff drivers/mtd/nand/nand_base.c
Index: drivers/mtd/nand/nand_base.c
===================================================================
--- drivers/mtd/nand/nand_base.c (revision 8680)
+++ drivers/mtd/nand/nand_base.c (working copy)
@@ -3448,6 +3448,7 @@
break;
}
}
+ mtd->subpage_sft = 0;
chip->subpagesize = mtd->writesize >> mtd->subpage_sft;
/* Initialize state */
skottary@ubuntu:~/work/ibflex/board-support/linux-3.2.0-psp04.06.00.11$ svn diff arch/arm/mach-omap2/gpmc.c
Index: arch/arm/mach-omap2/gpmc.c
===================================================================
--- arch/arm/mach-omap2/gpmc.c (revision 8680)
+++ arch/arm/mach-omap2/gpmc.c (working copy)
@@ -931,7 +931,8 @@
bch_mod = 0;
bch_wrapmode = 0x09;
} else if (ecc_type == OMAP_ECC_BCH8_CODE_HW) {
- eccsize1 = 0x2; eccsize0 = 0x1A;
+ // eccsize1 = 0x2; eccsize0 = 0x1A;
+ eccsize1 = 0x10; eccsize0 = 0x00;
bch_mod = 1;
bch_wrapmode = 0x01;
} else
@@ -945,7 +946,8 @@
bch_mod = 0;
bch_wrapmode = 0x06;
} else if (ecc_type == OMAP_ECC_BCH8_CODE_HW) {
- eccsize1 = 0x00; eccsize0 = 0x00;
+ // eccsize1 = 0x00; eccsize0 = 0x00;
+ eccsize1 = 0x10; eccsize0 = 0x00;
bch_mod = 1;
bch_wrapmode = 0x01;
} else
skottary@ubuntu:~/work/ibflex/board-support/linux-3.2.0-psp04.06.00.11$ vi drivers/mtd/nand/omap2.c
skottary@ubuntu:~/work/ibflex/board-support/linux-3.2.0-psp04.06.00.11$ svn diff drivers/mtd/nand/omap2.c
Index: drivers/mtd/nand/omap2.c
===================================================================
--- drivers/mtd/nand/omap2.c (revision 8680)
+++ drivers/mtd/nand/omap2.c (working copy)
@@ -910,6 +910,9 @@
eccsize = BCH8_ECC_OOB_BYTES;
for (i = 0; i < blockCnt; i++) {
+ if (memcmp(read_ecc, calc_ecc, 13) == 0) {
+ continue;
+ }
eccflag = 0;
/* check if area is flashed */
for (j = 0; (j < eccsize) && (eccflag == 0); j++)
@@ -1216,7 +1219,7 @@
} else if (pdata->ecc_opt == OMAP_ECC_BCH8_CODE_HW) {
info->nand.ecc.bytes = OMAP_BCH8_ECC_SECT_BYTES;
info->nand.ecc.size = 512;
- info->nand.ecc.read_page = omap_read_page_bch;
+ //info->nand.ecc.read_page = omap_read_page_bch;
} else {
info->nand.ecc.bytes = 3;
info->nand.ecc.size = 512;
------------------------
[ 1.030792] omap-gpmc omap-gpmc: GPMC revision 6.0
[ 1.035827] Registering NAND on CS0
[ 1.041717] registered am33xx_sr device
[ 1.047760] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.055084] omap2-nand driver initializing
[ 1.059661] ONFI flash detected
[ 1.063232] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xcc (Micron NAND 512MiB 3,3V 16-bit)
[ 1.072418] Creating 8 MTD partitions on "omap2-nand.0":
[ 1.077972] 0x000000000000-0x000000020000 : "SPL"
[ 1.084350] 0x000000020000-0x000000040000 : "SPL.backup1"
[ 1.091369] 0x000000040000-0x000000060000 : "SPL.backup2"
[ 1.098297] 0x000000060000-0x000000080000 : "SPL.backup3"
[ 1.105255] 0x000000080000-0x000000260000 : "U-Boot"
[ 1.112396] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 1.119171] 0x000000280000-0x000000780000 : "Kernel"
[ 1.127624] 0x000000780000-0x000020000000 : "File System"
[ 1.343566] OneNAND driver initializing
[ 1.348297] UBI: attaching mtd7 to ubi0
[ 1.352355] UBI: physical eraseblock size: 131072 bytes (128 KiB)
[ 1.358886] UBI: logical eraseblock size: 126976 bytes
[ 1.364532] UBI: smallest flash I/O unit: 2048
[ 1.369415] UBI: VID header offset: 2048 (aligned 2048)
[ 1.375701] UBI: data offset: 4096
[ 2.124450] UBI error: process_eb: bad image sequence number 1917864831 in PEB 1988, expected 1419785363
[ 2.134429] slab error in kmem_cache_destroy(): cache `ubi_scan_leb_slab': Can't free all objects
[ 2.143768] Backtrace:
[ 2.146362] [<c0017dbc>] (dump_backtrace+0x0/0x10c) from [<c03c92d4>] (dump_stack+0x18/0x1c)
[ 2.155242] r6:000007c4 r5:00000000 r4:cf1840c0 r3:c056f998
[ 2.161224] [<c03c92bc>] (dump_stack+0x0/0x1c) from [<c00a6048>] (kmem_cache_destroy+0xac/0xfc)
[ 2.170379] [<c00a5f9c>] (kmem_cache_destroy+0x0/0xfc) from [<c0270abc>] (ubi_scan+0x180/0x960)
[ 2.179534] r4:ffffffea r3:cf2b1000
[ 2.183319] [<c027093c>] (ubi_scan+0x0/0x960) from [<c0269590>] (ubi_attach_mtd_dev+0x440/0xa70)
[ 2.192565] [<c0269150>] (ubi_attach_mtd_dev+0x0/0xa70) from [<c0531f64>] (ubi_init+0x1dc/0x2dc)
[ 2.201812] [<c0531d88>] (ubi_init+0x0/0x2dc) from [<c000876c>] (do_one_initcall+0x128/0x1a8)
[ 2.210754] [<c0008644>] (do_one_initcall+0x0/0x1a8) from [<c051188c>] (kernel_init+0x84/0x120)
[ 2.219940] [<c0511808>] (kernel_init+0x0/0x120) from [<c00447a4>] (do_exit+0x0/0x65c)
[ 2.228240] r5:c0511808 r4:00000000
[ 2.232635] UBI error: ubi_init: cannot attach mtd7
[ 2.238647] CAN device driver interface
[ 2.242675] CAN bus driver for Bosch D_CAN controller 1.0
[ 2.291351] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 2.297821] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
[ 2.305084] davinci_mdio.0: probed
[ 2.308624] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver SMSC LAN8710/LAN8720
[ 2.317535] usbcore: registered new interface driver cdc_ether
[ 2.323791] usbcore: registered new interface driver cdc_eem
[ 2.329864] usbcore: registered new interface driver dm9601
[ 2.335723] cdc_ncm: 04-Aug-2011
[ 2.339263] usbcore: registered new interface driver cdc_ncm
[ 2.345184] Initializing USB Mass Storage driver...
[ 2.350494] usbcore: registered new interface driver usb-storage
[ 2.356750] USB Mass Storage support registered.
[ 2.362060] mousedev: PS/2 mouse device common for all mice
[ 2.369232] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0
[ 2.376281] am33xx-rtc: already running
[ 2.380462] i2c /dev entries driver
[ 2.442352] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 2.525085] cpuidle: using governor ladder
[ 2.530059] cpuidle: using governor menu
[ 2.536895] omap4_aes_mod_init: loading AM33X AES driver
[ 2.542633] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
[ 2.549316] omap4_aes_probe: probe() done
[ 2.553863] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
[ 2.560028] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
[ 2.573394] omap4_sham_probe: probe() done
[ 2.581024] usbcore: registered new interface driver usbhid
[ 2.586883] usbhid: USB HID core driver
[ 2.591186] oprofile: hardware counters not available
[ 2.596496] oprofile: using timer interrupt.
[ 2.600982] nf_conntrack version 0.5.0 (3966 buckets, 15864 max)
[ 2.607910] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 2.613647] TCP cubic registered
[ 2.617004] NET: Registered protocol family 17
[ 2.621795] Bridge firewalling registered
[ 2.626007] can: controller area network core (rev 20090105 abi 8)
[ 2.632568] NET: Registered protocol family 29
[ 2.637237] can: raw protocol (rev 20090105)
[ 2.641693] can: broadcast manager protocol (rev 20090105 t)
[ 2.647674] Registering the dns_resolver key type
[ 2.652648] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 2.660644] ThumbEE CPU extension supported.
[ 2.665191] mux: Failed to setup hwmod io irq -22
[ 2.670959] Power Management for AM33XX family
[ 2.675872] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 2.682556] Copied the M3 firmware to UMEM
[ 2.686920] Cortex M3 Firmware Version = 0x181
[ 2.691772] smartreflex smartreflex: am33xx_sr_probe: Zero NValue read from EFUSE
[ 2.699584] smartreflex: probe of smartreflex failed with error -22
[ 2.706756] sr_init: platform driver register failed
[ 2.716247] clock: disabling unused clocks to save power
[ 2.738983] Detected MACID=0:18:31:8b:39:6e
[ 2.744812] cpsw: Detected MACID = 00:18:31:8b:39:6f
[ 2.751312] omap_rtc am33xx-rtc: setting system clock to 2000-01-01 05:05:01 UTC (946703101)
[ 2.760711] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
[ 2.768096] Please append a correct "root=" boot option; here are the available partitions:
[ 2.776885] 1f00 128 mtdblock0 (driver?)
[ 2.782196] 1f01 128 mtdblock1 (driver?)
[ 2.787475] 1f02 128 mtdblock2 (driver?)
[ 2.792785] 1f03 128 mtdblock3 (driver?)
[ 2.798065] 1f04 1920 mtdblock4 (driver?)
[ 2.803375] 1f05 128 mtdblock5 (driver?)
[ 2.808654] 1f06 5120 mtdblock6 (driver?)
[ 2.813964] 1f07 516608 mtdblock7 (driver?)
[ 2.819244] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 2.827880] Backtrace:
[ 2.830474] [<c0017dbc>] (dump_backtrace+0x0/0x10c) from [<c03c92d4>] (dump_stack+0x18/0x1c)
[ 2.839324] r6:00008000 r5:c04849b0 r4:c05afa08 r3:c056f998
[ 2.845306] [<c03c92bc>] (dump_stack+0x0/0x1c) from [<c03c9510>] (panic+0x64/0x194)
[ 2.853363] [<c03c94ac>] (panic+0x0/0x194) from [<c0511c88>] (mount_block_root+0x174/0x228)
[ 2.862121] r3:00000004 r2:00000000 r1:cf01df68 r0:c04849b0
[ 2.868072] r7:c053ead8
[ 2.870727] [<c0511b14>] (mount_block_root+0x0/0x228) from [<c0511fa4>] (prepare_namespace+0x94/0x1c0)
[ 2.880493] [<c0511f10>] (prepare_namespace+0x0/0x1c0) from [<c05118fc>] (kernel_init+0xf4/0x120)
[ 2.889801] r5:c054ada4 r4:c054ada4
[ 2.893615] [<c0511808>] (kernel_init+0x0/0x120) from [<c00447a4>] (do_exit+0x0/0x65c)
[ 2.901916] r5:c0511808 r4:00000000
Hi Sunil,
Would you please share the contents of your ubinize.cfg file?
Also can you please clarify the size you wish to use for your root file system? Judging by the number of LEBs you have provided to the mkfs.ubifs command (3993), I guess you are trying to use the whole NAND flash (or most of it) for the root file system. This may cause trouble if a big enough error is accumulated during the calculations of that size.
Please try to use 10% smaller file system, just to clarify if this is indeed the problem.
One more thing - did you reserve at least 1% of PEBs for bad block handling as shown in the link suggested by Biser?
Best regards,
Miroslav
Hi Miroslav
Yes,i was trying to use remaining flash for UBIFS.
1.So later i tried as suggested by you in one of the below thread filesystem size of 61MB (As my file system size is 38MB)
2.Also tried executing mkfs.ubifs and ubinize with sudo
Both the experiment did not solve the issue.
http://e2e.ti.com/support/arm/sitara_arm/f/791/p/268305/941327.aspx#941327
Below is the ubinize.cfg
[ubifs]
mode=ubi
image=ubifs.img
vol_id=0
vol_size=483MiB
vol_type=dynamic
vol_name=rootfs
vol_flags=autoresize
Do i need to make specific changes for 16 bit ?
Below is the extract from nand data sheet. Do i need to take minimum io size as 1024 for 16 bit interface while creating ubi.img ?
• Organization
– Page size x8: 2112 bytes (2048 + 64 bytes)
– Page size x16: 1056 words (1024 + 32 words)
– Block size: 64 pages (128K + 4K bytes)
– Plane size: 2 planes x 2048 blocks per plane
– Device size: 4Gb: 4096 blocks; 8Gb: 8192 blocks
16Gb: 16,384 blocks
Hi Biser
Yes i have read the link and based on that i have created ubi.img
Also i have tried the section tried attaching the partition and mount giving the same result "Mounting UBIFS image as a regular NAND partition" this was giving the same errors.
Hi,
SUNIL KOTTARY said:Do i need to make specific changes for 16 bit ?
Below is the extract from nand data sheet. Do i need to take minimum io size as 1024 for 16 bit interface while creating ubi.img ?
No, you don't have to change the min I/O size, since it is always the same in KB, regardless of whether you are using 8-bit or 16-bit interface.
Have you tried erasing the whole NAND flash, then writing the MLO, U-Boot, kernel and the smaller UBIFS?
Another suggestion: Is it possible to boot from an SD card and then flash the NAND from user space using mtd-utils?
Best regards,
Miroslav
ok I will try erasing the whole chip and re-flash the image and try to flash from userspace using mtd utils
Hi Miroslav
Thank you for the suggestion. After erasing the chip and re-flashing the images ( MLO, U-boot.img ,uImage and ubi.img) system is up without any issue.
But issue remains if i re-flash the only ubi.img ?.Do i need to use ubiformat command to re-flash the image ?
Hi,
I'm not exactly sure why this is happening when you are only erasing part of the NAND flash and I'm not really familiar with the U-Boot's "nand write" command implementation, so I can't comment on it, but it is suggested to flash UBIFS using ubiformat: http://www.linux-mtd.infradead.org/faq/ubifs.html#L_why_ubiformat
I also found this comment, which describes the same case as yours, but there isn't a meaningful explanation to why this is happening.
Best regards,
Miroslav
HI Miroslav
Figured out the issue .The issue some how copying and pasting to minicom has some issue.I had below command in notepad and I use to change the ubi.mtd to 8 or 9 and paste to u-boot command prompt.Some how u-boot does not like it some times ubi.mtd= (empty) this was the culprit for for not mounting the file system.
setenv mtdparts mtdparts=omap2-nand.0:128k(SPL),128k(SPL.backup1),128k(SPL.backup2),128k(SPL.backup3),1920k(u-boot),128k(u-boot-env),5m(kernel1),5m(kernel2),80m(rootfs1),-(rootfs2)
mtdparts
setenv nandsrcaddr 0x780000
setenv nandroot ubi0:rootfs rw ubi.mtd=8,2048
run nandboot
Hi Sunil,
I am working on beaglebone black custom board with Android JB4.2(kernel version 3.2). Board has been interfaced with 16 bit MT29F4G16ABADAWP for rootfs purpose. Board also has SPI NOR for MLO, uboot.img and uImage .
SPI NOR is working as expected. I could able to bring the board uboot and loaded uImage to RAM.
I am facing issues NAND.
I am creating the rootfs as follows.
1. sudo tar -xjvf out/target/product/am335xevm/rootfs.tar.bz2 -C android_rootfs/
2. sudo mkfs.ubifs -m 2048 -e 126976 -c 1960 -r android_rootfs/ system_ubifs.img
3. ubinize -o rootfs-var-som-am33.ubi.img -m 2048 -p 128KiB -s 2048 -O 2048 ubinize.cfg
When I load the image to NAND from u boot prompt using nand write I am getting errors like skipping bad blocks....
I attached the "nand bad" command output with this note.
Here is the printenv output.
ASHOK# printenv
arch=arm
baudrate=115200
board=ae_am335x
board_name=ae_am335x
bootargs_defaults=setenv bootargs console=${console} androidboot.console=ttyO0 ${optargs}
bootcmd=run spiboot;
bootdelay=1
bootenv=uEnv.txt
bootfile=uImage
console=ttyO0,115200n8
cpu=armv7
fdt_high=0xffffffff
fdtaddr=0x80F80000
findfdt=setenv fdtfile var-am335x.dtb
importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize
ip_method=none
kloadaddr=0x80007fc0
loadaddr=0x80200000
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenv}
loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz
loaduimage=ext2load mmc ${mmcdev}:2 ${kloadaddr} /boot/${bootfile}
loaduimagefat=fatload mmc ${mmcdev} ${kloadaddr} ${bootfile}
mmcargs=run bootargs_defaults;setenv bootargs ${bootargs} root=${mmcroot} rootfstype=${mmcrootfstype} ip=${ip_method}
mmcboot=echo Booting from mmc ...; run mmcargs; run loaduimagefat; bootm ${kloadaddr}
mmcdev=0
mmcroot=/dev/mmcblk0p2 rw
mmcrootfstype=ext4 rootwait init=/init
mtddevname=SPL
mtddevnum=0
mtdids=nand0=omap2-nand.0
mtdparts=mtdparts=omap2-nand.0:128k(SPL),128k(SPL.backup1),128k(SPL.backup2),128k(SPL.backup3),1920k(u-boot),128k(u-boot-env),5m(ke)
nand_erasesize=20000
nand_oobsize=40
nand_writesize=800
nandargs=run bootargs_defaults;setenv bootargs ${bootargs} root=${nandroot} init=/init rootfstype=${nandrootfstype}
nandboot=echo Booting from nand ...; run nandargs; nand read ${loadaddr} ${nandsrcaddr} ${nandimgsize}; bootm ${loadaddr}
nandimgsize=0x500000
nandroot=ubi0:rootfs rw ubi.mtd=7,2048
nandrootfstype=ubifs rootwait=1
nandsrcaddr=0x280000
netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
netboot=echo Booting from network ...; setenv autoload no; dhcp; tftp ${loadaddr} ${bootfile}; run netargs; bootm ${loadaddr}
nfsopts=nolock
partition=nand0,0
ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype}
ramboot=echo Booting from ramdisk ...; run ramargs; bootm ${loadaddr}
ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M
ramrootfstype=ext2
rdaddr=0x81000000
rootpath=/export/rootfs
soc=am33xx
spiargs=run nandargs
spiboot=echo Booting (ashok)from spi ...; run spiargs; sf probe ${spibusno}:0; sf read ${loadaddr} ${spisrcaddr} ${spiimgsize}; boo}
spibusno=0
spiimgsize=0x399250
spisrcaddr=0x220000
static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
stderr=serial
stdin=serial
stdout=serial
vendor=ti
ver=U-Boot 2013.01.01 (Sep 07 2015 - 19:46:33)
Environment size: 2694/131068 bytes
******************************************************************
ASHOK# mtdparts
device ashok nand0 <omap2-nand.0>, # parts = 8
#: name size offset mask_flags
0: SPL 0x00020000 0x00000000 0
1: SPL.backup1 0x00020000 0x00020000 0
2: SPL.backup2 0x00020000 0x00040000 0
3: SPL.backup3 0x00020000 0x00060000 0
4: u-boot 0x001e0000 0x00080000 0
5: u-boot-env 0x00020000 0x00260000 0
6: kernel 0x00500000 0x00280000 0
7: rootfs 0x1f880000 0x00780000 0
active partition: nand0,0 - (SPL) 0x00020000 @ 0x00000000
defaults:
mtdids : nand0=omap2-nand.0
mtdparts: mtdparts=omap2-nand.0:128k(SPL),128k(SPL.backup1),128k(SPL.backup2),128k(SPL.backup3),1920k(u-boot),128k(u-boot-env),5m(k)
ASHOK# nand info
Device 0: nand0, sector size 128 KiB
Page size 2048 b
OOB size 64 b
Erase size 131072 b
****************************************************************
Datasheet details:
Organization
– Page size x8: 2112 bytes (2048 + 64 bytes)
– Page size x16: 1056 words (1024 + 32 words)
– Block size: 64 pages (128K + 4K bytes)
– Plane size: 2 planes x 2048 blocks per plane
– Device size: 4Gb: 4096 blocks; 8Gb: 8192 blocks
16Gb: 16,384 blocks
ADVANCED_ENERGY# nand bad Device 0 bad blocks: 00000000 00020000 00040000 00060000 00080000 000a0000 000c0000 000e0000 00100000 00120000 00140000 00160000 00180000 001a0000 001c0000 001e0000 00200000 00220000 00240000 00260000 00280000 002a0000 002c0000 002e0000 00300000 00320000 00340000 00360000 00380000 003a0000 003c0000 003e0000 00400000 00420000 00440000 00460000 00480000 004a0000 004c0000 004e0000 00500000 00520000 00540000 00560000 00580000 005a0000 005c0000 005e0000 00600000 00620000 00640000 00660000 00680000 006a0000 006c0000 006e0000 00700000 00720000 00740000 00760000 00780000 007a0000 007c0000 007e0000 00800000 00820000 00840000 00860000 00880000 008a0000 008c0000 008e0000 00900000 00920000 00940000 00960000 00980000 009a0000 009c0000 009e0000 00a00000 00a20000 00a40000 00a60000 00a80000 00aa0000 00ac0000 00ae0000 00b00000 00b20000 00b40000 00b60000 00b80000 00ba0000 00bc0000 00be0000 00c00000 00c20000 00c40000 00c60000 00c80000 00ca0000 00cc0000 00ce0000 00d00000 00d20000 00d40000 00d60000 00d80000 00da0000 00dc0000 00de0000 00e00000 00e20000 00e40000 00e60000 00e80000 00ea0000 00ec0000 00ee0000 00f00000 00f20000 00f40000 00f60000 00f80000 00fa0000 00fc0000 00fe0000 01000000 01020000 01040000 01060000 01080000 010a0000 010c0000 010e0000 01100000 01120000 01140000 01160000 01180000 011a0000 011c0000 011e0000 01200000 01220000 01240000 01260000 01280000 012a0000 012c0000 012e0000 01300000 01320000 01340000 01360000 01380000 013a0000 013c0000 013e0000 01400000 01420000 01440000 01460000 01480000 014a0000 014c0000 014e0000 01500000 01520000 01540000 01560000 01580000 015a0000 015c0000 015e0000 01600000 01620000 01640000 01660000 01680000 016a0000 016c0000 016e0000 01700000 01720000 01740000 01760000 01780000 017a0000 017c0000 017e0000 01800000 01820000 01840000 01860000 01880000 018a0000 018c0000 018e0000 01900000 01920000 01940000 01960000 01980000 019a0000 019c0000 019e0000 01a00000 01a20000 01a40000 01a60000 01a80000 01aa0000 01ac0000 01ae0000 01b00000 01b20000 01b40000 01b60000 01b80000 01ba0000 01bc0000 01be0000 01c00000 01c20000 01c40000 01c60000 01c80000 01ca0000 01cc0000 01ce0000 01d00000 01d20000 01d40000 01d60000 01d80000 01da0000 01dc0000 01de0000 01e00000 01e20000 01e40000 01e60000 01e80000 01ea0000 01ec0000 01ee0000 01f00000 01f20000 01f40000 01f60000 01f80000 01fa0000 01fc0000 01fe0000 02000000 02020000 02040000 02060000 02080000 020a0000 020c0000 020e0000 02100000 02120000 02140000 02160000 02180000 021a0000 021c0000 021e0000 02200000 02220000 02240000 02260000 02280000 022a0000 022c0000 022e0000 02300000 02320000 02340000 02360000 02380000 023a0000 023c0000 023e0000 02400000 02420000 02440000 02460000 02480000 024a0000 024c0000 024e0000 02500000 02520000 02540000 02560000 02580000 025a0000 025c0000 025e0000 02600000 02620000 02640000 02660000 02680000 026a0000 026c0000 026e0000 02700000 02720000 02740000 02760000 02780000 027a0000 027c0000 027e0000 02800000 02820000 02840000 02860000 02880000 028a0000 028c0000 028e0000 02900000 02920000 02940000 02960000 02980000 029a0000 029c0000 029e0000 02a00000 02a20000 02a40000 02a60000 02a80000 02aa0000 02ac0000 02ae0000 02b00000 02b20000 02b40000 02b60000 02b80000 02ba0000 02bc0000 02be0000 02c00000 02c20000 02c40000 02c60000 02c80000 02ca0000 02cc0000 02ce0000 02d00000 02d20000 02d40000 02d60000 02d80000 02da0000 02dc0000 02de0000 02e00000 02e20000 02e40000 02e60000 02e80000 02ea0000 02ec0000 02ee0000 02f00000 02f20000 02f40000 02f60000 02f80000 02fa0000 02fc0000 02fe0000 03000000 03020000 03040000 03060000 03080000 030a0000 030c0000 030e0000 03100000 03120000 03140000 03160000 03180000 031a0000 031c0000 031e0000 03200000 03220000 03240000 03260000 03280000 032a0000 032c0000 032e0000 03300000 03320000 03340000 03360000 03380000 033a0000 033c0000 033e0000 03400000 03420000 03440000 03460000 03480000 034a0000 034c0000 034e0000 03500000 03520000 03540000 03560000 03580000 035a0000 035c0000 035e0000 03600000 03620000 03640000 03660000 03680000 036a0000 036c0000 036e0000 03700000 03720000 03740000 03760000 03780000 037a0000 037c0000 037e0000 03800000 03820000 03840000 03860000 03880000 038a0000 038c0000 038e0000 03900000 03920000 03940000 03960000 03980000 039a0000 039c0000 039e0000 03a00000 03a20000 03a40000 03a60000 03a80000 03aa0000 03ac0000 03ae0000 03b00000 03b20000 03b40000 03b60000 03b80000 03ba0000 03bc0000 03be0000 03c00000 03c20000 03c40000 03c60000 03c80000 03ca0000 03cc0000 03ce0000 03d00000 03d20000 03d40000 03d60000 03d80000 03da0000 03dc0000 03de0000 03e00000 03e20000 03e40000 03e60000 03e80000 03ea0000 03ec0000 03ee0000 03f00000 03f20000 03f40000 03f60000 03f80000 03fa0000 03fc0000 03fe0000 04000000 04020000 04040000 04060000 04080000 040a0000 040c0000 040e0000 04100000 04120000 04140000 04160000 04180000 041a0000 041c0000 041e0000 04200000 04220000 04240000 04260000 04280000 042a0000 042c0000 042e0000 04300000 04320000 04340000 04360000 04380000 043a0000 043c0000 043e0000 04400000 04420000 04440000 04460000 04480000 044a0000 044c0000 044e0000 04500000 04520000 04540000 04560000 04580000 045a0000 045c0000 045e0000 04600000 04620000 04640000 04660000 04680000 046a0000 046c0000 046e0000 04700000 04720000 04740000 04760000 04780000 047a0000 047c0000 047e0000 04800000 04820000 04840000 04860000 04880000 048a0000 048c0000 048e0000 04900000 04920000 04940000 04960000 04980000 049a0000 049c0000 049e0000 04a00000 04a20000 04a40000 04a60000 04a80000 04aa0000 04ac0000 04ae0000 04b00000 04b20000 04b40000 04b60000 04b80000 04ba0000 04bc0000 04be0000 04c00000 04c20000 04c40000 04c60000 04c80000 04ca0000 04cc0000 04ce0000 04d00000 04d20000 04d40000 04d60000 04d80000 04da0000 04dc0000 04de0000 04e00000 04e20000 04e40000 04e60000 04e80000 04ea0000 04ec0000 04ee0000 04f00000 04f20000 04f40000 04f60000 04f80000 04fa0000 04fc0000 04fe0000 05000000 05020000 05040000 05060000 05080000 050a0000 050c0000 050e0000 05100000 05120000 05140000 05160000 05180000 051a0000 051c0000 051e0000 05200000 05220000 05240000 05260000 05280000 052a0000 052c0000 052e0000 05300000 05320000 05340000 05360000 05380000 053a0000 053c0000 053e0000 05400000 05420000 05440000 05460000 05480000 054a0000 054c0000 054e0000 05500000 05520000 05540000 05560000 05580000 055a0000 055c0000 055e0000 05600000 05620000 05640000 05660000 05680000 056a0000 056c0000 056e0000 05700000 05720000 05740000 05760000 05780000 057a0000 057c0000 057e0000 05800000 05820000 05840000 05860000 05880000 058a0000 058c0000 058e0000 05900000 05920000 05940000 05960000 05980000 059a0000 059c0000 059e0000 05a00000 05a20000 05a40000 05a60000 05a80000 05aa0000 05ac0000 05ae0000 05b00000 05b20000 05b40000 05b60000 05b80000 05ba0000 05bc0000 05be0000 05c00000 05c20000 05c40000 05c60000 05c80000 05ca0000 05cc0000 05ce0000 05d00000 05d20000 05d40000 05d60000 05d80000 05da0000 05dc0000 05de0000 05e00000 05e20000 05e40000 05e60000 05e80000 05ea0000 05ec0000 05ee0000 05f00000 05f20000 05f40000 05f60000 05f80000 05fa0000 05fc0000 05fe0000 06000000 06020000 06040000 06060000 06080000 060a0000 060c0000 060e0000 06100000 06120000 06140000 06160000 06180000 061a0000 061c0000 061e0000 06200000 06220000 06240000 06260000 06280000 062a0000 062c0000 062e0000 06300000 06320000 06340000 06360000 06380000 063a0000 063c0000 063e0000 06400000 06420000 06440000 06460000 06480000 064a0000 064c0000 064e0000 06500000 06520000 06540000 06560000 06580000 065a0000 065c0000 065e0000 06600000 06620000 06640000 06660000 06680000 066a0000 066c0000 066e0000 06700000 06720000 06740000 06760000 06780000 067a0000 067c0000 067e0000 06800000 06820000 06840000 06860000 06880000 068a0000 068c0000 068e0000 06900000 06920000 06940000 06960000 06980000 069a0000 069c0000 069e0000 06a00000 06a20000 06a40000 06a60000 06a80000 06aa0000 06ac0000 06ae0000 06b00000 06b20000 06b40000 06b60000 06b80000 06ba0000 06bc0000 06be0000 06c00000 06c20000 06c40000 06c60000 06c80000 06ca0000 06cc0000 06ce0000 06d00000 06d20000 06d40000 06d60000 06d80000 06da0000 06dc0000 06de0000 06e00000 06e20000 06e40000 06e60000 06e80000 06ea0000 06ec0000 06ee0000 06f00000 06f20000 06f40000 06f60000 06f80000 06fa0000 06fc0000 06fe0000 07000000 07020000 07040000 07060000 07080000 070a0000 070c0000 070e0000 07100000 07120000 07140000 07160000 07180000 071a0000 071c0000 071e0000 07200000 07220000 07240000 07260000 07280000 072a0000 072c0000 072e0000 07300000 07320000 07340000 07360000 07380000 073a0000 073c0000 073e0000 07400000 07420000 07440000 07460000 07480000 074a0000 074c0000 074e0000 07500000 07520000 07540000 07560000 07580000 075a0000 075c0000 075e0000 07600000 07620000 07640000 07660000 07680000 076a0000 076c0000 076e0000 07700000 07720000 07740000 07760000 07780000 077a0000 077c0000 077e0000 07800000 07820000 07840000 07860000 07880000 078a0000 078c0000 078e0000 07900000 07920000 07940000 07960000 07980000 079a0000 079c0000 079e0000 07a00000 07a20000 07a40000 07a60000 07a80000 07aa0000 07ac0000 07ae0000 07b00000 07b20000 07b40000 07b60000 07b80000 07ba0000 07bc0000 07be0000 07c00000 07c20000 07c40000 07c60000 07c80000 07ca0000 07cc0000 07ce0000 07d00000 07d20000 07d40000 07d60000 07d80000 07da0000 07dc0000 07de0000 07e00000 07e20000 07e40000 07e60000 07e80000 07ea0000 07ec0000 07ee0000 07f00000 07f20000 07f40000 07f60000 07f80000 07fa0000 07fc0000 07fe0000 08000000 08020000 08040000 08060000 08080000 080a0000 080c0000 080e0000 08100000 08120000 08140000 08160000 08180000 081a0000 081c0000 081e0000 08200000 08220000 08240000 08260000 08280000 082a0000 082c0000 082e0000 08300000 08320000 08340000 08360000 08380000 083a0000 083c0000 083e0000 08400000 08420000 08440000 08460000 08480000 084a0000 084c0000 084e0000 08500000 08520000 08540000 08560000 08580000 085a0000 085c0000 085e0000 08600000 08620000 08640000 08660000 08680000 086a0000 086c0000 086e0000 08700000 08720000 08740000 08760000 08780000 087a0000 087c0000 087e0000 08800000 08820000 08840000 08860000 08880000 088a0000 088c0000 088e0000 08900000 08920000 08940000 08960000 08980000 089a0000 089c0000 089e0000 08a00000 08a20000 08a40000 08a60000 08a80000 08aa0000 08ac0000 08ae0000 08b00000 08b20000 08b40000 08b60000 08b80000 08ba0000 08bc0000 08be0000 08c00000 08c20000 08c40000 08c60000 08c80000 08ca0000 08cc0000 08ce0000 08d00000 08d20000 08d40000 08d60000 08d80000 08da0000 08dc0000 08de0000 08e00000 08e20000 08e40000 08e60000 08e80000 08ea0000 08ec0000 08ee0000 08f00000 08f20000 08f40000 08f60000 08f80000 08fa0000 08fc0000 08fe0000 09000000 09020000 09040000 09060000 09080000 090a0000 090c0000 090e0000 09100000 09120000 09140000 09160000 09180000 091a0000 091c0000 091e0000 09200000 09220000 09240000 09260000 09280000 092a0000 092c0000 092e0000 09300000 09320000 09340000 09360000 09380000 093a0000 093c0000 093e0000 09400000 09420000 09440000 09460000 09480000 094a0000 094c0000 094e0000 09500000 09520000 09540000 09560000 09580000 095a0000 095c0000 095e0000 09600000 09620000 09640000 09660000 09680000 096a0000 096c0000 096e0000 09700000 09720000 09740000 09760000 09780000 097a0000 097c0000 097e0000 09800000 09820000 09840000 09860000 09880000 098a0000 098c0000 098e0000 09900000 09920000 09940000 09960000 09980000 099a0000 099c0000 099e0000 09a00000 09a20000 09a40000 09a60000 09a80000 09aa0000 09ac0000 09ae0000 09b00000 09b20000 09b40000 09b60000 09b80000 09ba0000 09bc0000 09be0000 09c00000 09c20000 09c40000 09c60000 09c80000 09ca0000 09cc0000 09ce0000 09d00000 09d20000 09d40000 09d60000 09d80000 09da0000 09dc0000 09de0000 09e00000 09e20000 09e40000 09e60000 09e80000 09ea0000 09ec0000 09ee0000 09f00000 09f20000 09f40000 09f60000 09f80000 09fa0000 09fc0000 09fe0000 0a000000 0a020000 0a040000 0a060000 0a080000 0a0a0000 0a0c0000 0a0e0000 0a100000 0a120000 0a140000 0a160000 0a180000 0a1a0000 0a1c0000 0a1e0000 0a200000 0a220000 0a240000 0a260000 0a280000 0a2a0000 0a2c0000 0a2e0000 0a300000 0a320000 0a340000 0a360000 0a380000 0a3a0000 0a3c0000 0a3e0000 0a400000 0a420000 0a440000 0a460000 0a480000 0a4a0000 0a4c0000 0a4e0000 0a500000 0a520000 0a540000 0a560000 0a580000 0a5a0000 0a5c0000 0a5e0000 0a600000 0a620000 0a640000 0a660000 0a680000 0a6a0000 0a6c0000 0a6e0000 0a700000 0a720000 0a740000 0a760000 0a780000 0a7a0000 0a7c0000 0a7e0000 0a800000 0a820000 0a840000 0a860000 0a880000 0a8a0000 0a8c0000 0a8e0000 0a900000 0a920000 0a940000 0a960000 0a980000 0a9a0000 0a9c0000 0a9e0000 0aa00000 0aa20000 0aa40000 0aa60000 0aa80000 0aaa0000 0aac0000 0aae0000 0ab00000 0ab20000 0ab40000 0ab60000 0ab80000 0aba0000 0abc0000 0abe0000 0ac00000 0ac20000 0ac40000 0ac60000 0ac80000 0aca0000 0acc0000 0ace0000 0ad00000 0ad20000 0ad40000 0ad60000 0ad80000 0ada0000 0adc0000 0ade0000 0ae00000 0ae20000 0ae40000 0ae60000 0ae80000 0aea0000 0aec0000 0aee0000 0af00000 0af20000 0af40000 0af60000 0af80000 0afa0000 0afc0000 0afe0000 0b000000 0b020000 0b040000 0b060000 0b080000 0b0a0000 0b0c0000 0b0e0000 0b100000 0b120000 0b140000 0b160000 0b180000 0b1a0000 0b1c0000 0b1e0000 0b200000 0b220000 0b240000 0b260000 0b280000 0b2a0000 0b2c0000 0b2e0000 0b300000 0b320000 0b340000 0b360000 0b380000 0b3a0000 0b3c0000 0b3e0000 0b400000 0b420000 0b440000 0b460000 0b480000 0b4a0000 0b4c0000 0b4e0000 0b500000 0b520000 0b540000 0b560000 0b580000 0b5a0000 0b5c0000 0b5e0000 0b600000 0b620000 0b640000 0b660000 0b680000 0b6a0000 0b6c0000 0b6e0000 0b700000 0b720000 0b740000 0b760000 0b780000 0b7a0000 0b7c0000 0b7e0000 0b800000 0b820000 0b840000 0b860000 0b880000 0b8a0000 0b8c0000 0b8e0000 0b900000 0b920000 0b940000 0b960000 0b980000 0b9a0000 0b9c0000 0b9e0000 0ba00000 0ba20000 0ba40000 0ba60000 0ba80000 0baa0000 0bac0000 0bae0000 0bb00000 0bb20000 0bb40000 0bb60000 0bb80000 0bba0000 0bbc0000 0bbe0000 0bc00000 0bc20000 0bc40000 0bc60000 0bc80000 0bca0000 0bcc0000 0bce0000 0bd00000 0bd20000 0bd40000 0bd60000 0bd80000 0bda0000 0bdc0000 0bde0000 0be00000 0be20000 0be40000 0be60000 0be80000 0bea0000 0bec0000 0bee0000 0bf00000 0bf20000 0bf40000 0bf60000 0bf80000 0bfa0000 0bfc0000 0bfe0000 0c000000 0c020000 0c040000 0c060000 0c080000 0c0a0000 0c0c0000 0c0e0000 0c100000 0c120000 0c140000 0c160000 0c180000 0c1a0000 0c1c0000 0c1e0000 0c200000 0c220000 0c240000 0c260000 0c280000 0c2a0000 0c2c0000 0c2e0000 0c300000 0c320000 0c340000 0c360000 0c380000 0c3a0000 0c3c0000 0c3e0000 0c400000 0c420000 0c440000 0c460000 0c480000 0c4a0000 0c4c0000 0c4e0000 0c500000 0c520000 0c540000 0c560000 0c580000 0c5a0000 0c5c0000 0c5e0000 0c600000 0c620000 0c640000 0c660000 0c680000 0c6a0000 0c6c0000 0c6e0000 0c700000 0c720000 0c740000 0c760000 0c780000 0c7a0000 0c7c0000 0c7e0000 0c800000 0c820000 0c840000 0c860000 0c880000 0c8a0000 0c8c0000 0c8e0000 0c900000 0c920000 0c940000 0c960000 0c980000 0c9a0000 0c9c0000 0c9e0000 0ca00000 0ca20000 0ca40000 0ca60000 0ca80000 0caa0000 0cac0000 0cae0000 0cb00000 0cb20000 0cb40000 0cb60000 0cb80000 0cba0000 0cbc0000 0cbe0000 0cc00000 0cc20000 0cc40000 0cc60000 0cc80000 0cca0000 0ccc0000 0cce0000 0cd00000 0cd20000 0cd40000 0cd60000 0cd80000 0cda0000 0cdc0000 0cde0000 0ce00000 0ce20000 0ce40000 0ce60000 0ce80000 0cea0000 0cec0000 0cee0000 0cf00000 0cf20000 0cf40000 0cf60000 0cf80000 0cfa0000 0cfc0000 0cfe0000 0d000000 0d020000 0d040000 0d060000 0d080000 0d0a0000 0d0c0000 0d0e0000 0d100000 0d120000 0d140000 0d160000 0d180000 0d1a0000 0d1c0000 0d1e0000 0d200000 0d220000 0d240000 0d260000 0d280000 0d2a0000 0d2c0000 0d2e0000 0d300000 0d320000 0d340000 0d360000 0d380000 0d3a0000 0d3c0000 0d3e0000 0d400000 0d420000 0d440000 0d460000 0d480000 0d4a0000 0d4c0000 0d4e0000 0d500000 0d520000 0d540000 0d560000 0d580000 0d5a0000 0d5c0000 0d5e0000 0d600000 0d620000 0d640000 0d660000 0d680000 0d6a0000 0d6c0000 0d6e0000 0d700000 0d720000 0d740000 0d760000 0d780000 0d7a0000 0d7c0000 0d7e0000 0d800000 0d820000 0d840000 0d860000 0d880000 0d8a0000 0d8c0000 0d8e0000 0d900000 0d920000 0d940000 0d960000 0d980000 0d9a0000 0d9c0000 0d9e0000 0da00000 0da20000 0da40000 0da60000 0da80000 0daa0000 0dac0000 0dae0000 0db00000 0db20000 0db40000 0db60000 0db80000 0dba0000 0dbc0000 0dbe0000 0dc00000 0dc20000 0dc40000 0dc60000 0dc80000 0dca0000 0dcc0000 0dce0000 0dd00000 0dd20000 0dd40000 0dd60000 0dd80000 0dda0000 0ddc0000 0dde0000 0de00000 0de20000 0de40000 0de60000 0de80000 0dea0000 0dec0000 0dee0000 0df00000 0df20000 0df40000 0df60000 0df80000 0dfa0000 0dfc0000 0dfe0000 0e000000 0e020000 0e040000 0e060000 0e080000 0e0a0000 0e0c0000 0e0e0000 0e100000 0e120000 0e140000 0e160000 0e180000 0e1a0000 0e1c0000 0e1e0000 0e200000 0e220000 0e240000 0e260000 0e280000 0e2a0000 0e2c0000 0e2e0000 0e300000 0e320000 0e340000 0e360000 0e380000 0e3a0000 0e3c0000 0e3e0000 0e400000 0e420000 0e440000 0e460000 0e480000 0e4a0000 0e4c0000 0e4e0000 0e500000 0e520000 0e540000 0e560000 0e580000 0e5a0000 0e5c0000 0e5e0000 0e600000 0e620000 0e640000 0e660000 0e680000 0e6a0000 0e6c0000 0e6e0000 0e700000 0e720000 0e740000 0e760000 0e780000 0e7a0000 0e7c0000 0e7e0000 0e800000 0e820000 0e840000 0e860000 0e880000 0e8a0000 0e8c0000 0e8e0000 0e900000 0e920000 0e940000 0e960000 0e980000 0e9a0000 0e9c0000 0e9e0000 0ea00000 0ea20000 0ea40000 0ea60000 0ea80000 0eaa0000 0eac0000 0eae0000 0eb00000 0eb20000 0eb40000 0eb60000 0eb80000 0eba0000 0ebc0000 0ebe0000 0ec00000 0ec20000 0ec40000 0ec60000 0ec80000 0eca0000 0ecc0000 0ece0000 0ed00000 0ed20000 0ed40000 0ed60000 0ed80000 0eda0000 0edc0000 0ede0000 0ee00000 0ee20000 0ee40000 0ee60000 0ee80000 0eea0000 0eec0000 0eee0000 0ef00000 0ef20000 0ef40000 0ef60000 0ef80000 0efa0000 0efc0000 0efe0000 0f000000 0f020000 0f040000 0f060000 0f080000 0f0a0000 0f0c0000 0f0e0000 0f100000 0f120000 0f140000 0f160000 0f180000 0f1a0000 0f1c0000 0f1e0000 0f200000 0f220000 0f240000 0f260000 0f280000 0f2a0000 0f2c0000 0f2e0000 0f300000 0f320000 0f340000 0f360000 0f380000 0f3a0000 0f3c0000 0f3e0000 0f400000 0f420000 0f440000 0f460000 0f480000 0f4a0000 0f4c0000 0f4e0000 0f500000 0f520000 0f540000 0f560000 0f580000 0f5a0000 0f5c0000 0f5e0000 0f600000 0f620000 0f640000 0f660000 0f680000 0f6a0000 0f6c0000 0f6e0000 0f700000 0f720000 0f740000 0f760000 0f780000 0f7a0000 0f7c0000 0f7e0000 0f800000 0f820000 0f840000 0f860000 0f880000 0f8a0000 0f8c0000 0f8e0000 0f900000 0f920000 0f940000 0f960000 0f980000 0f9a0000 0f9c0000 0f9e0000 0fa00000 0fa20000 0fa40000 0fa60000 0fa80000 0faa0000 0fac0000 0fae0000 0fb00000 0fb20000 0fb40000 0fb60000 0fb80000 0fba0000 0fbc0000 0fbe0000 0fc00000 0fc20000 0fc40000 0fc60000 0fc80000 0fca0000 0fcc0000 0fce0000 0fd00000 0fd20000 0fd40000 0fd60000 0fd80000 0fda0000 0fdc0000 0fde0000 0fe00000 0fe20000 0fe40000 0fe60000 0fe80000 0fea0000 0fec0000 0fee0000 0ff00000 0ff20000 0ff40000 0ff60000 0ff80000 0ffa0000 0ffc0000 0ffe0000 10000000 10020000 10040000 10060000 10080000 100a0000 100c0000 100e0000 10100000 10120000 10140000 10160000 10180000 101a0000 101c0000 101e0000 10200000 10220000 10240000 10260000 10280000 102a0000 102c0000 102e0000 10300000 10320000 10340000 10360000 10380000 103a0000 103c0000 103e0000 10400000 10420000 10440000 10460000 10480000 104a0000 104c0000 104e0000 10500000 10520000 10540000 10560000 10580000 105a0000 105c0000 105e0000 10600000 10620000 10640000 10660000 10680000 106a0000 106c0000 106e0000 10700000 10720000 10740000 10760000 10780000 107a0000 107c0000 107e0000 10800000 10820000 10840000 10860000 10880000 108a0000 108c0000 108e0000 10900000 10920000 10940000 10960000 10980000 109a0000 109c0000 109e0000 10a00000 10a20000 10a40000 10a60000 10a80000 10aa0000 10ac0000 10ae0000 10b00000 10b20000 10b40000 10b60000 10b80000 10ba0000 10bc0000 10be0000 10c00000 10c20000 10c40000 10c60000 10c80000 10ca0000 10cc0000 10ce0000 10d00000 10d20000 10d40000 10d60000 10d80000 10da0000 10dc0000 10de0000 10e00000 10e20000 10e40000 10e60000 10e80000 10ea0000 10ec0000 10ee0000 10f00000 10f20000 10f40000 10f60000 10f80000 10fa0000 10fc0000 10fe0000 11000000 11020000 11040000 11060000 11080000 110a0000 110c0000 110e0000 11100000 11120000 11140000 11160000 11180000 111a0000 111c0000 111e0000 11200000 11220000 11240000 11260000 11280000 112a0000 112c0000 112e0000 11300000 11320000 11340000 11360000 11380000 113a0000 113c0000 113e0000 11400000 11420000 11440000 11460000 11480000 114a0000 114c0000 114e0000 11500000 11520000 11540000 11560000 11580000 115a0000 115c0000 115e0000 11600000 11620000 11640000 11660000 11680000 116a0000 116c0000 116e0000 11700000 11720000 11740000 11760000 11780000 117a0000 117c0000 117e0000 11800000 11820000 11840000 11860000 11880000 118a0000 118c0000 118e0000 11900000 11920000 11940000 11960000 11980000 119a0000 119c0000 119e0000 11a00000 11a20000 11a40000 11a60000 11a80000 11aa0000 11ac0000 11ae0000 11b00000 11b20000 11b40000 11b60000 11b80000 11ba0000 11bc0000 11be0000 11c00000 11c20000 11c40000 11c60000 11c80000 11ca0000 11cc0000 11ce0000 11d00000 11d20000 11d40000 11d60000 11d80000 11da0000 11dc0000 11de0000 11e00000 11e20000 11e40000 11e60000 11e80000 11ea0000 11ec0000 11ee0000 11f00000 11f20000 11f40000 11f60000 11f80000 11fa0000 11fc0000 11fe0000 12000000 12020000 12040000 12060000 12080000 120a0000 120c0000 120e0000 12100000 12120000 12140000 12160000 12180000 121a0000 121c0000 121e0000 12200000 12220000 12240000 12260000 12280000 122a0000 122c0000 122e0000 12300000 12320000 12340000 12360000 12380000 123a0000 123c0000 123e0000 12400000 12420000 12440000 12460000 12480000 124a0000 124c0000 124e0000 12500000 12520000 12540000 12560000 12580000 125a0000 125c0000 125e0000 12600000 12620000 12640000 12660000 12680000 126a0000 126c0000 126e0000 12700000 12720000 12740000 12760000 12780000 127a0000 127c0000 127e0000 12800000 12820000 12840000 12860000 12880000 128a0000 128c0000 128e0000 12900000 12920000 12940000 12960000 12980000 129a0000 129c0000 129e0000 12a00000 12a20000 12a40000 12a60000 12a80000 12aa0000 12ac0000 12ae0000 12b00000 12b20000 12b40000 12b60000 12b80000 12ba0000 12bc0000 12be0000 12c00000 12c20000 12c40000 12c60000 12c80000 12ca0000 12cc0000 12ce0000 12d00000 12d20000 12d40000 12d60000 12d80000 12da0000 12dc0000 12de0000 12e00000 12e20000 12e40000 12e60000 12e80000 12ea0000 12ec0000 12ee0000 12f00000 12f20000 12f40000 12f60000 12f80000 12fa0000 12fc0000 12fe0000 13000000 13020000 13040000 13060000 13080000 130a0000 130c0000 130e0000 13100000 13120000 13140000 13160000 13180000 131a0000 131c0000 131e0000 13200000 13220000 13240000 13260000 13280000 132a0000 132c0000 132e0000 13300000 13320000 13340000 13360000 13380000 133a0000 133c0000 133e0000 13400000 13420000 13440000 13460000 13480000 134a0000 134c0000 134e0000 13500000 13520000 13540000 13560000 13580000 135a0000 135c0000 135e0000 13600000 13620000 13640000 13660000 13680000 136a0000 136c0000 136e0000 13700000 13720000 13740000 13760000 13780000 137a0000 137c0000 137e0000 13800000 13820000 13840000 13860000 13880000 138a0000 138c0000 138e0000 13900000 13920000 13940000 13960000 13980000 139a0000 139c0000 139e0000 13a00000 13a20000 13a40000 13a60000 13a80000 13aa0000 13ac0000 13ae0000 13b00000 13b20000 13b40000 13b60000 13b80000 13ba0000 13bc0000 13be0000 13c00000 13c20000 13c40000 13c60000 13c80000 13ca0000 13cc0000 13ce0000 13d00000 13d20000 13d40000 13d60000 13d80000 13da0000 13dc0000 13de0000 13e00000 13e20000 13e40000 13e60000 13e80000 13ea0000 13ec0000 13ee0000 13f00000 13f20000 13f40000 13f60000 13f80000 13fa0000 13fc0000 13fe0000 14000000 14020000 14040000 14060000 14080000 140a0000 140c0000 140e0000 14100000 14120000 14140000 14160000 14180000 141a0000 141c0000 141e0000 14200000 14220000 14240000 14260000 14280000 142a0000 142c0000 142e0000 14300000 14320000 14340000 14360000 14380000 143a0000 143c0000 143e0000 14400000 14420000 14440000 14460000 14480000 144a0000 144c0000 144e0000 14500000 14520000 14540000 14560000 14580000 145a0000 145c0000 145e0000 14600000 14620000 14640000 14660000 14680000 146a0000 146c0000 146e0000 14700000 14720000 14740000 14760000 14780000 147a0000 147c0000 147e0000 14800000 14820000 14840000 14860000 14880000 148a0000 148c0000 148e0000 14900000 14920000 14940000 14960000 14980000 149a0000 149c0000 149e0000 14a00000 14a20000 14a40000 14a60000 14a80000 14aa0000 14ac0000 14ae0000 14b00000 14b20000 14b40000 14b60000 14b80000 14ba0000 14bc0000 14be0000 14c00000 14c20000 14c40000 14c60000 14c80000 14ca0000 14cc0000 14ce0000 14d00000 14d20000 14d40000 14d60000 14d80000 14da0000 14dc0000 14de0000 14e00000 14e20000 14e40000 14e60000 14e80000 14ea0000 14ec0000 14ee0000 14f00000 14f20000 14f40000 14f60000 14f80000 14fa0000 14fc0000 14fe0000 15000000 15020000 15040000 15060000 15080000 150a0000 150c0000 150e0000 15100000 15120000 15140000 15160000 15180000 151a0000 151c0000 151e0000 15200000 15220000 15240000 15260000 15280000 152a0000 152c0000 152e0000 15300000 15320000 15340000 15360000 15380000 153a0000 153c0000 153e0000 15400000 15420000 15440000 15460000 15480000 154a0000 154c0000 154e0000 15500000 15520000 15540000 15560000 15580000 155a0000 155c0000 155e0000 15600000 15620000 15640000 15660000 15680000 156a0000 156c0000 156e0000 15700000 15720000 15740000 15760000 15780000 157a0000 157c0000 157e0000 15800000 15820000 15840000 15860000 15880000 158a0000 158c0000 158e0000 15900000 15920000 15940000 15960000 15980000 159a0000 159c0000 159e0000 15a00000 15a20000 15a40000 15a60000 15a80000 15aa0000 15ac0000 15ae0000 15b00000 15b20000 15b40000 15b60000 15b80000 15ba0000 15bc0000 15be0000 15c00000 15c20000 15c40000 15c60000 15c80000 15ca0000 15cc0000 15ce0000 15d00000 15d20000 15d40000 15d60000 15d80000 15da0000 15dc0000 15de0000 15e00000 15e20000 15e40000 15e60000 15e80000 15ea0000 15ec0000 15ee0000 15f00000 15f20000 15f40000 15f60000 15f80000 15fa0000 15fc0000 15fe0000 16000000 16020000 16040000 16060000 16080000 160a0000 160c0000 160e0000 16100000 16120000 16140000 16160000 16180000 161a0000 161c0000 161e0000 16200000 16220000 16240000 16260000 16280000 162a0000 162c0000 162e0000 16300000 16320000 16340000 16360000 16380000 163a0000 163c0000 163e0000 16400000 16420000 16440000 16460000 16480000 164a0000 164c0000 164e0000 16500000 16520000 16540000 16560000 16580000 165a0000 165c0000 165e0000 16600000 16620000 16640000 16660000 16680000 166a0000 166c0000 166e0000 16700000 16720000 16740000 16760000 16780000 167a0000 167c0000 167e0000 16800000 16820000 16840000 16860000 16880000 168a0000 168c0000 168e0000 16900000 16920000 16940000 16960000 16980000 169a0000 169c0000 169e0000 16a00000 16a20000 16a40000 16a60000 16a80000 16aa0000 16ac0000 16ae0000 16b00000 16b20000 16b40000 16b60000 16b80000 16ba0000 16bc0000 16be0000 16c00000 16c20000 16c40000 16c60000 16c80000 16ca0000 16cc0000 16ce0000 16d00000 16d20000 16d40000 16d60000 16d80000 16da0000 16dc0000 16de0000 16e00000 16e20000 16e40000 16e60000 16e80000 16ea0000 16ec0000 16ee0000 16f00000 16f20000 16f40000 16f60000 16f80000 16fa0000 16fc0000 16fe0000 17000000 17020000 17040000 17060000 17080000 170a0000 170c0000 170e0000 17100000 17120000 17140000 17160000 17180000 171a0000 171c0000 171e0000 17200000 17220000 17240000 17260000 17280000 172a0000 172c0000 172e0000 17300000 17320000 17340000 17360000 17380000 173a0000 173c0000 173e0000 17400000 17420000 17440000 17460000 17480000 174a0000 174c0000 174e0000 17500000 17520000 17540000 17560000 17580000 175a0000 175c0000 175e0000 17600000 17620000 17640000 17660000 17680000 176a0000 176c0000 176e0000 17700000 17720000 17740000 17760000 17780000 177a0000 177c0000 177e0000 17800000 17820000 17840000 17860000 17880000 178a0000 178c0000 178e0000 17900000 17920000 17940000 17960000 17980000 179a0000 179c0000 179e0000 17a00000 17a20000 17a40000 17a60000 17a80000 17aa0000 17ac0000 17ae0000 17b00000 17b20000 17b40000 17b60000 17b80000 17ba0000 17bc0000 17be0000 17c00000 17c20000 17c40000 17c60000 17c80000 17ca0000 17cc0000 17ce0000 17d00000 17d20000 17d40000 17d60000 17d80000 17da0000 17dc0000 17de0000 17e00000 17e20000 17e40000 17e60000 17e80000 17ea0000 17ec0000 17ee0000 17f00000 17f20000 17f40000 17f60000 17f80000 17fa0000 17fc0000 17fe0000 18000000 18020000 18040000 18060000 18080000 180a0000 180c0000 180e0000 18100000 18120000 18140000 18160000 18180000 181a0000 181c0000 181e0000 18200000 18220000 18240000 18260000 18280000 182a0000 182c0000 182e0000 18300000 18320000 18340000 18360000 18380000 183a0000 183c0000 183e0000 18400000 18420000 18440000 18460000 18480000 184a0000 184c0000 184e0000 18500000 18520000 18540000 18560000 18580000 185a0000 185c0000 185e0000 18600000 18620000 18640000 18660000 18680000 186a0000 186c0000 186e0000 18700000 18720000 18740000 18760000 18780000 187a0000 187c0000 187e0000 18800000 18820000 18840000 18860000 18880000 188a0000 188c0000 188e0000 18900000 18920000 18940000 18960000 18980000 189a0000 189c0000 189e0000 18a00000 18a20000 18a40000 18a60000 18a80000 18aa0000 18ac0000 18ae0000 18b00000 18b20000 18b40000 18b60000 18b80000 18ba0000 18bc0000 18be0000 18c00000 18c20000 18c40000 18c60000 18c80000 18ca0000 18cc0000 18ce0000 18d00000 18d20000 18d40000 18d60000 18d80000 18da0000 18dc0000 18de0000 18e00000 18e20000 18e40000 18e60000 18e80000 18ea0000 18ec0000 18ee0000 18f00000 18f20000 18f40000 18f60000 18f80000 18fa0000 18fc0000 18fe0000 19000000 19020000 19040000 19060000 19080000 190a0000 190c0000 190e0000 19100000 19120000 19140000 19160000 19180000 191a0000 191c0000 191e0000 19200000 19220000 19240000 19260000 19280000 192a0000 192c0000 192e0000 19300000 19320000 19340000 19360000 19380000 193a0000 193c0000 193e0000 19400000 19420000 19440000 19460000 19480000 194a0000 194c0000 194e0000 19500000 19520000 19540000 19560000 19580000 195a0000 195c0000 195e0000 19600000 19620000 19640000 19660000 19680000 196a0000 196c0000 196e0000 19700000 19720000 19740000 19760000 19780000 197a0000 197c0000 197e0000 19800000 19820000 19840000 19860000 19880000 198a0000 198c0000 198e0000 19900000 19920000 19940000 19960000 19980000 199a0000 199c0000 199e0000 19a00000 19a20000 19a40000 19a60000 19a80000 19aa0000 19ac0000 19ae0000 19b00000 19b20000 19b40000 19b60000 19b80000 19ba0000 19bc0000 19be0000 19c00000 19c20000 19c40000 19c60000 19c80000 19ca0000 19cc0000 19ce0000 19d00000 19d20000 19d40000 19d60000 19d80000 19da0000 19dc0000 19de0000 19e00000 19e20000 19e40000 19e60000 19e80000 19ea0000 19ec0000 19ee0000 19f00000 19f20000 19f40000 19f60000 19f80000 19fa0000 19fc0000 19fe0000 1a000000 1a020000 1a040000 1a060000 1a080000 1a0a0000 1a0c0000 1a0e0000 1a100000 1a120000 1a140000 1a160000 1a180000 1a1a0000 1a1c0000 1a1e0000 1a200000 1a220000 1a240000 1a260000 1a280000 1a2a0000 1a2c0000 1a2e0000 1a300000 1a320000 1a340000 1a360000 1a380000 1a3a0000 1a3c0000 1a3e0000 1a400000 1a420000 1a440000 1a460000 1a480000 1a4a0000 1a4c0000 1a4e0000 1a500000 1a520000 1a540000 1a560000 1a580000 1a5a0000 1a5c0000 1a5e0000 1a600000 1a620000 1a640000 1a660000 1a680000 1a6a0000 1a6c0000 1a6e0000 1a700000 1a720000 1a740000 1a760000 1a780000 1a7a0000 1a7c0000 1a7e0000 1a800000 1a820000 1a840000 1a860000 1a880000 1a8a0000 1a8c0000 1a8e0000 1a900000 1a920000 1a940000 1a960000 1a980000 1a9a0000 1a9c0000 1a9e0000 1aa00000 1aa20000 1aa40000 1aa60000 1aa80000 1aaa0000 1aac0000 1aae0000 1ab00000 1ab20000 1ab40000 1ab60000 1ab80000 1aba0000 1abc0000 1abe0000 1ac00000 1ac20000 1ac40000 1ac60000 1ac80000 1aca0000 1acc0000 1ace0000 1ad00000 1ad20000 1ad40000 1ad60000 1ad80000 1ada0000 1adc0000 1ade0000 1ae00000 1ae20000 1ae40000 1ae60000 1ae80000 1aea0000 1aec0000 1aee0000 1af00000 1af20000 1af40000 1af60000 1af80000 1afa0000 1afc0000 1afe0000 1b000000 1b020000 1b040000 1b060000 1b080000 1b0a0000 1b0c0000 1b0e0000 1b100000 1b120000 1b140000 1b160000 1b180000 1b1a0000 1b1c0000 1b1e0000 1b200000 1b220000 1b240000 1b260000 1b280000 1b2a0000 1b2c0000 1b2e0000 1b300000 1b320000 1b340000 1b360000 1b380000 1b3a0000 1b3c0000 1b3e0000 1b400000 1b420000 1b440000 1b460000 1b480000 1b4a0000 1b4c0000 1b4e0000 1b500000 1b520000 1b540000 1b560000 1b580000 1b5a0000 1b5c0000 1b5e0000 1b600000 1b620000 1b640000 1b660000 1b680000 1b6a0000 1b6c0000 1b6e0000 1b700000 1b720000 1b740000 1b760000 1b780000 1b7a0000 1b7c0000 1b7e0000 1b800000 1b820000 1b840000 1b860000 1b880000 1b8a0000 1b8c0000 1b8e0000 1b900000 1b920000 1b940000 1b960000 1b980000 1b9a0000 1b9c0000 1b9e0000 1ba00000 1ba20000 1ba40000 1ba60000 1ba80000 1baa0000 1bac0000 1bae0000 1bb00000 1bb20000 1bb40000 1bb60000 1bb80000 1bba0000 1bbc0000 1bbe0000 1bc00000 1bc20000 1bc40000 1bc60000 1bc80000 1bca0000 1bcc0000 1bce0000 1bd00000 1bd20000 1bd40000 1bd60000 1bd80000 1bda0000 1bdc0000 1bde0000 1be00000 1be20000 1be40000 1be60000 1be80000 1bea0000 1bec0000 1bee0000 1bf00000 1bf20000 1bf40000 1bf60000 1bf80000 1bfa0000 1bfc0000 1bfe0000 1c000000 1c020000 1c040000 1c060000 1c080000 1c0a0000 1c0c0000 1c0e0000 1c100000 1c120000 1c140000 1c160000 1c180000 1c1a0000 1c1c0000 1c1e0000 1c200000 1c220000 1c240000 1c260000 1c280000 1c2a0000 1c2c0000 1c2e0000 1c300000 1c320000 1c340000 1c360000 1c380000 1c3a0000 1c3c0000 1c3e0000 1c400000 1c420000 1c440000 1c460000 1c480000 1c4a0000 1c4c0000 1c4e0000 1c500000 1c520000 1c540000 1c560000 1c580000 1c5a0000 1c5c0000 1c5e0000 1c600000 1c620000 1c640000 1c660000 1c680000 1c6a0000 1c6c0000 1c6e0000 1c700000 1c720000 1c740000 1c760000 1c780000 1c7a0000 1c7c0000 1c7e0000 1c800000 1c820000 1c840000 1c860000 1c880000 1c8a0000 1c8c0000 1c8e0000 1c900000 1c920000 1c940000 1c960000 1c980000 1c9a0000 1c9c0000 1c9e0000 1ca00000 1ca20000 1ca40000 1ca60000 1ca80000 1caa0000 1cac0000 1cae0000 1cb00000 1cb20000 1cb40000 1cb60000 1cb80000 1cba0000 1cbc0000 1cbe0000 1cc00000 1cc20000 1cc40000 1cc60000 1cc80000 1cca0000 1ccc0000 1cce0000 1cd00000 1cd20000 1cd40000 1cd60000 1cd80000 1cda0000 1cdc0000 1cde0000 1ce00000 1ce20000 1ce40000 1ce60000 1ce80000 1cea0000 1cec0000 1cee0000 1cf00000 1cf20000 1cf40000 1cf60000 1cf80000 1cfa0000 1cfc0000 1cfe0000 1d000000 1d020000 1d040000 1d060000 1d080000 1d0a0000 1d0c0000 1d0e0000 1d100000 1d120000 1d140000 1d160000 1d180000 1d1a0000 1d1c0000 1d1e0000 1d200000 1d220000 1d240000 1d260000 1d280000 1d2a0000 1d2c0000 1d2e0000 1d300000 1d320000 1d340000 1d360000 1d380000 1d3a0000 1d3c0000 1d3e0000 1d400000 1d420000 1d440000 1d460000 1d480000 1d4a0000 1d4c0000 1d4e0000 1d500000 1d520000 1d540000 1d560000 1d580000 1d5a0000 1d5c0000 1d5e0000 1d600000 1d620000 1d640000 1d660000 1d680000 1d6a0000 1d6c0000 1d6e0000 1d700000 1d720000 1d740000 1d760000 1d780000 1d7a0000 1d7c0000 1d7e0000 1d800000 1d820000 1d840000 1d860000 1d880000 1d8a0000 1d8c0000 1d8e0000 1d900000 1d920000 1d940000 1d960000 1d980000 1d9a0000 1d9c0000 1d9e0000 1da00000 1da20000 1da40000 1da60000 1da80000 1daa0000 1dac0000 1dae0000 1db00000 1db20000 1db40000 1db60000 1db80000 1dba0000 1dbc0000 1dbe0000 1dc00000 1dc20000 1dc40000 1dc60000 1dc80000 1dca0000 1dcc0000 1dce0000 1dd00000 1dd20000 1dd40000 1dd60000 1dd80000 1dda0000 1ddc0000 1dde0000 1de00000 1de20000 1de40000 1de60000 1de80000 1dea0000 1dec0000 1dee0000 1df00000 1df20000 1df40000 1df60000 1df80000 1dfa0000 1dfc0000 1dfe0000 1e000000 1e020000 1e040000 1e060000 1e080000 1e0a0000 1e0c0000 1e0e0000 1e100000 1e120000 1e140000 1e160000 1e180000 1e1a0000 1e1c0000 1e1e0000 1e200000 1e220000 1e240000 1e260000 1e280000 1e2a0000 1e2c0000 1e2e0000 1e300000 1e320000 1e340000 1e360000 1e380000 1e3a0000 1e3c0000 1e3e0000 1e400000 1e420000 1e440000 1e460000 1e480000 1e4a0000 1e4c0000 1e4e0000 1e500000 1e520000 1e540000 1e560000 1e580000 1e5a0000 1e5c0000 1e5e0000 1e600000 1e620000 1e640000 1e660000 1e680000 1e6a0000 1e6c0000 1e6e0000 1e700000 1e720000 1e740000 1e760000 1e780000 1e7a0000 1e7c0000 1e7e0000 1e800000 1e820000 1e840000 1e860000 1e880000 1e8a0000 1e8c0000 1e8e0000 1e900000 1e920000 1e940000 1e960000 1e980000 1e9a0000 1e9c0000 1e9e0000 1ea00000 1ea20000 1ea40000 1ea60000 1ea80000 1eaa0000 1eac0000 1eae0000 1eb00000 1eb20000 1eb40000 1eb60000 1eb80000 1eba0000 1ebc0000 1ebe0000 1ec00000 1ec20000 1ec40000 1ec60000 1ec80000 1eca0000 1ecc0000 1ece0000 1ed00000 1ed20000 1ed40000 1ed60000 1ed80000 1eda0000 1edc0000 1ede0000 1ee00000 1ee20000 1ee40000 1ee60000 1ee80000 1eea0000 1eec0000 1eee0000 1ef00000 1ef20000 1ef40000 1ef60000 1ef80000 1efa0000 1efc0000 1efe0000 1f000000 1f020000 1f040000 1f060000 1f080000 1f0a0000 1f0c0000 1f0e0000 1f100000 1f120000 1f140000 1f160000 1f180000 1f1a0000 1f1c0000 1f1e0000 1f200000 1f220000 1f240000 1f260000 1f280000 1f2a0000 1f2c0000 1f2e0000 1f300000 1f320000 1f340000 1f360000 1f380000 1f3a0000 1f3c0000 1f3e0000 1f400000 1f420000 1f440000 1f460000 1f480000 1f4a0000 1f4c0000 1f4e0000 1f500000 1f520000 1f540000 1f560000 1f580000 1f5a0000 1f5c0000 1f5e0000 1f600000 1f620000 1f640000 1f660000 1f680000 1f6a0000 1f6c0000 1f6e0000 1f700000 1f720000 1f740000 1f760000 1f780000 1f7a0000 1f7c0000 1f7e0000 1f800000 1f820000 1f840000 1f860000 1f880000 1f8a0000 1f8c0000 1f8e0000 1f900000 1f920000 1f940000 1f960000 1f980000 1f9a0000 1f9c0000 1f9e0000 1fa00000 1fa20000 1fa40000 1fa60000 1fa80000 1faa0000 1fac0000 1fae0000 1fb00000 1fb20000 1fb40000 1fb60000 1fb80000 1fba0000 1fbc0000 1fbe0000 1fc00000 1fc20000 1fc40000 1fc60000 1fc80000 1fca0000 1fcc0000 1fce0000 1fd00000 1fd20000 1fd40000 1fd60000 1fd80000 1fda0000 1fdc0000 1fde0000 1fe00000 1fe20000 1fe40000 1fe60000 1fe80000 1fea0000 1fec0000 1fee0000 1ff00000 1ff20000 1ff40000 1ff60000 1ff80000 1ffa0000 1ffc0000 1ffe0000
I am getting nand write issues as shown below
ASHOK# nand write ${loadaddr} 0x780000 0x400a000
NAND write: device 0 offset 0x780000, size 0x400a000
Attempt to write outside the flash area
0 bytes written: ERROR
Even If I make one partion with big size also I am getting same error.
I am not sure what is the issue.
Code changes:
I added pinmux details in uboot and kernel. and enabled the 16bit in mem.h file as shown below.
diff --git a/u-boot/arch/arm/include/asm/arch-am33xx/mem.h b/u-boot/arch/arm/include/asm/arch-am33xx/mem.h
index ddcad62..be75403 100644
--- a/u-boot/arch/arm/include/asm/arch-am33xx/mem.h
+++ b/u-boot/arch/arm/include/asm/arch-am33xx/mem.h
@@ -53,7 +53,8 @@
#define GPMC_SIZE_32M 0xE
#define GPMC_SIZE_16M 0xF
-#define M_NAND_GPMC_CONFIG1 0x00000800
+/*#define M_NAND_GPMC_CONFIG1 0x00000800 */ /*8 bit nand*/
+#define M_NAND_GPMC_CONFIG1 0x00001810 /*ashok 16 bit nand*/
#define M_NAND_GPMC_CONFIG2 0x001e1e00
#define M_NAND_GPMC_CONFIG3 0x001e1e00
#define M_NAND_GPMC_CONFIG4 0x16051807
Please let me know is there any other code changes I have to do.
Hi Sunil and all,
Some more updates.
In Uboot log nand size is 512
Configurou interrupcao
Configurou LCD
NAND: 512 MiB
Here is the options enabled in the bootloader config file. Please let me know with respect to size/16bit do we have to do changes the
value of CONFIG_SYS_NAND_PAGE_SIZE from to 2048 to 1024.
#define CONFIG_SPL_NAND_AM33XX_BCH
#define CONFIG_SPL_NAND_SUPPORT
#define CONFIG_SPL_NAND_BASE
#define CONFIG_SPL_NAND_DRIVERS
#define CONFIG_SPL_NAND_ECC
#define CONFIG_SYS_NAND_5_ADDR_CYCLE
#define CONFIG_SYS_NAND_PAGE_COUNT (CONFIG_SYS_NAND_BLOCK_SIZE / \
CONFIG_SYS_NAND_PAGE_SIZE)
#define CONFIG_SYS_NAND_PAGE_SIZE 2048
#define CONFIG_SYS_NAND_OOBSIZE 64
#define CONFIG_SYS_NAND_BLOCK_SIZE (128*1024)
#define CONFIG_SYS_NAND_BAD_BLOCK_POS NAND_LARGE_BADBLOCK_POS
#define CONFIG_SYS_NAND_ECCPOS { 2, 3, 4, 5, 6, 7, 8, 9, \
10, 11, 12, 13, 14, 15, 16, 17, \
18, 19, 20, 21, 22, 23, 24, 25, \
26, 27, 28, 29, 30, 31, 32, 33, \
34, 35, 36, 37, 38, 39, 40, 41, \
42, 43, 44, 45, 46, 47, 48, 49, \
50, 51, 52, 53, 54, 55, 56, 57, }
#define CONFIG_SYS_NAND_ECCSIZE 512
#define CONFIG_SYS_NAND_ECCBYTES 14
#define CONFIG_SYS_NAND_ECCSTEPS 4
#define CONFIG_SYS_NAND_ECCTOTAL (CONFIG_SYS_NAND_ECCBYTES * \
CONFIG_SYS_NAND_ECCSTEPS)
#define CONFIG_SYS_NAND_U_BOOT_START CONFIG_SYS_TEXT_BASE
#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x80000
/* NAND support */
#ifdef CONFIG_NAND
#define CONFIG_CMD_NAND
#define CONFIG_CMD_MTDPARTS
#define MTDIDS_DEFAULT "nand0=omap2-nand.0"
#define MTDPARTS_DEFAULT "mtdparts=omap2-nand.0:128k(SPL)," \
"128k(SPL.backup1)," \
"128k(SPL.backup2)," \
"128k(SPL.backup3),1920k(u-boot)," \
"128k(u-boot-env),5m(kernel),-(rootfs)"
#define CONFIG_NAND_OMAP_GPMC
#define GPMC_NAND_ECC_LP_x16_LAYOUT 1
#define CONFIG_SYS_NAND_BASE (0x08000000) /* physical address */
/* to access nand at */
/* CS0 */
#define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND
devices */
Thanks in advance.