Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for board autodetection (Banana Pi legacy) #225

Merged
merged 1 commit into from
Mar 13, 2016
Merged

Fixes for board autodetection (Banana Pi legacy) #225

merged 1 commit into from
Mar 13, 2016

Conversation

ThomasKaiser
Copy link
Contributor

My new build host is up and running (6-core i7 with 3.x GHz, fast SSD and plenty of RAM). I chose 16.04 LTS and 5.2 and just created and tested a Jessie desktop image for Banana Pi: http://sprunge.us/HZDM

Crazy shit, everything's working out of the box, I connected an USB disk lying around, clicked on a large .mp4 now the Banana is playing 1080p/H.264 smoothly, then I tried suspend to RAM just to realize that we've to define the correct Pin mapping for the power button to be able to resume ;)

In other words: Switching from 14.04 LTS to 16.04 LTS on the build host shouldn't be a problem and also using Linaro's GCC 5.2 :)

@ThomasKaiser
Copy link
Contributor Author

@igorpecovnik
Copy link
Member

ap6211 modules is currently default disabled because it takes some time before it gives up trying to init the module. We need to add it back to modules if this waiting time is accepted.

igorpecovnik added a commit that referenced this pull request Mar 13, 2016
Fixes for board autodetection (Banana Pi legacy)
@igorpecovnik igorpecovnik merged commit 2b18566 into armbian:master Mar 13, 2016
@zador-blood-stained
Copy link
Member

@ThomasKaiser can autodetect_sunxi cause a reboot only if it's needed (if there were changes to script.bin)?

Also switching to 16.04 may still cause issues with some legacy kernels, I tested and fixed only sun4i and sun7i. Also Xenial target (including desktop) can be built too, though I tested it only with mainline kernel, and some fixes aren't merged to Igor's branch yet.

@ThomasKaiser
Copy link
Contributor Author

@zador-blood-stained sure, autodetect_sunxi could avoid triggering a reboot. But since we also change hostname settings I thought a mandatory reboot would be better to not confuse users ("I own a Banana Pi and it claims it's a bananapipro instead?!")

Regarding 16.04 as build host at least building sun8i stuff works fine. I can later start a build for all boards with legacy kernel so then we should at least know where compilation breaks.

@zador-blood-stained
Copy link
Member

I thought a mandatory reboot would be better to not confuse users ("I own a Banana Pi and it claims it's a bananapipro instead?!")

I was doing "subjective desktop performance testing" on cubietruck - so I was able to log in as root with mandatory password change, create normal user, wait for desktop to launch, open LibreOffice Writer window and start flinging it left and right on the screen, when suddenly system rebooted. Well, I was confused 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants