Author Topic: uboot + coreboot  (Read 1705 times)

amigabill

  • Newbie
  • *
  • Posts: 9
    • View Profile
uboot + coreboot
« on: December 26, 2014, 03:15:05 AM »
My preliminary investigation into a combination of uboot and coreboot seemed to show that the licenses were compatible. This would be helpful if a southbridge/FCH chip was used together with a PPC SoC CPU. Coreboot supports some AMD and Intel parts that might be useful in the hardware design. Some are supported in open-source modules, some are supported as binary blobs, which are x86 binary, but the x86 emulation in uboot originally intended to run graphic card init ROM code can probably be used for these blobs.

amigabill

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: uboot + coreboot
« Reply #1 on: December 26, 2014, 03:19:58 AM »
Trying to remember without having to read through code again, I think uboot is GPL2, maybe GPL2 or higher, and Coreboot as I rememeber was GPL2 but no mention of higher, so a combination would be a GPL 2 only result. I wouldn't mind a second set of eyes to confirm that.

feeef

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: uboot + coreboot
« Reply #2 on: December 28, 2014, 12:03:04 AM »
If you are talking about this U-Boot : http://en.wikipedia.org/wiki/Das_U-Boot
It is indeed licensed under GPL2.

Here is the licensing page : http://www.denx.de/wiki/U-Boot/Licensing

feeef

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: uboot + coreboot
« Reply #3 on: December 28, 2014, 12:13:13 AM »
Coreboot is also GPL2 : http://en.wikipedia.org/wiki/Coreboot

They are indeed compatible!

I don't know much about firmware/bootloaders so sorry if my question is stupid but you are talking about x86 emulation, won't this make the system slower? Is it an emulation that just happen during the boot process?

amigabill

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: uboot + coreboot
« Reply #4 on: December 31, 2014, 03:56:21 AM »
an x86 emulation in the das-uboot firmware would be useful only for any x86-native roms such as on graphics cards, maybe sata cards, or comparable binary blobs of coreboot startup things, perhaps such as for amd southbridge peripherals, if that is the only available way to start them up during post/boot process. An MXM graphics card, much like a desktop pci/agp/pcie graphics card, will most likely have an x86 rom needing emulated to init that card. Anything that can be, would be c-code to compile as ppc-native for the ppc laptop's firmware. das-uboot already supports most modern PPC chips, and has the x86 emu for graphics card rom images. (AmigaOne MicroA1 MimiITX board has a Radeon chip, and the AMD x86 ROM image for this chip, which would normally be on the pci/agp card, is in the flash chip along with uboot as I understand, as radeon is soldered to the motherboard). Adding Coreboot components would give access to things such as AMD southbridge/FCH items like SATA, USB, whatever is supported there by Coreboot code or blobs. If a southbridge like this would be used, and if some things are only supported by precompiled x86 binary blobs, then  the uboot's x86 emulator can  be used to run those blobs in flash for boot init of that hardware. And anything in coreboot that is available as c sources would be compiled to ppc-native firmware in flash.  if only a PPC chip is used, and no southbridge or other companion is used, then coreboot might not be required at all, and only Uboot is used, and its x86 emulator does only graphics chip rom init.

Once the firmware does its thing and turns the system over to your OS, then uboot, x86 emulator, and maybe coreboot kindof go away until next boot. The OS drivers are now fully responsible for hardware usage. if you want to run an x86 emulation inside the OS, then you need something completely different in your OS for such things, such as Qemu or whatever, as the uboot x86 emu is gone for now.

robyinno

  • Roberto Innocenti
  • Administrator
  • Newbie
  • *****
  • Posts: 47
    • View Profile
    • Gnu/Linux PowerPC notebook
Re: uboot + coreboot
« Reply #5 on: January 16, 2015, 09:50:23 AM »
Now we have updated the website Faq  page http://www.powerpc-notebook.org/faq/ about the bootloader we have intention to use: U-Boot, that is GPL 2 and later compatible.
 
Roberto Innocenti

Raffaele_Megabyte

  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: uboot + coreboot
« Reply #6 on: January 31, 2015, 02:34:47 PM »
Is it compatible in some ways with Open Firmware?

http://it.wikipedia.org/wiki/Open_Firmware

As long as I recall MorphOS ATM works only with Open Firmware platforms...

I hope U-Boot and Open Firmware could be quickly flashed into Flash-RAM Firmware Chips on the mainboard, so user could choose which one of the two loading  into the machine.

AmigaOS works already with U-Boot, so it has no problems of compatibility at all...
« Last Edit: January 31, 2015, 02:39:15 PM by Raffaele_Megabyte »
"Think" Bill Gates. "Think different" Steve Jobs.

Stop blabber thinking and Enjoy computing. You are on Amiga!

vox

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: uboot + coreboot
« Reply #7 on: March 30, 2015, 11:40:48 PM »
Is it compatible in some ways with Open Firmware?

http://it.wikipedia.org/wiki/Open_Firmware

As long as I recall MorphOS ATM works only with Open Firmware platforms...

I hope U-Boot and Open Firmware could be quickly flashed into Flash-RAM Firmware Chips on the mainboard, so user could choose which one of the two loading  into the machine.

AmigaOS works already with U-Boot, so it has no problems of compatibility at all...

MorphOS will work with UBoot once SAM460ex port is done.

duga

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: uboot + coreboot
« Reply #8 on: July 12, 2015, 11:42:40 AM »
Is it compatible in some ways with Open Firmware?

http://it.wikipedia.org/wiki/Open_Firmware

As long as I recall MorphOS ATM works only with Open Firmware platforms...

I hope U-Boot and Open Firmware could be quickly flashed into Flash-RAM Firmware Chips on the mainboard, so user could choose which one of the two loading  into the machine.

AmigaOS works already with U-Boot, so it has no problems of compatibility at all...

MorphOS will work with UBoot once SAM460ex port is done.

Done since two months with version 3.8: http://www.morphos-team.net/news

 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19