davidferguson / pibakery

The blocks based, easy to use setup tool for Raspberry Pi
http://www.PiBakery.org
GNU General Public License v3.0
1.49k stars 147 forks source link

Pi gets Kernel panic #166

Open devSarry opened 6 years ago

devSarry commented 6 years ago

Hi,

I used PiBakery V2 with a custom raspbian image from Donkey Car https://docs.donkeycar.com/guide/install_software/#get-the-raspberry-pi-working and even without any configuration blocks just having PiBakery write the image to the SD card fails. I get an

---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00

I've tried the image without pibaker and it works.

davidferguson commented 6 years ago

This is due to a permissions issue with the PiBakery boot scripts. I presume you're running Windows? Did you clone the repository and build from source, or use the downloads from https://github.com/davidferguson/pibakery/releases/tag/v2.0.0 ?

I'll try and publish a new release with this fixed soon.

devSarry commented 6 years ago

Ya I'm running windows and used downloaded the release.

johny-mnemonic commented 6 years ago

Same issue here with PiBakery 2.0 downloaded as binary from release tag. Everything seems to work when editing SD card, but then Pi ends with Kernel panic...

Is there a manual workaround till it is fixed?

davidferguson commented 6 years ago

A manual workaround would be to download the zip of the repo, and replace the resources folder in PiBakery with the resources folder from the downloaded zip.

Or manually set the line endings for the files in resources directory to be LF.

Barokai commented 6 years ago

A manual workaround would be to download the zip of the repo, and replace the resources folder in PiBakery with the resources folder from the downloaded zip.

Just tried this, still getting kernel panic :(

tvories commented 4 years ago

I am also having this issue. I exported the recipe and built it on my Mac and I do not have the Kernel panic issue.

Is there any way we can get the line endings fix pushed to a release?

RPICtrl commented 3 years ago

Put this Powershell script in the Pibakery root folder execute it, and it will convert the files to Unix style LF

$scriptPath = split-path -parent $MyInvocation.MyCommand.Definition

Get-ChildItem -Path $scriptPath -Include @(".py", ".sh") -Recurse | ForEach-Object { $_.FullName $originalfile =$.FullName $text = [IO.File]::ReadAllText($original_file) -replace "rn", "`n" [IO.File]::WriteAllText($original_file, $text) }