-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Hi,
I have been trying to build A53 with defconfig of defconfig sg2002_licheea53nano_sd
from this repo. But it ended up with
build failure. i think It is failed in ramdisk build.
[TARGET] boot
cd /home/karthikeyan/work/learn/sipeed/LicheeRV-Nano-Build/ramdisk/build/sg2002_licheea53nano_sd/workspace; /home/karthikeyan/work/learn/sipeed/LicheeRV-Nano-Build/build/tools/common/gen_init_cpio /home/karthikeyan/work/learn/sipeed/LicheeRV-Nano-Build/ramdisk/build/sg2002_licheea53nano_sd/workspace/../configs/overlayfs_fixed_files.txt.sqsh > /home/karthikeyan/work/learn/sipeed/LicheeRV-Nano-Build/ramdisk/build/sg2002_licheea53nano_sd/workspace/boot.cpio
File ../target/init could not be opened for reading
line 10
File ../target/busybox could not be opened for reading
line 11
File ../target/e2fsck could not be opened for reading
line 12
File ../target/resize2fs could not be opened for reading
line 13
File ../target/parted could not be opened for reading
line 14
File ../target/libc.so could not be opened for reading
line 15
make: *** [Makefile:387: boot] Error 255
I have followed, same commands from the README.
defconfig sg2002_licheea53nano_sd
build_all
and i had fixed the u-boot error for implicit declaration
error when building the u-boot.
diff --git a/u-boot-2021.10/drivers/jpeg/jdi.c b/u-boot-2021.10/drivers/jpeg/jdi.c
index 0634ef345..b3fa4c387 100644
--- a/u-boot-2021.10/drivers/jpeg/jdi.c
+++ b/u-boot-2021.10/drivers/jpeg/jdi.c
@@ -8,6 +8,7 @@
#include "dm/device.h"
#include "timer.h"
#include "asm/cache.h"
+#include <cpu_func.h>
#define JPU_BIT_REG_SIZE 0x1000
#define JPU_BIT_REG_BASE (0x0B000000)
diff --git a/u-boot-2021.10/drivers/jpeg/jdi_osal.c b/u-boot-2021.10/drivers/jpeg/jdi_osal.c
index 01e9b6496..4846dd751 100644
--- a/u-boot-2021.10/drivers/jpeg/jdi_osal.c
+++ b/u-boot-2021.10/drivers/jpeg/jdi_osal.c
@@ -15,6 +15,7 @@
#include "jdi_osal.h"
#include "asm/cache.h"
#include "jpulog.h"
+#include <cpu_func.h>
#if defined(JPEG_FVP)
#define FILE_BUFFER_BASE 0xE0000000
diff --git a/u-boot-2021.10/drivers/jpeg/jpurun.c b/u-boot-2021.10/drivers/jpeg/jpurun.c
index d7b07c6b2..7f3f2eefb 100644
--- a/u-boot-2021.10/drivers/jpeg/jpurun.c
+++ b/u-boot-2021.10/drivers/jpeg/jpurun.c
@@ -7,6 +7,7 @@
#include "regdefine.h"
#include <stdlib.h>
#include "asm/cache.h"
+#include <cpu_func.h>
#ifdef JPU_FPGA_PLATFORM
//#define ENC_SOURCE_FRAME_DISPLAY
This is only diff.
I don't know what i have missed.
Thanks.
Metadata
Metadata
Assignees
Labels
No labels