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

[REQUEST] Banana Pi M2 Berry - Support / Help with PREP-Script #1651

Closed
ghost opened this Issue Mar 28, 2018 · 11 comments

Comments

Projects
None yet
1 participant
@ghost
Copy link

commented Mar 28, 2018

Hallo together,

yesterday i got a BananaPi M2 Berry gifted and start playing around with it. I found some different based Debian Stretch images, which depend on an old kernel (Guess, yes i know support by BPi is shit), but on mine search i found some images (https://drive.google.com/drive/folders/0B_YnvHgh2rwjR0JsaUltalFXanc) which work quite well.
For myself i thought, i may able to convert this Stretch image directly to DietPi as i've done it with my OrangePi Zero (Kernel 4.14.y).

But nadda, the PREP-script always fails at the "linux-image-sunx8i" part as it says there is no installation path or similar.

Second try of myself was than to get up and running this SBC with Raspbian Stretch, which even works OOB with no problem. It even runs the PREP-Script, but afterwards isn't able to boot anymore.
As i'm not familar with uBoot-stuff i thought someone here may able to help maybe?

I think there are more ppl like me who are willing to run this SBC with DietPi more than the full bloated images by BPi.

@Fourdee

This comment has been minimized.

Copy link
Collaborator

commented Mar 28, 2018

@SuBLiNeR

Hi,

But nadda, the PREP-script always fails at the "linux-image-sunx8i" part as it says there is no installation path or similar.

Any chance you could copy/paste the whole terminal output during PREP? With that info, would should be able to debug it.

but afterwards isn't able to boot anymore

Most likely a kernel package/dep being removed thats required for basic boot. For this, we'll need to see the full list of packages, prior to running PREP:

dpkg --get-selections
@ghost

This comment has been minimized.

Copy link
Author

commented Mar 28, 2018

@Fourdee Hold on please, just preparing another image to just let it re-run.

Output fo dpkg --get-selections: https://pastebin.com/zLVfc2YA - line 413 to 416 (?)

Do you need the output of failed message, too? I used this on a reduced debian image. If i do this on a modified Raspbian installation, the whole PREP runs well, but device won't boot afterwards... just saying.

Message from console:

Required Information:

  • DietPi Version | v.
  • SBC Device | NULL (index=22)
  • Distro | stretch (index=4)
  • Command | G_AGI: linux-image-sun8i
  • Error Handler | G_ERROR_HANDLER

Additional Information (if applicable):

  • Software title | DietPi-PREP_SYSTEM_FOR_DIETPI

Log file contents:
E: Package 'linux-image-sun8i' has no installation candidate

@ghost

This comment has been minimized.

Copy link
Author

commented Mar 29, 2018

Any news yet? Are there any more informations required upon my request? Any intentions?

Please feel free to contact me... :)

@ghost

This comment has been minimized.

Copy link
Author

commented Apr 1, 2018

@Fourdee Do you need anything else for this task being done? I really like to have a DietPi on the BPi M2 Berry than using only a Debian Stretch Lite image....

@Fourdee

This comment has been minimized.

Copy link
Collaborator

commented Apr 1, 2018

@SuBLiNeR

E: Package 'linux-image-sun8i' has no installation candidate

Think I know what needs to be done, as package isn't available in any of the repos on system, well need to apt-mark the package instead of install it. We'll need to do this in the script.

1 min i'll sent commit and instructions.

Fourdee added a commit that referenced this issue Apr 1, 2018

v6.6
+ # - Install kern package if it exists in cache, else, mark manual #:
#1651 (comment)
@Fourdee

This comment has been minimized.

Copy link
Collaborator

commented Apr 1, 2018

@SuBLiNeR

Done, try:

GIT_BRANCH='testing'

GIT_BRANCH=$GIT_BRANCH wget https://raw.githubusercontent.com/Fourdee/DietPi/$GIT_BRANCH/PREP_SYSTEM_FOR_DIETPI.sh -O PREP_SYSTEM_FOR_DIETPI.sh
chmod +x PREP_SYSTEM_FOR_DIETPI.sh
sudo GIT_BRANCH=$GIT_BRANCH ./PREP_SYSTEM_FOR_DIETPI.sh

@Fourdee Fourdee added this to the v6.7 milestone Apr 1, 2018

@ghost

This comment has been minimized.

Copy link
Author

commented Apr 1, 2018

@Fourdee Hi there... i hope that's not an April's fool... Gonna try it by tomorrow morning. I'll head back to you if it works! 💯

@ghost

This comment has been minimized.

Copy link
Author

commented Apr 2, 2018

@Fourdee Hi Fourdee, hell yes, it is now going to install without any error, but the result after 1st reboot is, that i'm falling into a reboot-loop after the first start. The device is booting up and than stops somehow the CPUs so there is no coming even through to boot up normally. I think there is some uBoot-Loader settings in uENV.txt or whatever, which is blocking to boot the system itself.

At this point i'm on my end of knowledge how to get past this. Maybe one of you have some special knowledge or may have an idea on how to get it working at least.

@Fourdee

This comment has been minimized.

Copy link
Collaborator

commented Apr 2, 2018

@SuBLiNeR

into a reboot-loop after the first start

Gutted.
As I lack the device to try this myself, we'd need to see the serial console output to debug in this case.

@ghost

This comment has been minimized.

Copy link
Author

commented Apr 2, 2018

hell yes, that's what i'm missing... just have to get one. as of this, i think we do this on hold!

@Fourdee

This comment has been minimized.

Copy link
Collaborator

commented Apr 5, 2018

@SuBLiNeR

I'll mark this as closed + known issue for now. Should I be able to get my hands on the device, or you can run serial debugging, we'll reopen and investigate further.

@Fourdee Fourdee closed this Apr 5, 2018

@Fourdee Fourdee modified the milestones: v6.7, Known/Outstanding Issue Apr 5, 2018

@Fourdee Fourdee added the PREP label Apr 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.