public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] 64Bit device tree compilation
@ 2015-03-18 17:17 Hanna Hawa
  2015-03-19 13:43 ` Simon Glass
  0 siblings, 1 reply; 5+ messages in thread
From: Hanna Hawa @ 2015-03-18 17:17 UTC (permalink / raw)
  To: u-boot

Hi Simon,

My name is Hanna, I'm working in Software team in Marvell with Yehuda.

I'm trying to run U-Boot with FDT in 64Bit.
I've issue when I'm trying to load the image on my board, I got abort (**Synchronous Abort**)
Exactly when the U-boot run fdt_addr_to_cpu(*cell) under lib/fdtdec.c

The issue is the format of the FDT is 32Bit, and Big Endian mode.

After some debug, I changed the typedef of fdt_size, and fdt_addr to be u32.
Also fdt_addr_to_cpu, and fdt_size_to_cpu  to use u32 swap, it works.

My question is:
Is that correct to change the typedef to use u32Bit?

Thanks,
Hanna

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-24 10:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-18 17:17 [U-Boot] 64Bit device tree compilation Hanna Hawa
2015-03-19 13:43 ` Simon Glass
2015-03-19 18:04   ` Thierry Reding
2015-03-24  2:12     ` Bin Meng
2015-03-24 10:31       ` Mark Rutland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox