搜尋此網誌
u-boot user space envtools config fiile example
cat /etc/fw_env.config
# MTD device name Device offset Env. size Flash sector size Number of sectors
/dev/mtd1 0x0000 0x10000 0x10000 1
This example demo u-boot env on mtd partition index 1, start offset for mtd1 is 0,
u-boot env size define in your u-boot board config is 0x10000 ,flash sector size is 0x10000, number sector size is 1.
Dwongrad squashfs from 4.x to 3.x for linux 3.x
1. get DDWRT source ,sync linux 3.3 fs to your linux 3.3 source .
(1) fs/squashfs -> complete change
(2) fs/Kconfig - > merge
(3) include/linux/ add 3 file to your linux 3.x /include/linux
squashfs_fs.h
squashfs_fs_i.h
squashfs_fs_sb.h
(4) sync include/linux/magic.h /* main purpose mark squash4 magic //#define SQUASHFS_MAGIC 0x73717368*/
(1) fs/squashfs -> complete change
(2) fs/Kconfig - > merge
(3) include/linux/ add 3 file to your linux 3.x /include/linux
squashfs_fs.h
squashfs_fs_i.h
squashfs_fs_sb.h
(4) sync include/linux/magic.h /* main purpose mark squash4 magic //#define SQUASHFS_MAGIC 0x73717368*/
訂閱:
文章 (Atom)