[OpenWrt-Devel] [PATCH] ramips: HooToo HT-TM02 factory image generation.
Vittorio G (VittGam)
openwrt at vittgam.net
Fri Jan 9 10:09:13 EST 2015
Il 09.01.2015 10:48 John Crispin ha scritto:
>>> + mkhootoofw.sh "$(DL_DIR)/hootoo_mtd_writer" "$(call
>>> sysupname,$(1),$(2))" "$(call imgname,$(1),$(2))-factory.bin"
>>> +endef +BuildFirmware/HooToo8M/initramfs=$(call
>>> BuildFirmware/OF/initramfs,$(1),$(2),$(3)) +
>
>
> this bit is really bad. you cannot install a binary from a random
> source and use that to flash the unit. the tool needs to be compiled
> during the build process
Unfortunately the factory image uses an ancient version of uclibc, so
binaries compiled with the newer version bundled with OpenWrt do not
work on it... Anyway I've compiled that binary using the toolchain
provided by HooToo, and the build is reproducible, so you or anybody
else can easily verify that I'm not lying. :)
Please let me know if you have a better solution, because in fact this
is not quite clean.
Cheers,
Vittorio
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list