wniming

arm 架构下 u-boot 可不可以不指定 dtb 启动内核?

  •  
  •   wniming · Mar 7, 2023 · 1844 views
    This topic created in 1167 days ago, the information mentioned may be changed or developed.

    我发现树用莓派 4b 的 edk2 固件启动 fedora 系统是不需要 dtb 的,只是启动后识别不到无线网卡,但使用 u-boot 好像必须要指定 dtb ,有没有办法在没有 dtb 的情况下使用 u-boot 启动内核?

    1 replies    2023-03-28 10:23:47 +08:00
    Gah0
        1
    Gah0  
       Mar 28, 2023   ❤️ 1
    没有指定 dtb 不可行

    这里应该是相关的 dtb 文件
    https://github.com/raspberrypi/firmware/tree/master/boot

    可以使用 dtc 工具将其逆向,看看 dtb 里面是什么

    在构建 edk2 的 UEFI firmware 时,dtb 已经包含在 UEFI firmwarem, 也就是 EDK2 固件本身内部就包含 dtb
    https://github.com/tianocore/edk2-platforms/tree/20e07099d8f11889d101dd710ca85001be20e179/Platform/RaspberryPi/RPi4
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5878 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 01:40 · PVG 09:40 · LAX 18:40 · JFK 21:40
    ♥ Do have faith in what you're doing.