博客
关于我
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/

    你可能感兴趣的文章
    python | filelock,一个超酷的 Python 库!
    查看>>
    python | fire,一个强大的 Python 库!
    查看>>
    python | flanker,一个神奇的 Python 库!
    查看>>
    python | flower,一个强大的 Python 库!
    查看>>
    python | funcy,一个超强的 提供函数式编程工具 Python 库!
    查看>>
    python | ggplot,一个超强的 Python 库!
    查看>>
    python | grab,一个强大的 Python 库!
    查看>>
    python | gunicorn,一个非常实用的 Python 库!
    查看>>
    python | h5py,一个无敌的关于 HDF5 的 Python 库!
    查看>>
    python | huey,一个非常厉害的 任务调度 Python 库!
    查看>>
    python | hypothesis,一个有趣的 Python 库!
    查看>>
    python | Indico,一个超酷的 Python 库!
    查看>>
    python | isort,一个有趣的 自动整理导入语句 的Python 库!
    查看>>
    python | jinja,一个超酷的 Python 库!
    查看>>
    python | joblib,一个强大的 Python 库!
    查看>>
    python调用git bash_Python学习第70课-用Git Bash在命令行打开sublime
    查看>>
    python | jsonschema,一个实用的 验证 JSON 数据结构 Python 库!
    查看>>
    python课程的中期报告范文_课题研究中期总结报告范文
    查看>>
    python | lxml,一个超酷的 关于XML/HTML 文档 Python 库!
    查看>>
    python | mplfinance,一个有趣的金融数据可视化 Python 库!
    查看>>