Jump to content

Replicating an existing release?


Recommended Posts

Apologies if this is a FAQ. I'm trying to diagnose OV5640 camera issues on my NanoPiM1 using the headless xenial distro with the legacy kernel.

 

Is there an accessible version of the compile.sh that built this distro? I'd really prefer to be able to rebuild all on a proper desktop machine ...

 

TAIA

 

Jerry.

nanopim1:~$ uname -a 
Linux nanopim1 3.4.113-sun8i #28 SMP PREEMPT Thu Feb 2 02:01:28 CET 2017 armv7l armv7l armv7l GNU/Linux

 

Link to comment
Share on other sites

There is a way to roll back changes, and its almost straightforward. I successfully did it by manually going back through the git commits in armbian/build until I found the date that matched the uname output, and cloned it from that point. Then you have to add an empty file on the same directory as compile.sh with: touch .ignore_changes 

From there, you have to change how it grabs the sources, and make sure that repo is from the same date. Here is the build repo commit for Feb 2: https://github.com/armbian/build/tree/813cfaa16cb3164acb3f8feade5f269a218121c9

And here is the linux repo from January 20th: https://github.com/armbian/linux/tree/e0a8ecfd409ffb14fe382804fdc180e6c52413e0

 

From there you have to dig around in armbian/build and change which git repo it clones, and don't allow cleaning the directory before it compiles. With enough perseverance you should be able to get it to work. 

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines