Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
3,431 Views

How about to load zephyr kernel in Galileo Gen2?

Hi Intel

In Zephyr project, the zephyr kernel already support galileo gen2 board.

How to do porting in Galileo Gen2 Board?

Do you have any about porting zephyr kernel document and information?

Thank Clayder

Tags (1)
11 Replies
idata
Community Manager
173 Views

Hi Sergio

Thank you for your message.

I already tried to rebuild the Zephyr kernel. But it's fail.

I can success to build grub.efi.

 

But "make BOARD=galileo" it is fail.

Makefile:11: *** Invoking make from top-level kernel directory is not supported. Stop

 

Clayder

 

 

 

 

Sergio_A_Intel
Employee
173 Views

I'd suggest you to contact the Zephyr support. https://www.zephyrproject.org/doc/board/galileo.html https://www.zephyrproject.org/doc/board/galileo.html they're the ones who developed this kernel and will be able to provide you a better suggestion to your build problem.

Sergio

asss
Valued Contributor II
173 Views

Hi,

I have tried to compile Zephyr.

Here is a result on Galileo Gen2:

What I may say:

1. there is a lot of bugs

2. not all interfaces are supported (SPI1.0,..)

3. I really like it, even it is so uncooked. I guess it will be better is the time.

A demo compilation is here: https://github.com/xbolshe/galileo-custom-images/tree/master/zephyr galileo-custom-images/zephyr at master · xbolshe/galileo-custom-images · GitHub

BR,

xbolshe

anara5
Beginner
173 Views

i followed the steps in the . https://www.zephyrproject.org/doc/board/galileo.html https://www.zephyrproject.org/doc/board/galileo.html link but the board didn't detect the sd card and boots from the on board flash.

pressing f7 didn't list any menu..

And also i tried using the same image from : https://github.com/xbolshe/galileo-custom-images/tree/master/zephyr galileo-custom-images/zephyr at master · xbolshe/galileo-custom-images · GitHub as xbolshe result the same.

Is there any way to enable the sd card boot or is it enabled by default?

could someone share the thoughts?

asss
Valued Contributor II
173 Views

Try to check:

BR,

xbolshe

anara5
Beginner
173 Views

thank you. it worked.

asss
Valued Contributor II
173 Views

Hi,

newer Zephyr version works better (no need to modify it for Gen1 as in the previous time):

BR,

xbolshe

idata
Community Manager
173 Views

Hi xbolshe

New Zephyr version is 1.4 and can support Gen1.

I'm trying to boot the zephyr nanokernel on my Galileo Gen1 board.

I'm following the steps listed on the http://zephyrproject.org/ zephyrproject.org website.

I can not boot up Zephyr code from Gen1.

My question like Eric.Zaluzec.

Question link:

https://lists.zephyrproject.org/archives/list/users@lists.zephyrproject.org/thread/MLPILG4A226LE2NXS... https://lists.zephyrproject.org/archives/list/users@lists.zephyrproject.org/thread/MLPILG4A226LE2NXS...

I follow step by step to boot zephyr on my Galileo Gen1.

https://www.zephyrproject.org/doc/board/galileo.html# booting-the-galileo-board https://www.zephyrproject.org/doc/board/galileo.html# booting-the-galileo-board

Under the 'Procedures' section, I have created the GRUB2 boot loader image. And in step3, I can verify the binary file called grub.efi was generated. However, under the next section 'Preparing the Boot Device', step 6 states the built version of GRUB should be called bootia32.efi. Is the name of the .efi file here relevant or is just the directory location on the microSD card? If grub.efi and bootia32.efi the same? I only can find the grub.efi and not any bootia32.efi file. When powering on the Galileo board with the inserted SD card, I get a grub menu that says, "No boot/grub/grub.conf file found on 1st USB or SD device". For step 7, under the 'Preparing the Boot Device' section, I have created a efi/boot/grub.cfg file which looks very similar to the boot/grub/grub.conf file but is not used like the grub.conf file. I am able use a default Galileo image on an SD card and the board boot correctly, but I think I am missing some steps on getting the zephyr kernel launched. Has anybody been able to get this running? Am I missing any files that need to be on my SD card?

Do you have any advice?

Clayder

idata
Community Manager
173 Views

Hi xbolshe

I already success run zephyr on Galileo GEN1. The Hello World example.

But have error message? no suitable video mode found.

About example ? You can send command "help" "ping".

Is it "net" example, right?

Clayder

asss
Valued Contributor II
173 Views

Hi clayder,

the error message may be removed after adding the following string inside menuentry of the grub.cfg:

set gfxpayload=text

No, it was "shell" example.

BR,

xbolshe

Reply