[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EdgeBSD/lm32 news


  • To: EdgeBSD developers <edgebsd-developers@xxxxxxxxxxxxxxxxx>
  • Subject: EdgeBSD/lm32 news
  • From: Yann Sionneau <fallen@xxxxxxxxxxx>
  • Date: Sat, 13 Sep 2014 21:12:02 +0200
  • Delivered-to: edgebsd-developers@xxxxxxxxxxxxxxxxx
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=ftXxRTzTUeHmBvFaR1Fr/kZ3sHW2tgWXzgpi+xqFHXk=; b=ouwuLHz7vogqPZkAzpP9GuSIqNMOy24Kwq67qEMIkqv/nzb7Arim4HTNTk43I7wdtl REDsJigqn3HOcR2W4kx8RZa+IE8Qy3Mt0bSeOcKOZWSs4+blygbWW/ehY6OnC8PF0Yt+ ybYgKgl6RBuMuATKdH+c1Y5ja/0KBWxDUKvJCKDTqzpieJLSEkMM3trN6ZSr4kwkshyX PamGKv48lTxRNONwZCMrfiFaQKYqRZ+yPfqUDjoAoXuhOctUcJU2j4DEFBp/ScRemMU3 b8bWtS/FtmW5ZtbBfHZ/BiVBp/5P439XCM5BNSbYUTF07hbXXD1XQ9QGZfYKAM0HnrCE o9PA==
  • Sender: yann.sionneau@xxxxxxxxx

Hello fellow EdgeBSD developers,

Since I've just hit an important milestone in my lm32 port I figured I would send an update on the list :)

Since a few days ago, the LatticeMico32 port is able to print some text from user space ( /sbin/init ) \o/

Here is a pastebin of the boot inside qemu: [0]

There is a lot of crappy debug output, sorry about that!
I am compiling with the following debug options:
- DEBUG_EXEC
- LOCKDEBUG
- DEBUG
- DIAGNOSTIC

I published an updated "howto" which explains what works so far and how to clone the source, compile the in-tree toolchain, compile the kernel, compile the /sbin/init user space program and stuff it inside the kernel's MFS (ramdisk) etc: [1]

Here is the code of the /sbin/init which executes successfully: [2]

Cheers!

[0] -- http://pastebin.com/ubetYSFE
[1] -- https://www.edgebsd.org/edgebsd/wiki/14/port-lm32
[2] -- https://github.com/fallen/NetBSD-lm32_init/blob/95ececbaeba69a1956752a16d00d65d251b17a23/init.c

--
Yann Sionneau