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

Re: What is in the U-boot "default environment"?




> On 25 Aug 2015, at 01:39, Rick Thomas <rbthomas@pobox.com> wrote:
> 
> 
> I just purchased a CuBox-i and installed Debian on it.  It works like a champ — and the HDMI video is really cool on my TV!
> 
> But I have a question…
> 
> Watching the (USB) serial console output during booting, I notice the following:
> 
>> resetting ...
>> 
>> U-Boot SPL 2014.10+dfsg1-5 (Apr 07 2015 - 22:16:43)
>> 
>> 
>> U-Boot 2014.10+dfsg1-5 (Apr 07 2015 - 22:16:43)
>> 
>> CPU:   Freescale i.MX6Q rev1.5 at 792 MHz
>> Reset cause: WDOG
>> Board: MX6-CuBox-i
>> DRAM:  2 GiB
>> MMC:   FSL_SDHC: 0
>> *** Warning - bad CRC, using default environment
> 
> I understand the “bad CRC” as I’ve never done a “saveenv” so there is no environment for it to read.  But that begs the question: What is in the default environment?
> 
> It boots just fine, so the default environment must be up to the job, but I’m curious.

It's part of the u-boot binary, built in at compile time. You can set it as part of u-boot's config

Reply to: