[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - Bootloader environment specification?

Bootloader environment specification?

Any technical questions about the Epiphany chip and Parallella HW Platform.

Moderator: aolofsson

Bootloader environment specification?

Postby Kelledin » Fri May 23, 2014 7:10 pm

So...I'm trying to get u-boot-tools to work on the Parallella's Linaro distribution, mainly for the purpose of reading (possibly modifying) the bootloader environment. Near as I can tell from the parallella U-boot source code, the bootloader environment should live at offset 0x4e0000 in both /dev/mtd0 and /dev/mtd1 (redundant config), and be sized at 128K (so basically the end of each flash partition). Hexdumping these areas confirms that this is correct (at least in terms of the offset).

However, the CRC at 0x4e0000 looks wrong. Even a brute-force trial of every possible environment size (from 5 bytes to 128K) finds no environment size that would lead to the CRC being correct. So fw_printenv quite predictably complains about a "Bad CRC" no matter what /etc/fw_env.config I set up.

Is this normal? Am I missing something about the u-boot environment layout? Or do Parallella boards actually use some nonstandard checksum generation on the bootloader environment? :?

I'll be able to investigate deeper once I receive my LVTTL serial cable, but I was hoping someone might have a quick answer.
Kelledin
 
Posts: 3
Joined: Fri May 23, 2014 6:58 pm

Re: Bootloader environment specification?

Postby FHuettig » Fri May 23, 2014 10:06 pm

-- Fred -- Hardware Guy --
FHuettig
 
Posts: 142
Joined: Wed Jan 29, 2014 8:30 pm
Location: Lexington, MA, USA


Return to Epiphany and Parallella Q & A

Who is online

Users browsing this forum: No registered users and 25 guests

cron