File tree Expand file tree Collapse file tree 5 files changed +12
-16
lines changed
Expand file tree Collapse file tree 5 files changed +12
-16
lines changed Original file line number Diff line number Diff line change 7575
7676 - name : Install cross compilers
7777 run : |
78- sudo apt-get install -y gcc-arm-none-eabi gcc-aarch64-linux-gnu gcc-powerpc-linux-gnu gnu-efi
78+ sudo apt-get install -y gcc-arm-none-eabi gcc-aarch64-linux-gnu gcc-powerpc-linux-gnu gnu-efi gcc-riscv64-unknown-elf
7979
8080 - name : make clean
8181 run : |
Original file line number Diff line number Diff line change @@ -207,12 +207,12 @@ jobs:
207207 arch : arm
208208 config-file : ./config/examples/mcxw-tz.config
209209
210- # TODO: polarfire_mpfs250.config requires PolarFire SoC SDK
211- # polarfire_mpfs250_test:
212- # uses: ./.github/workflows/test-build-mcux-sdk.yml
213- # with:
214- # arch: riscv64
215- # config-file: ./config/examples/polarfire_mpfs250.config
210+ microchip_mpfs250_test :
211+ uses : ./.github/workflows/test-build.yml
212+ with :
213+ arch : riscv64
214+ config-file : ./config/examples/polarfire_mpfs250.config
215+
216216 raspi3_test :
217217 uses : ./.github/workflows/test-build.yml
218218 with :
Original file line number Diff line number Diff line change 2727#ifdef __WOLFBOOT
2828#include <printf.h>
2929
30-
31- static void panic (void );
32-
3330void hal_init (void )
3431{
3532}
@@ -88,7 +85,7 @@ void *hal_get_dts_update_address(void)
8885 return 0 ;
8986}
9087
91- static void panic (void )
88+ void panic (void )
9289{
9390 while (1 ) {}
9491}
Original file line number Diff line number Diff line change 2727#endif
2828
2929#include <stddef.h>
30- #ifndef TARGET_library
30+ #if !defined( TARGET_library ) && !defined( ARCH_RISCV64 )
3131#include <string.h>
3232#else
3333size_t strlen (const char * s ); /* forward declaration */
Original file line number Diff line number Diff line change 4343#include "printf.h"
4444#include "wolfboot/wolfboot.h"
4545#include "disk.h"
46+ #ifdef WOLFBOOT_ELF
47+ #include "elf.h"
48+ #endif
4649
4750#include <stdint.h>
4851#include <string.h>
5356#include "x86/ahci.h"
5457#include "x86/ata.h"
5558#include "pci.h"
56-
57- #ifdef WOLFBOOT_TGL
5859#include "x86/tgl_fsp.h"
59- #endif
6060
6161#ifdef TARGET_kontron_vx3060_s2
6262 #define BOOT_PART_A 5
@@ -117,7 +117,6 @@ void RAMFUNCTION wolfBoot_start(void)
117117#ifdef WOLFBOOT_FSP
118118 struct stage2_parameter * stage2_params ;
119119 uint32_t sata_bar ;
120-
121120 ret = x86_fsp_tgl_init_sata (& sata_bar );
122121 if (ret != 0 )
123122 wolfBoot_panic ();
You can’t perform that action at this time.
0 commit comments