agherzan / meta-chip

Yocto BSP layer for C.H.I.P. boards
MIT License
15 stars 21 forks source link

Flashing instructions #9

Closed drewmoseley closed 7 years ago

drewmoseley commented 7 years ago

This PR was recently submitted to the Yocto mailing list and based on the post from @agherzan to suggest using Github PRs and Jenkins I figured I'd give that a shot here.

agherzan commented 7 years ago

I'm setting up the jenkins server as we speak. This will be the first PR testing it.

jenkins-ag commented 7 years ago

Can one of the admins verify this patch?

agherzan commented 7 years ago

ok to test

agherzan commented 7 years ago

test this please

koenkooi commented 7 years ago

This script is great for flashing from scratch, but it does have some drawbacks. What would be nice, but is something for a follow up PR, is the following:

1) Allow to only flash the rootfs (as in: ubi volume) 2) Use the builtin ubi tools in uboot to keep the erase counters and bad block map.

The NAND used on the CHIP is very prone to errors or just hates UBIFS, so keeping at least the bad block map would be very helpful.

koenkooi commented 7 years ago

And find a way to fix #11

drewmoseley commented 7 years ago

I pushed updated commits to the existing branch to address the review comments. I think I made all the requested changes. Please let me know if I missed anything.

This has also been sent to the mailing list as V3. I guess embedding the version in the git branch and PR title is not a good approach.

agherzan commented 7 years ago

@drewmoseley Don't worry about the branch name - it's good though to avoid it in the future. Looks good now the PR so I'll merge it. Thanks for your work.