Bug 8616 - Fail to build for raspberrypi_defconfig with big endian
Summary: Fail to build for raspberrypi_defconfig with big endian
Status: RESOLVED INVALID
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-20 14:28 UTC by Paulo Nunes
Modified: 2016-01-21 16:55 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
last lines of stdout on the failed execution (7.65 KB, text/plain)
2016-01-20 14:28 UTC, Paulo Nunes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paulo Nunes 2016-01-20 14:28:51 UTC
Created attachment 6286 [details]
last lines of stdout on the failed execution

On building using raspberrypi_defconfig configuration and changing the endianness to big endian, the buildroot fails to finish the build as attached files describe in detail.
Comment 1 Gustavo Zacarias 2016-01-21 16:55:49 UTC
You can't just change endianness arbitrarily and expect that to work.

For starters the pre-compiled rpi-firmware required for the boot process is only enabled for little-endian, which gives you the error you're seeing because it's not installed for big-endian.

I don't have much technical detail about the broadcom SOCs used in the rpi1/2 and how open they're to changing endianness, some SOCs require hardware changes (pin bootstrap), others can be switched in the bootloader, others use fuses and some can't be changed.
Even if they could be switched in the bootloader for the rpi boards that's a propietary blob in rpi-firmware, so there's not much you can do.

I'm closing this as invalid.