[OpenWrt-Devel] [PATCH] ramips: HooToo HT-TM02 factory image generation.

Florian Fainelli florian at openwrt.org
Fri Jan 9 10:17:36 EST 2015


Le 9 janv. 2015 07:09, "Vittorio G (VittGam)" <openwrt at vittgam.net> a écrit
:
>
> 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.

What about a statically linked binary at least?

>
> Cheers,
> Vittorio
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150109/9b389c6f/attachment.htm>
-------------- next part --------------
_______________________________________________
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