[yocto] [meta-chip][RFC PATCH 3/3] chip: Add chip-u-boot-scr recipe and flash script

Trevor Woerner twoerner at gmail.com
Mon Jun 19 07:40:35 PDT 2017

On Mon, Jun 19, 2017 at 7:22 AM, Drew Moseley <drew.moseley at mender.io> wrote:
>> On Jun 19, 2017, at 1:48 AM, Trevor Woerner <twoerner at gmail.com> wrote:
>>> If you have a serial console connected to
>>> +your board, you will see the progress and a message on the console will indicate when
>>> +the flashing is completed.
>> hmmm, never saw this. I have a console connected, the moment the script
>> started, on the console I got:
>>       U-Boot SPL 2016.01 (Jun 19 2017 - 00:32:19)
>>       DRAM: 512 MiB
>>       CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
>>       Trying to boot from
>> which looks right, the date+time are good.
> Did you see the proper serial output after using a smaller image?

Yes. With a smaller image (~90MB) the flash update worked. Maybe
another improvement for a v2 would be for the script to look at the
size of /full/path/to/UBI_IMAGE and issue a warning/error if it's too

I think the wording of what to expect on the host and over the serial
console could use some updating. Not to mention you say: "the status
LED on the CHIP board will flash 30 times per second..." which doesn't
seem to be the case, it looks more like the LED is toggled every 2
seconds (??), in any case, it's a lot slower than 30/sec.

More information about the yocto mailing list