Skip to contentSkip to conversation

pcduino

Buildroot Brian Beattie 2 participants 2 messages Dec 4, 2013 – Dec 5, 2013

lore
Share & tools
lore
#0 lore raw

I'm working on adding support for the pcDuino V1 board, this is an Allwinner A10 based board so I'm using the cubieboard as a staring point. The issue I have is that or U-Boot and the kernel this is not a problem, however for sunxi-boards and sunxi-tools, the commit id is in the Makefile. I'd like to know what the experts think the best approach is. I currently have the Makefiles patched.

I could update the Makefiles, but I don't have a cubieboard to test with.

I could modify the *.mk and Config files to make the commit id a configurable item and if not set use the current commit ID. I started to do this, but sunxi-tools has a Config.in and a Config.in.host and I'm not sure how to handle setting one variable that would be used in both files. Suggestions, pointers welcome.

Some other approach I have not thought of.

BTW I did the original KB9202 support many years ago though I have been away for a while. (that board just bit the dust which is why I bought the pcDuino).

Signature · 5 lines
"For every complex problem there is an answer that is clear, simple, and
wrong." -- H. L. Mencken

Brian Beattie<[email protected]> -- www.brian-beattie.com
LFS12947
#1 lore raw
Quoted 9 lines · Brian Beattie

I'm working on adding support for the pcDuino V1 board, this is an Allwinner A10 based board so I'm using the cubieboard as a staring point. The issue I have is that or U-Boot and the kernel this is not a problem, however for sunxi-boards and sunxi-tools, the commit id is in the Makefile. I'd like to know what the experts think the best approach is. I currently have the Makefiles patched.

I could update the Makefiles, but I don't have a cubieboard to test with.

It's just a more recent version of those packages, right? Not a
different branch or repo? Then it's OK to submit patches to update those versions. You can put some people in CC with a request to test it, e.g. Carlo Caione <[email protected]>, the original author, or Carlos Quijano <[email protected]>, who bumped it for cubieboard2.

Quoted 5 lines

I could modify the *.mk and Config files to make the commit id a configurable item and if not set use the current commit ID. I started to do this, but sunxi-tools has a Config.in and a Config.in.host and I'm not sure how to handle setting one variable that would be used in both files. Suggestions, pointers welcome.

Configurable package versions are generally a bad idea. If it is really
necessary, you could add a choice in sunxi-boards that offers a few well-defined versions or repos.

Regards,
Arnout

Quoted 7 lines

Some other approach I have not thought of.

BTW I did the original KB9202 support many years ago though I have been away for a while. (that board just bit the dust which is why I bought the pcDuino).

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F