mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
ipq40xx: Netgear LBR20 fix for proper img builds
Without UBINIZE_OPTS it is possile to have error: "ubi0 error: ubi_attach_mtd_dev: failed to atach mtd23, error -22" This solve this problem. Signed-off-by: Marcin Gajda <mgajda@o2.pl>
This commit is contained in:
parent
33e72e0b3d
commit
6d8b36bfd8
@ -849,6 +849,7 @@ define Device/netgear_lbr20
|
||||
KERNEL_SIZE := 7340032
|
||||
BLOCKSIZE := 128k
|
||||
PAGESIZE := 2048
|
||||
UBINIZE_OPTS := -E 5
|
||||
IMAGE/factory.img := append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \
|
||||
append-uImage-fakehdr filesystem | pad-to $$$$(KERNEL_SIZE) | \
|
||||
append-ubi | netgear-dni
|
||||
|
Loading…
Reference in New Issue
Block a user