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"

  • 相关阅读:
    JDBC_批量处理语句提高处理速度
    JDBC_获取插入记录的主键值
    JDBC_获取数据库连接
    SmartSprites 智能批量合并 CSS 雪碧图
    移动前端开发技巧摘录
    将已有项目提交到github/从github上pull到本地
    网页设计创新式布局与交互
    如何打好前端游击战
    jQuery Mobile十大常用技巧
    Javascript图片的懒加载与预加载
  • 原文地址:https://www.cnblogs.com/arci/p/14892294.html
Copyright © 2011-2022 走看看