mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-27 23:26:59 +08:00

This target adds support for the Allwinner D1 RISC-V based SoCs. - RISC-V single-core T-Head C906 (RV64GCV) - Tensilica HiFi4 DSP - DDR2/DDR3 support - 10/100/1000M ethernet - usual peripherals like USB2, SPI, I2C, PWM, etc. Installation: Standard SD-card installation via dd-ing the generated image to an SD-card of at least 256Mb. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
25 lines
629 B
Diff
25 lines
629 B
Diff
--- a/tools/image-host.c
|
|
+++ b/tools/image-host.c
|
|
@@ -1137,6 +1137,7 @@ static int fit_config_add_verification_d
|
|
* 2) get public key (X509_get_pubkey)
|
|
* 3) provide der format (d2i_RSAPublicKey)
|
|
*/
|
|
+#ifdef CONFIG_TOOLS_LIBCRYPTO
|
|
static int read_pub_key(const char *keydir, const void *name,
|
|
unsigned char **pubkey, int *pubkey_len)
|
|
{
|
|
@@ -1190,6 +1191,13 @@ err_cert:
|
|
fclose(f);
|
|
return ret;
|
|
}
|
|
+#else
|
|
+static int read_pub_key(const char *keydir, const void *name,
|
|
+ unsigned char **pubkey, int *pubkey_len)
|
|
+{
|
|
+ return -ENOSYS;
|
|
+}
|
|
+#endif
|
|
|
|
int fit_pre_load_data(const char *keydir, void *keydest, void *fit)
|
|
{
|