[U-Boot] [PATCH V2] fs/ext4: fix log2blksz un-initialized error, by cacaulating its value from blksz

2013-07-19 Thread Lan Yixun (dlan)
From: "Lan Yixun (dlan)" The problem here is that uboot can't mount ext4 filesystem with commit "50ce4c07df1" applied. We use hard-coded "SECTOR_SIZE"(512) before this commit, now we introduce (block_dev_desc_t *)->log2blksz to replace this macro. And af

[U-Boot] [PATCH] common: remove unaligned access error in bootmenu_getoption()

2013-06-27 Thread Lan Yixun (dlan)
From: "Lan Yixun (dlan)" Some ARM compilers may emit code that makes unaligned accesses when faced with constructs such as: char name[12] = "bootmenu_"; same fix as commit: 064d55f8bc8d7d205ed0be6abb6717e92eeb7cad

[U-Boot] [PATCH] fs/ext4: caculate log2blksz from blksz, other its value = 0

2013-06-27 Thread Lan Yixun (dlan)
From: "Lan Yixun (dlan)" err: lt703a # ext4ls nand 3:0 Failed to mount ext2 filesystem... ** Unrecognized filesystem type ** bug may introduced by commit: commit 50ce4c07df1c98aabf4630b35152ed95a87242f7 Author: Egbert Eich Date: Wed May 1 01:13:19 2013 + fs/ext4: Supp