Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: u-boot places device-tree in bss




To: Yuri Honegger <yuri.honegger%icloud.com@localhost>, port-arm%netbsd.org@localhost

Subject: Re: u-boot places device-tree in bss

From: Lloyd Parkes <lloyd%must-have-coffee.gen.nz@localhost>

Date: Mon, 15 Dec 2025 09:20:14 +1300



On 15/12/2025 07:56, Yuri Honegger wrote:

Hello,
When the memory address for the device tree isn't provided to u-boot, u-boot
decides where to place the device tree by itself. For me, it chooses to place it
right after the code, overlapping the bss section.


What device are you using and wh
at version of U-Boot? Some of our U-Boot  versions are quite old and some boards have seen significant changes in  U-Boot functionality over the years.

I've also s
een boards vary in how sophisticated their boot scripts in  EEPROM/Flash memory are. I expect that many board manufacturers don't  care how well their boot scripts work because the user can just  reprogram the board to do what ever is required.

Maybe adding a 
suitably sophisticated boot.scr to the U-Boot package  itself is a reliable way to solve this problem.

Ngā mihi,
Lloyd



Follow-Ups:

Re: u-boot places device-tree in bss
From: Yuri Honegger


References:

u-boot places device-tree in bss
From: Yuri Honegger




Prev by Date: u-boot places device-tree in bss

Next by Date: Re: u-boot places device-tree in bss

Previous by Thread: u-boot places device-tree in bss

Next by Thread: Re: u-boot places device-tree in bss

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index