zoukankan      html  css  js  c++  java
  • Petalinux fsbl RSA_SUPPORT

    petalinux-build -c bootloader

    petalinux-build -c bootloader -x distclean

    petalinux-build -c bootloader

    diff -uNr zynq_fsbl_old zynq_fsbl_new > diff.patch

    diff -uNr zynq_fsbl_old/src/fsbl_debug.h zynq_fsbl_new/src/fsbl_debug.h
    --- zynq_fsbl_old/src/fsbl_debug.h 2021-06-17 09:52:02.062166000 +0800
    +++ zynq_fsbl_new/src/fsbl_debug.h 2021-06-17 09:06:33.043297000 +0800
    @@ -50,7 +50,8 @@
    extern "C" {
    #endif

    -
    +#define FSBL_DEBUG_INFO
    +
    #define DEBUG_GENERAL 0x00000001 /* general debug messages */
    #define DEBUG_INFO 0x00000002 /* More debug information */

    diff -uNr zynq_fsbl_old/src/fsbl.h zynq_fsbl_new/src/fsbl.h
    --- zynq_fsbl_old/src/fsbl.h 2021-06-17 09:52:02.062166000 +0800
    +++ zynq_fsbl_new/src/fsbl.h 2021-06-16 14:05:48.807769000 +0800
    @@ -310,6 +310,8 @@
    #ifndef XIL_FSBL_H
    #define XIL_FSBL_H

    +#define RSA_SUPPORT
    +
    #ifdef __cplusplus
    extern "C" {
    #endif
    @@ -327,7 +329,6 @@
    #include <stdio.h>
    #endif

    -
    /************************** Constant Definitions *****************************/
    /*
    * SDK release version
    diff -uNr zynq_fsbl_old/src/rsa.c zynq_fsbl_new/src/rsa.c
    --- zynq_fsbl_old/src/rsa.c 2021-06-17 09:52:02.064166000 +0800
    +++ zynq_fsbl_new/src/rsa.c 2021-06-16 14:14:55.644493000 +0800
    @@ -55,8 +55,9 @@
    ******************************************************************************/

    /***************************** Include Files *********************************/
    -#ifdef RSA_SUPPORT
    #include "fsbl.h"
    +#ifdef RSA_SUPPORT
    +
    #include "rsa.h"
    #include "xilrsa.h"

  • 相关阅读:
    python3----列表
    python3----字符串
    PTA 深入虎穴 (正解)和树的同构
    第5章 树与二叉树学习小结
    第4章学习小结_串(BF&KMP算法)、数组(三元组)
    《数据结构》第3章-栈与队列的学习总结
    《数据结构》第2章线性表的学习总结
    Web安全基础——小白自学
    git撤销commit
    收藏一些比较好的前端博客
  • 原文地址:https://www.cnblogs.com/arci/p/14892294.html
Copyright © 2011-2022 走看看