There are instructions for compiling and building the image on the wiki. I was 
able to follow them with only a few diversions.

https://bitbucket.org/hayashin/illumos-gate/wiki/Home

I did the build on a SuSE-leap vm with 8gb of ram. I had to throttle the number 
of make jobs to keep it from running out of memory. I suspect this was the 
cause of the two or three issues I had. 

Basically, you build, then share the “proto” directory via NFS. Then, put the 
u-boot boot loader on the flash card and boot the c2 from the network. Then you 
can put illumos on the flash card from within illumos. The network boot is 
necessary because the boot loader needs a solaris vtoc (using solaris fdisk + 
format) in order to find the root zfs pool on the flash card. 

Getting the nfs export working and setting the flash card up to boot were the 
two stumbling blocks for me. I think someone better versed in the workings of 
nfs on linux would not have had trouble with the first issue.

Overall, considering that you’re cross compiling an entire operating system, it 
was pretty painless. Your mileage may vary; I’m still planning to put an image 
together when I get some free time. 

Bill

> On May 27, 2020, at 9:57 AM, Alex Smith (K4RNT) <[email protected]> 
> wrote:
> 
> I've never done this before. What kind of work is required to get a bootable 
> ramdisk image? What kind of development system is required? Is Solaris 
> required as the development host? How do I set up cross-compiling?
> 
> Even if its just a link to a HOWTO, I'd appreciate some steps.
> 
> Thanks in advance!
> 
> " 'With the first link, the chain is forged. The first speech censured, the 
> first thought forbidden, the first freedom denied, chains us all 
> irrevocably.' Those words were uttered by Judge Aaron Satie as wisdom and 
> warning... The first time any man's freedom is trodden on, we’re all 
> damaged." - Jean-Luc Picard, quoting Judge Aaron Satie, Star Trek: TNG 
> episode "The Drumhead"
> - Alex Smith
> - Kent, Washington (metropolitan Seattle area)
> 
> 
> On Tue, May 26, 2020 at 7:27 PM H William Welliver <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi Alex-
> 
> The XU4 uses a part from Samsung, so I would not expect it to work without 
> major effort. The N2 uses a related Amlogic SoC, so the peripherals are 
> probably similar.  However it has asymmetric  processor cores. It might be 
> possible to get things bootstrapped, but I don’t think illumos is able to 
> shift between cores based on the load. The N2 probably has an external 
> ethernet PHY so that would probably need some work as well.
> 
> My (highly) personal view is that it would be better to get eMMC, USB and 
> frame buffer support for the C2 as well as the bits that are not currently 
> being built, like dtrace and some other things (like clock tick decoupling). 
> That effort would probably not be a waste of time as vendors typically use 
> peripherals from one part to the next. A bigger problem would be getting 
> decent data sheet info from Amlogic. It doesn’t look like the *BSDs support 
> these SoCs yet, so the road would need to be cut out of the jungle.
> 
> I’d be happy to have a chat if anyone is interested in pursuing the ARM path 
> further. 
> 
> Best,
> 
> Bill
> 
>> On May 25, 2020, at 7:31 PM, Alex Smith (K4RNT) <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Thanks for the quick reply. I have a C2 and an XU4, and the C2 is currently 
>> running.
>> 
>> So I'll basically need a UART serial adapter for these boards. Will get one.
>> 
>> Is there any possibility of the XU4 or N2 being targeted, along with the C4?
>> 
>> " 'With the first link, the chain is forged. The first speech censured, the 
>> first thought forbidden, the first freedom denied, chains us all 
>> irrevocably.' Those words were uttered by Judge Aaron Satie as wisdom and 
>> warning... The first time any man's freedom is trodden on, we’re all 
>> damaged." - Jean-Luc Picard, quoting Judge Aaron Satie, Star Trek: TNG 
>> episode "The Drumhead"
>> - Alex Smith
>> - Kent, Washington (metropolitan Seattle area)
>> 
>> 
>> On Mon, May 25, 2020 at 1:48 PM H William Welliver <[email protected] 
>> <mailto:[email protected]>> wrote:
>> Hi Alex,
>> 
>> I’m not sure there’s a formal group working on the ARM stuff; you’re 
>> probably best addressing the group for the best shot at answers. Hayashi 
>> Naoyuki created the port; I’m not sure if he has been in touch with you, but 
>> he does monitor this group. I was able to get things up and running in my 
>> environment; I’ve added a few things to the build required to get pkgsrc 
>> bootstrapped and will be sharing those changes as soon as I get some free 
>> time. I’m also going to try to prepare an image for folks that would like to 
>> play around but don’t want to bother with a logic level serial adapter 
>> (there is currently no USB or frame buffer support, so serial console only).
>> 
>> It’s probably worth noting that the ODroid-C2 is reaching end of life; I 
>> sort of expect it will become unavailable some time around the end of the 
>> year. Its replacement, the C4 is similar and I suspect the peripherals will 
>> be the same, but I expect that there will be effort required to get illumos 
>> up and running on it. 
>> 
>> Bill
>> 
>>> On May 25, 2020, at 3:14 PM, Alex Smith (K4RNT) <[email protected] 
>>> <mailto:[email protected]>> wrote:
>>> 
>>> Hey guys and gals,
>>> 
>>> I'm trying to get in touch with the group that is working on ARM 
>>> architecture.
>>> 
>>> Could the people working on ARM with the ODROID SBCs please get in touch 
>>> with me?
>>> 
>>> Thanks much!
>>> 
>>> " 'With the first link, the chain is forged. The first speech censured, the 
>>> first thought forbidden, the first freedom denied, chains us all 
>>> irrevocably.' Those words were uttered by Judge Aaron Satie as wisdom and 
>>> warning... The first time any man's freedom is trodden on, we’re all 
>>> damaged." - Jean-Luc Picard, quoting Judge Aaron Satie, Star Trek: TNG 
>>> episode "The Drumhead"
>>> - Alex Smith
>>> - Kent, Washington (metropolitan Seattle area)
>>> 
>>>   
>>> <https://mailtrack.io/?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
>>>     Sender notified by
>>> Mailtrack 
>>> <https://mailtrack.io/?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
>>>  05/25/20, 12:14:17 PM      
>>> 
>> 
>> 
>>   
>> <https://mailtrack.io/?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
>>      Sender notified by
>> Mailtrack 
>> <https://mailtrack.io/?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
>>  05/25/20, 04:29:50 PM       
>> 
> 
> illumos <https://illumos.topicbox.com/latest> / illumos-discuss / see 
> discussions <https://illumos.topicbox.com/groups/discuss> + participants 
> <https://illumos.topicbox.com/groups/discuss/members> + delivery options 
> <https://illumos.topicbox.com/groups/discuss/subscription>Permalink 
> <https://illumos.topicbox.com/groups/discuss/T2dbc3c4d730e19e9-M1b23e1d8b09b5864262c7f41>

------------------------------------------
illumos: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/T2dbc3c4d730e19e9-Mddf9d45398bae335ebdbb0c8
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

Reply via email to