On 15/03/2019 20.06, Aleksandar Markovic wrote:
>> From: Thomas Huth <h...@tuxfamily.org>
>> Subject: Re: Maintainers, please tell us how to boot your machines!
>>
>>> On Tue, Mar 12, 2019 at 6:44 PM Markus Armbruster <arm...@redhat.com>
>>> wrote:
>> [...]
>>>> I gathered the machine types, mapped them to source files, which I
>>>> fed to get_maintainer.pl.  Results are appended.  If you're cc'ed,
>>>> MAINTAINERS fingers you for at least one machine type's source file.
>>>> Please tell us for all of them how to to a "meaningful" boot test.
>> [...]
>>>>     = hw/mips/mips_mipssim.c =
>>>>     Aleksandar Markovic <amarko...@wavecomp.com> (odd fixer:Mipssim)
>>>>     Aleksandar Rikalo <arik...@wavecomp.com> (reviewer:Mipssim)
>>>>     Aurelien Jarno <aurel...@aurel32.net> (maintainer:MIPS)
>>>
>>> See this thread:
>>> http://lists.nongnu.org/archive/html/qemu-devel/2018-04/msg04071.html
>>
>> You can still create an image for the mipssim machine with "buildroot".
>> It's cumbersome, and you've got to use an older Linux kernel (< 3.6
>> IIRC), but it's doable. I once built an image for this machine a couple
>> of months ago. Let me know if you want it.
>>
> 
> Thomas,
> 
> That would be great! Please attach the procedure you use, it is a valuable
> information. I truly appreciate your participation!

Here we go (finally):

 wget https://buildroot.org/downloads/buildroot-2014.11.tar.bz2
 tar -xaf buildroot-2014.11.tar.bz2
 cd buildroot-2014.11/
 make menuconfig

Target Options:
 Target Architecture = MIPS little endian
 Target Arch Variant = mips32r2
 Soft float = y

Kernel:
 Kernel = y
 Kernel version = 3.6.11
 Kernel config = defconfig
 Defconfig name = mipssim
 Kernel binary format = vmlinux

Toolchain:
 Kernel Headers Version = manually
  linux version = 3.6.11
  Custom kernel header series = 3.6.x

Filesystem images:
 initial RAM filesystem linked into linux kernel =y

... then exit and save the config, and finally type "make".

Then you should be able to run:

 qemu-system-mipsel -M mipssim -nographic -kernel output/images/vmlinux


 HTH,
  Thomas

Reply via email to