博客
关于我
ARM体系结构(三)——iROM——九鼎创展 x210V3s
阅读量:57 次
发布时间:2019-02-25

本文共 1674 字,大约阅读时间需要 5 分钟。

iROM?BL1??????

iROM?????

iROM????????????????????????????????????????

  • ?????????????????????????????????
  • ?????????????????????????????????
  • ????????????????????????
  • ????????????????????????????
  • ????????????????????????????
  • ??PLL???????????????????????
  • ??BL1??????SRAM???BL1??????iROM???SRAM????
  • ???????????????????????
  • ??????????????????????
  • ???BL1?????????????BL1?????????
  • ???iROM???????????????????????????????????

    BL1????

    BL1????????????????????

  • ????????

    • ??????????????
    • ???DRAM????????????????
    • ???????????????????????
    • ????????????????????????
    • ??BL2?DRAM???BL2??????????????
    • ???BL2??????????BL2???????
  • ??????

    • ????????????????
    • ??????????????????????????
  • ???BL1????16???????????????????

    ????

    ????????????????????????????????????

    ; ??????ldr r0, =0xE010_E81Cunsigned int* p = 0xE010_E81C;; ?????ldr r1, [r0]unsigned int val = *p;; ???????????orr r1, r1, #0x300val = val | 0x300;orr r1, r1, #0x1val = val | 0x1;; ???????str r1, [r0]*p = val;

    ?????

    ?????????????????????????????????mkv210_image.c?????????

    #ifndef __MKV210_CHECKSUM_H__#define __MKV210_CHECKSUM_H__#include 
    #define CHECKSUM_MAGIC 0x12345678#define CHECKSUM_SIZE 32// ????????????int compute_checksum(const char* image_path, uint32_t** checksum) { *checksum = malloc(CHECKSUM_SIZE * sizeof(uint32_t)); FILE* fp = fopen(image_path, "rb"); if (!fp) { return -1; } uint32_t sum = 0; uint8_t buffer[1024]; while (fread(buffer, sizeof(uint8_t), 1024, fp) != 0) { sum += crc32(buffer, 1024); } memcpy(*checksum, (uint32_t*)(&sum), CHECKSUM_SIZE); fclose(fp); return 0;}#endif

    ??

    iROM?BL1????????????????????????????????????????????????????????????????

    转载地址:http://ecq.baihongyu.com/

    你可能感兴趣的文章
    NOIP2011T1 数字反转
    查看>>
    NOIP2014 提高组 Day2——寻找道路
    查看>>
    NOIp模拟赛二十九
    查看>>
    Nokia5233手机和我装的几个symbian V5手机软件
    查看>>
    None还可以是函数定义可选参数的一个默认值,设置成默认值时实参在调用该函数时可以不输入与None绑定的元素...
    查看>>
    NOPI读取Excel
    查看>>
    NoSQL&MongoDB
    查看>>
    NoSQL介绍
    查看>>
    Notepad ++ 安装与配置教程(非常详细)从零基础入门到精通,看完这一篇就够了
    查看>>
    Notepad++在线和离线安装JSON格式化插件
    查看>>
    notepad++最详情汇总
    查看>>
    notepad如何自动对齐_notepad++怎么自动排版
    查看>>
    Notification 使用详解(很全
    查看>>
    NotImplementedError: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty()
    查看>>
    Now trying to drop the old temporary tablespace, the session hangs.
    查看>>
    nowcoder—Beauty of Trees
    查看>>
    np.arange()和np.linspace()绘制logistic回归图像时得到不同的结果?
    查看>>
    npm error Missing script: “server“npm errornpm error Did you mean this?npm error npm run serve
    查看>>
    npm error MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe”。要解决此问题,1) 安装
    查看>>
    npm install digital envelope routines::unsupported解决方法
    查看>>