[OpenWrt-Devel] [PATCH] malta: disable mips16

Yousong Zhou yszhou4tech at gmail.com
Thu Aug 27 05:50:40 EDT 2015


On 27 August 2015 at 17:29, John Crispin <blogic at openwrt.org> wrote:
>
>
> On 27/08/2015 10:50, Dirk Neukirchen wrote:
>> On 27.08.2015 09:27, Yousong Zhou wrote:
>>> On 27 August 2015 at 12:02, Dirk Neukirchen <dirkneukirchen at web.de> wrote:
>>>> - it causes issues with qemu versions < 2.2
>>>> should fix issues with Ubuntu 14.03 LTS (qemu 2.0)
>>>> errors are:
>>>> Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000004
>>>>
>>>
>>> But it's a bug within qemu.  I have a simple script [1] for building
>>> qemu at least v2.3.0 from source code.
>>>
>>>  [1] https://github.com/yousong/build-scripts/blob/master/build-qemu.sh
>>>
>>>                 yousong
>>>
>>
>> MIPS16 is still deactivated on 44 packages so it still can be considered "unstable"
>> /imho
>
> rather then make it 45 and add the kernel i think we should fix stuff.
>

Well, I contributed one to that number just yesterday and I am now
testing a fix on QEMU Malta to revert it...  It's a live case that we
need QEMU Malta with MIPS16 for development of smaller firmwares (at
least) for other targets.  Doing a full build is really time-consuming
and it's a pain just thinking about having to flash those intermediate
results to a physical board with all those dumb wiring and interactive
work.

BTW. I did not know that the code size reduction could be so
significant with MIPS16.  Output of `ls -l
../ipkg-ar71xx/reaver/usr/bin/'

    -rwxr-xr-x 1 yousong yousong 410416 Aug 27 10:55 reaver
    -rwxr-xr-x 1 yousong yousong 227528 Aug 27 10:55 wash

    -rwxr-xr-x 1 yousong yousong 389936 Aug 27 10:59 reaver
    -rwxr-xr-x 1 yousong yousong 211140 Aug 27 10:59 wash

 [1] https://github.com/openwrt/packages/commit/1e29676a8ac74f797f8ca799364681cec575ae6f

               yousong
_______________________________________________
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