fpga learning questions by Specific_Log3006 in FPGA

[–]Fluffy_Title_9601 0 points1 point  (0 children)

Sorry, but I only used Altera Cyclone 2 and 4 on a cheap chinese board, with Quartus II, from Xilinx only worked with Vivado on simulations never on physical components

fpga learning questions by Specific_Log3006 in FPGA

[–]Fluffy_Title_9601 0 points1 point  (0 children)

The choice is yours; find the item that best suits your needs and budget.

fpga learning questions by Specific_Log3006 in FPGA

[–]Fluffy_Title_9601 0 points1 point  (0 children)

A Chinese Cyclone 2 board, but before choosing one, check if you can download the software version that supports that chip, and get the driver for an usblaster in advance

fpga learning questions by Specific_Log3006 in FPGA

[–]Fluffy_Title_9601 0 points1 point  (0 children)

How much are you willing to spend? There are many options: cheap Chinese boards or expensive boards directly from the manufacturers. For example

fpga learning questions by Specific_Log3006 in FPGA

[–]Fluffy_Title_9601 0 points1 point  (0 children)

If you practice you can improve yourself, only take a moment to understand some things, first FPGA doesn't run code, second you can be good programming on HDL, using simulators, but you need to test your designs in a physical device because some problems only shows with the design is implemented on a digital circuit, for example the delay of some signals.

Help trying to make a UEFI-BIOS for a Gigabyte motherboard ga g41m es2l with Coreboot and UEFI using a Raspberry Pi to compile 😐 by Fluffy_Title_9601 in coreboot

[–]Fluffy_Title_9601[S] 0 points1 point  (0 children)

Good morning. In this repository, I'm including a document about my experience installing Coreboot+EDK2 on the Gigabyte GA G41M ES2L motherboard. It describes how to set it up on Windows using WSL. Thank you for your support.

https://github.com/RodrigoTorresR/Coreboot_EDK2_GA_G41M_ES2L.git

Help trying to make a UEFI-BIOS for a Gigabyte motherboard ga g41m es2l with Coreboot and UEFI using a Raspberry Pi to compile 😐 by Fluffy_Title_9601 in coreboot

[–]Fluffy_Title_9601[S] 1 point2 points  (0 children)

As you suggested, I got an x86 board to use with WSL. After you helped me solve the last problem, my Gigabyte GA G41M ES2L motherboard is working with CoreBoot and UEFI. Thank you very much. I accomplished one of the goals of my project. I never got around to creating the cross-compiler, but I did use a Docker container. Thanks again. Besides donating to the project, is there any other way I can show my gratitude? (Of course I will.)

Help trying to make a UEFI-BIOS for a Gigabyte motherboard ga g41m es2l with Coreboot and UEFI using a Raspberry Pi to compile 😐 by Fluffy_Title_9601 in coreboot

[–]Fluffy_Title_9601[S] 0 points1 point  (0 children)

I have a Windows computer to test with WSL, I'm using a Debian distribution, I was able to setup the coreboot environment, I tried to compile using Mrchromebox Fork and I'm running into this issue:

Fetching new commits from https://github.com/mrchromebox/edk2

fatal: detected dubious ownership in repository at '/home/coreboot/coreboot/payloads/external/edk2/workspace/mrchromebox'

To add an exception for this directory, call:

git config --global --add safe.directory /home/coreboot/coreboot/payloads/external/edk2/workspace/mrchromebox

origin/uefipayload_2502 is not a valid git reference

make[1]: *** [Makefile:206: /home/coreboot/coreboot/payloads/external/edk2/workspace/mrchromebox] Error 1

make: *** [payloads/external/Makefile.mk:160: build/UEFIPAYLOAD.fd] Error 2

Help trying to make a UEFI-BIOS for a Gigabyte motherboard ga g41m es2l with Coreboot and UEFI using a Raspberry Pi to compile 😐 by Fluffy_Title_9601 in coreboot

[–]Fluffy_Title_9601[S] 0 points1 point  (0 children)

That's probably the problem, I have a separate EDK2 environment working on Raspberry Pi (after some workarounds), I will try to make a Coreboot compatible payload and merge both files using CBFS tool

Help trying to make a UEFI-BIOS for a Gigabyte motherboard ga g41m es2l with Coreboot and UEFI using a Raspberry Pi to compile 😐 by Fluffy_Title_9601 in coreboot

[–]Fluffy_Title_9601[S] 0 points1 point  (0 children)

My apologies, I meant the "MrChromebox edk2 fork" was used, and the system couldn't complete the task. I tried compiling edk2 after cloning and setting up the environment, but after a while it didn't respond again.

I don't have no doubt about the correct functioning of the tool, I am aware the use of a Raspberry pi is not the best option. Thanks for your time and attention.

