LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 12-20-2015, 05:02 AM   #1
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635
Blog Entries: 20

Rep: Reputation: 81
Fatdog's kernel and boot firmware is not working again on mi RPi one model B


I know I must have some sort of uncommon PRi one model B revision ... but I ran into trouble again while trying to boot it with fatdog's kernel, kernel modules and boot firmware. I went and got the stuff from raspbian wheezy and it boots fine.

while getting the stuff I noticed that there are 2 kernel images and 2 sets of kernel modules ... and 2 sets of other stuff in the boot partition ... I can now confirm that it's for booting both RPi and RPi2.

Another thing I found useful is loading the hardware random number generator kernel module (bcm2708-rng) that is not loaded by default in fatdog's rc.modules. If you do this you get an extra character special device file /dev/hwrng ... when you read from there you are reading random thermal noise from a component in the pi's SOC ... it may make better random numbers then /dev/random.

Last edited by louigi600; 12-30-2015 at 04:10 AM.
 
Old 12-24-2015, 11:17 PM   #2
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264

Rep: Reputation: 74
What kind of trouble are you running into with the FatDog.eu image(s)?
 
Old 12-27-2015, 03:00 AM   #3
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635

Original Poster
Blog Entries: 20

Rep: Reputation: 81
Sometimes they just don't boot on my RPi1. It's just a report that maybe fatdog will pickup and correct so that possibly other people with same peculiar revision don't run into the same problem. I generally work around the problem by using the "Manual installation method" I wrote myself on http://docs.slackware.com/howtos:har...rm:raspberrypi
 
Old 12-27-2015, 04:06 AM   #4
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264

Rep: Reputation: 74
Quote:
Originally Posted by louigi600 View Post
Sometimes they just don't boot on my RPi1. It's just a report that maybe fatdog will pickup and correct so that possibly other people with same peculiar revision don't run into the same problem. I generally work around the problem by using the "Manual installation method" I wrote myself on http://docs.slackware.com/howtos:har...rm:raspberrypi
Do you mean the SARPi installer doesn't boot or the system doesn't reboot after installation? Also, which model revision of the RPi (1) are you using? Perhaps further testing is required but initially I'm just trying to get a clear grasp of what the problem is or could be.

I have done the manual install method quite a few times too. Although I need to turn off fsck checks on the root partition or else it panics on reboot. In the section below (taken from the slackdocs page) fsck pass is set to "1" on the root partition and I just change it to "0":

Code:
root@darkstar:/mnt/hd/etc# cat fstab
proc            /proc           proc    defaults          0       0
/dev/mmcblk0p1  /boot           vfat    errors=remount-ro          0       2
/dev/mmcblk0p2  /               ext4    errors=remount-ro,noatime  0       1
root@darkstar:/mnt/hd/etc#
Then it will boot/reboot and work for me without any problems.
 
Old 12-27-2015, 07:08 AM   #5
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635

Original Poster
Blog Entries: 20

Rep: Reputation: 81
I don't use the installer anyway.. I use the boot stuff to get a miniroot to boot just like described in the manual installation method ... just try to get the boot stuff from fatdogs boot packages. Fstab is ok I'm sure because just by extracting the boot stuff off raspbian the same root image boots fine.
 
Old 01-04-2016, 03:09 AM   #6
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635

Original Poster
Blog Entries: 20

Rep: Reputation: 81
Quote:
Originally Posted by Penthux View Post
Do you mean the SARPi installer doesn't boot or the system doesn't reboot after installation? Also, which model revision of the RPi (1) are you using? Perhaps further testing is required but initially I'm just trying to get a clear grasp of what the problem is or could be.

I have done the manual install method quite a few times too. Although I need to turn off fsck checks on the root partition or else it panics on reboot. In the section below (taken from the slackdocs page) fsck pass is set to "1" on the root partition and I just change it to "0":

