I have openwrt Attitude_adjustment version. After compilation I do not have sysupgrade.bin image in the /bin folder. I could not find any information on how to create one. But according to some sources in order to compile the right image I should modify /target/linux/ar71xx/image/make file.
I addes the last line $(call Sysupgrade/RKuImage,$(1),$(2))
define Image/Build/MyLoader
$(call PatchKernelLzma,$(2),$(3))
-$(STAGING_DIR_HOST)/bin/mkmylofw -B $(2) -s $(4) \
-p0x030000:0xf0000:al:0x80060000:kernel:$(KDIR_TMP)/vmlinux-$(2).bin.lzma \
-p0x120000:0:::rootfs:$(KDIR)/root.$(1) \
$(call imgname,$(1),$(2))-$(5)-factory.img
$(call Sysupgrade/RKuImage,$(1),$(2))
endef
using LUCi i tried to upgrade the firmware, although it says it is upgrading but there are no changes. Please help or direct me to the right direction. Did i include the code correctly?
$(call Sysupgrade/RKuImage,$(1),$(2))
also, after building sysupgrade.bin image, I should be able to flash firmware using LUci. I added few lines in platform.sh
platform_check_image() {
local board=$(ar71xx_board_name)
local magic="$(get_magic_word "$1")"
local magic_long="$(get_magic_long "$1")"
[ "$ARGC" -gt 1 ] && return 1
case "$board" in
wp543 | \
wp546 | \
..........
}
platform_do_upgrade() {
local board=$(ar71xx_board_name)
case "$board" in
wp543 | \
wp546 | \
....
}
however I am not sure if that what needs to be done to solve update process using Luci.
let me know