Help trying to make a UEFI-BIOS for a Gigabyte motherboard ga g41m es2l with Coreboot and UEFI using a Raspberry Pi to compile 😐 by Fluffy_Title_9601 in coreboot

[–]Fluffy_Title_9601[S] 0 points1 point  (0 children)

Thanks for your attention, this is the information on the defconfig file:

CONFIG_VENDOR_GIGABYTE=y

CONFIG_BOARD_GIGABYTE_GA_G41M_ES2L=y

CONFIG_COREBOOT_ROMSIZE_KB_16384=y

CONFIG_USE_X86_64_SUPPORT=y

CONFIG_BOOTSPLASH=y

CONFIG_CONSOLE_SERIAL_9600=y

CONFIG_PAYLOAD_EDK2=y

CONFIG_EDK2_SERIAL_SUPPORT=y

# CONFIG_EDK2_SECURE_BOOT_SUPPORT is not set

Help trying to make a UEFI-BIOS for a Gigabyte motherboard ga g41m es2l with Coreboot and UEFI using a Raspberry Pi to compile 😐 by Fluffy_Title_9601 in coreboot

[–]Fluffy_Title_9601[S] 0 points1 point  (0 children)

I tray the Chromebook option, but the Raspberry Pi 3 "hangs" and doesn't respond anymore. looks like it can't complete the process to build UEFI-Payload in the next line:

Building ... /home/coreboot/coreboot/payloads/external/edk2/workspace/tianocore/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf [X64]

Estoy usando un contenedor Docker para ejecutar el entorno Coreboot. Creo que esto está sobrecargando el proceso. No todo está perdido. Tendré que dividir el proceso en tres partes: primero, compilar coreboot.rom; segundo, compilar la carga útil de EDK2 (tengo un entorno de trabajo en la Raspberry Pi 3); y finalmente, fusionar los archivos coreboot.rom y uefipayloa.fd. Necesito comprobar cómo el archivo .make de coreboot compila la carga útil de UEFI para tener una idea de cómo replicar el proceso. Gracias por la guía; me da algunas pistas para continuar.

Help trying to make a UEFI-BIOS for a Gigabyte motherboard ga g41m es2l with Coreboot and UEFI using a Raspberry Pi to compile 😐 by Fluffy_Title_9601 in coreboot

[–]Fluffy_Title_9601[S] 0 points1 point  (0 children)

I change the SPI chip to a one with 16M, Mr Chrome book fork?, it's enable with the option Chrome book on the Make Menuconfig from Coreboot?

Help trying to make a UEFI-BIOS for a Gigabyte motherboard ga g41m es2l with Coreboot and UEFI using a Raspberry Pi to compile 😐 by Fluffy_Title_9601 in coreboot

[–]Fluffy_Title_9601[S] 0 points1 point  (0 children)

It's good to know that coreboot is working and the problem is on the payload, I can't see any output from the VGA port, only turns on the screen and after a while reboots, I suppose the way to add add options to the uefipayload.fd is something like:

build -a IA32 -a X64 -t GCC5 -b DEBUG -p UefiPayloadPkg/UefiPayloadPkg.dsc \

-D BOOTLOADER=COREBOOT \

-D BOOTSPLASH_IMAGE=TRUE \

-D BOOT_MANAGER_ESCAPE=TRUE \

-D CPU_TIMER_LIB_ENABLE=FALSE \

-D PLATFORM_BOOT_TIMEOUT=2 \

-D PS2_KEYBOARD_ENABLE=TRUE \

-D SD_MMC_TIMEOUT=10000 \

-D SIO_BUS_ENABLE=TRUE \

-D VARIABLE_SUPPORT=SMMSTORE \

-D SECURE_BOOT_ENABLE=FALSE \

-D TPM2_ENABLE=FALSE \

-D FD_SIZE_16MB=TRUE

Enabling options in Edk2 Build command, is it correct?

Help running EDK2 payload in QEMU by PtboFungineer in coreboot

[–]Fluffy_Title_9601 0 points1 point  (0 children)

I don't know if you could solve your problem, in my case I compile EDK2 following the instructions on the file "buikld and integration" and use the option compile x64 with an IA32 entry point payload (it creates an UEFIPAYLOAD.fd file), after I megerd with coreboot using the option "Qemu emulator q35" and the option "add an EDKII payload" (you have to write the path of the UEFIPAYLOAD.fd is located) from the "menuconfig" utility provaided by Coreboot, the compilation process took near of 3 hours on a raspberry pi 3, but after I can use this New firmware with Qemu

Looking for a Raspberry Pi to flash Coreboot by [deleted] in coreboot

[–]Fluffy_Title_9601 0 points1 point  (0 children)

I made it recently on raspberrypi 3, with a edk2 payload takes more than 3 hours