mirror of https://github.com/hak5/openwrt-owl.git
lantiq: enable SysupgradeNAND for BTHOMEHUBV2B
Enables SysupgradeNAND for BTHOMEHUBV2B. Depends on the following patches: http://patchwork.openwrt.org/patch/5817/ http://patchwork.openwrt.org/patch/5848/ http://patchwork.openwrt.org/patch/5851/ Many thanks everyone for your help the last couple of days. Ben Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 41566owl
parent
4e35eef1d7
commit
03fef9a2d2
|
@ -1,7 +1,17 @@
|
||||||
|
. /lib/functions/lantiq.sh
|
||||||
|
|
||||||
PART_NAME=firmware
|
PART_NAME=firmware
|
||||||
|
|
||||||
platform_check_image() {
|
platform_check_image() {
|
||||||
[ "$#" -gt 1 ] && return 1
|
[ "$#" -gt 1 ] && return 1
|
||||||
|
local board=$(lantiq_board_name)
|
||||||
|
|
||||||
|
case "$board" in
|
||||||
|
BTHOMEHUBV2B )
|
||||||
|
nand_do_platform_check $board $1
|
||||||
|
return $?;
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
case "$(get_magic_word "$1")" in
|
case "$(get_magic_word "$1")" in
|
||||||
# uImage
|
# uImage
|
||||||
|
|
Loading…
Reference in New Issue