Skip to content

DTB Woes #13

@khenriks

Description

@khenriks

Thanks for all your work on this! I've been trying to get your u-boot image to work for me for booting the mainline kernel from Debian (linux-image-4.14.0-0.bpo.3-arm64), and I've been having a lot of trouble, I think because of problems with DTB.

The DTB that you bundle with the image seems to actually work for me. That is, if I boot with booti $kernel_addr_r - $fdtcontroladdr everything seems to work well. However, I don't want to have to boot from the u-boot command line, and it seems like the best way to boot from an editable text file is with extlinux.conf. If fdt_addr were set to the value of fdtcontroladdr, then it would automatically load that one, but it's not and I don't know how to change the default environment built into the image. I also don't know how to get that DTB as a file; based on the commit message in ee12bea it looks like you applied a lot of custom patches to produce the image you provide.

I've also tried using other DTBs I've found, to no avail. CallMeFoxie provides a DTB and kernel as part of her image (https://github.com/CallMeFoxie/pine64-mainline-project), and they work together, but her DTB doesn't work with the Debian kernel. I've also tried using the DTB that Debian ships with their kernel package, as well as building the DTB myself from u-boot sources, and none of those work. Here, "doesn't work" means that after boot, either the Ethernet or the MMC (or both) don't work at all and don't show up.

I've tried following the instructions in your README, but that doesn't produce the same thing as the image you provide. If you can help me, I'd really appreciate it, as I need some help. An explanation of what might be going wrong with the DTBs would be great. A more comprehensive description of how to generate the image you provide would be great. The actual DTB as a file would be great. An explanation of how to change the default environment would be great. Really, any help you can provide would help tremendously.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions