Hello Edison Community,
I have been burning the midnight oil trying to change the charging voltage and current on the V_VBAT_BKUP pin of the Edison. I have found lots of great resources, but there seems to be some missing information that I need. I am an engineer, and not much of a programmer, but I have experience with Linux, BASH scripts, Python, and a little more. I have been diligently reading all the Yocto and Bitbake documentation, and have come to understand a fair bit... however not enough to get this figured out. So, any help here pointing me in the right direction will be deeply appreciated.
- I am starting with the latest release of the Intel firmware for the Edison which I downloaded from here: http://iotdk.intel.com/src/3.5/edison/iot-devkit-yp-poky-edison-20160606.zip . That link is on the Edison Downloads page.
- I have successfully compiled and loaded an Edison image using that source.
- Back in 2015 for a different version of the Edison firmware some smart makers created a patch to do what I need and generously shared that here: Re: Edison RTC backup battery charging parameters (ideally I would like to use this solution)
- Also, Intel created a nice document for me to follow on how the change the V_VBAT_BKUP settings here: Change V_VBAT_BKUP Configuration on an Intel® Edison Board
My problem is, the solutions or 'recipes' as you might call them seem to be for other versions of the firmware... perhaps? That, and I am a bit short on having enough knowledge to make it work.
Discussion on patch file in Re: Edison RTC backup battery charging parameters:
So, the post listed in point 3 originally was setup to be used outside of the bitbake environment it seems like, and I do not yet know how to 'make' software for the Edison without bitbake (yet... I'm going to learn). Down at the bottom of the thread though a fella (CMata_Intel ) posted the patch and a really brief description of how to make it work with bitbake. He indicates I need to change the 'linux-yocto_3.10.bbappend' and place the patch with the 'upstream_to_edison.patch'. However in the 20160606 firmware there is no 'upstream_to_edison.patch' to be found, and I can find six (6) copies of the 'linux-yocto_3.10.bbappend' file! They are in the following locations:
I tried to modify the bbapend in the meta-yocto-bsp directory, place the patch in a subdirectory named "files", but nothing changed in the build. My bet is if I keep poking around with the various .bbappend files in the poky directory I might find one that works?
So, bottom line is I can't get this to work.
Discussion on Intel's Change V_VBAT_BKUP Configuration on an Intel® Edison Board procedure:
Intel provided a patch here to apply as well. Again, the instructions are to modify the 'linux_yocto_3.10.bbappend' file. They specify exactly where that file should be: /meta-intel-edison/meta-intel-edison-bsp/recipes-kernel/linux/... but as you can see from my list of possible .bbappend files from above, there is not one in this directory. So, perhaps my next step should be to create a .bbappend file in that directory and see what happens??? The procedure suggest it should already be in existence, and again the .bbappend shows the 'upstream_to_edison.patch' which does not seem to exist.
Feeling like I've hit all dead ends here. Please shine some light on the path forward. I will keep beating my head against the brick wall in the mean time.