Code:
root@darkstar:/mnt/hd/etc# cat fstab
proc            /proc           proc    defaults          0       0
/dev/mmcblk0p1  /boot           vfat    errors=remount-ro          0       2
/dev/mmcblk0p2  /               ext4    errors=remount-ro,noatime  0       1
root@darkstar:/mnt/hd/etc#
Then it will boot/reboot and work for me without any problems.
The sixth and last field is the fsck pass number and it's still set to 1 in the fragment you show .... you may have set / not to be dumped. I'm not sure why your pi crashes if dump is enabled ... if I've time I'll look into it. The only Pi I care about is running with / in read only so I don't care about either dump or fsck.
 
Old 01-04-2016, 07:24 PM   #7
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
The B not the B+ right? I just redid mine with his latest image and it worked fine.
 
Old 01-06-2016, 12:04 AM   #8
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635

Original Poster
Blog Entries: 20

Rep: Reputation: 81
Quote:
Originally Posted by enine View Post
The B not the B+ right? I just redid mine with his latest image and it worked fine.
I'm sure most do work: I must have an odd uncommon revision as it's not the first time I noticed this and subsequently using boot stuff from raspbian solves the issue.

Last edited by louigi600; 01-06-2016 at 12:54 AM.
 
Old 01-07-2016, 01:05 PM   #9
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264

Rep: Reputation: 74
Quote:
Originally Posted by louigi600 View Post
I'm sure most do work: I must have an odd uncommon revision as it's not the first time I noticed this and subsequently using boot stuff from raspbian solves the issue.
I had a *lot* of trouble running Slackware ARM with the RPi 1 (Micron RAM version) when it was first released but all the issues were solved in one simple firmware update.
 
Old 01-08-2016, 12:58 PM   #10
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635

Original Poster
Blog Entries: 20

Rep: Reputation: 81
I read somewhere that the Pis with the micron chip also had an issue with SD cards smaller then 2Gb ... well I've a Micron chip on one of my Pis but it boots fine even with 256Mb SD cards.
Another odd thing both my Pi 1 do: even with high quality 5V power supply inserting a full power usb dongle into them causes a reboot. My Pi2 doesn't do that.
I even suspect that I might have a Chinese fake Pi or something like that ... thankfully grabbing kernel, modules and boot firmware from rasbian gets it to boot.
 
Old 05-17-2016, 07:40 AM   #11
arfon
Member
 
Registered: Apr 2004
Distribution: Slackware & RHEL
Posts: 376

Rep: Reputation: Disabled
Every time I have had a boot issue with Fatdog's stuff, it has turned out to be crappy SD Card problems (including name brand SD Cards). I've found that ALOT of SD cards (mostly the unbranded chinese ones) won't boot at all. Some will boot with Raspbian will not with SlackArm.

Go get a good SD card and try fatdog's image again.
 
Old 05-17-2016, 12:08 PM   #12
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264

Rep: Reputation: 74
Quote:
Originally Posted by arfon View Post
Every time I have had a boot issue with Fatdog's stuff, it has turned out to be crappy SD Card problems (including name brand SD Cards). I've found that ALOT of SD cards (mostly the unbranded chinese ones) won't boot at all. Some will boot with Raspbian will not with SlackArm.

Go get a good SD card and try fatdog's image again.
The best microSD cards I have found is the Samsung EVO range. I have found these cards to be almost as reliable as Slackware!
 
Old 09-18-2016, 04:24 PM   #13
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,477
Blog Entries: 2

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
Have Slackware on two RPis (i think it's 2 B) and I can confirm that SD cards can be an issue.
I use a TF card with an adapter and had some troubleshooting and media swapping done back then...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
U-Boot for RPi (Need help) jayanidharmesh Linux - Embedded & Single-board computer 11 03-27-2015 12:46 PM
LXer: Mini-PC taps RPi Compute Module and supports RPi 2 LXer Syndicated Linux News 0 02-22-2015 03:03 PM
Loading firmware into kernel at boot andrixnet Slackware 4 02-20-2014 09:29 AM
Kernel 3.1.0-1 and Radeon firmware not found error on boot?? stratotak Debian 3 12-30-2011 09:14 PM
Boot options whilst working with open firmware and Linux 1984dc Linux - General 3 05-05-2010 05:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 07:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration