HomePage
Materiel
Photo Système et réseau Sous Debian Gnu Linux... ... et Ubuntu Gestion de projet ...informatique Cours Divers Private edit SideBar |
Custom BootRaspberryPi.CustomBoot HistoryHide minor edits - Show changes to output November 09, 2016, at 10:41 PM
by
- Changed lines 11-17 from:
* [[Suppression SWAPfile]] !!! Fix network controller issue (SoC controller freeze) From http://raspberrypi.stackexchange.com/questions/4958/networks-drops-and-freezes#8557 Add the following to /boot/cmdline.txt (which must remain as one line): to:
!!!! Suppression SWAPfile Raspbian Depuis http://raspberrypihobbyist.blogspot.fr/2013/07/running-from-external-hard-drive.html Changed lines 16-22 from:
smsc95xx.turbo_mode=N dwc_otg.dma_enable=1 dwc_otg.dma_burst_size=256 elevator=deadline to:
root@raspberrypi:~# find /etc/ -name *swapfile -exec ls -al {} + -rw-r--r-- 1 root root 18 déc. 15 2012 /etc/dphys-swapfile -rwxr-xr-x 1 root root 2148 juin 9 2012 /etc/init.d/dphys-swapfile lrwxrwxrwx 1 root root 24 janv. 16 2013 /etc/rc2.d/S03dphys-swapfile -> ../init.d/dphys-swapfile lrwxrwxrwx 1 root root 24 janv. 16 2013 /etc/rc3.d/S03dphys-swapfile -> ../init.d/dphys-swapfile lrwxrwxrwx 1 root root 24 janv. 16 2013 /etc/rc4.d/S03dphys-swapfile -> ../init.d/dphys-swapfile lrwxrwxrwx 1 root root 24 janv. 16 2013 /etc/rc5.d/S03dphys-swapfile -> ../init.d/dphys-swapfile Added lines 25-43:
[@ rm /etc/rc?.d/*dphys-swapfile # Delete old SWAPfile rm /mnt/var/swap @] Add @@/dev/sda2 none swap sw 0 0@@ to fstab Reboot !!! Fix network controller issue (SoC controller freeze) From http://raspberrypi.stackexchange.com/questions/4958/networks-drops-and-freezes#8557 Add the following to /boot/cmdline.txt (which must remain as one line): [@ smsc95xx.turbo_mode=N dwc_otg.dma_enable=1 dwc_otg.dma_burst_size=256 elevator=deadline @] November 09, 2016, at 10:39 PM
by
- Added line 3:
Current '''/boot/cmdline.txt''' (fixes network freeze & boots to hard drive) Added lines 9-13:
!!! Boot and Swap on Hard Drive * [[Suppression SWAPfile]] November 09, 2016, at 10:29 PM
by
- Deleted line 0:
Added lines 8-17:
!!! Fix network controller issue (SoC controller freeze) From http://raspberrypi.stackexchange.com/questions/4958/networks-drops-and-freezes#8557 Add the following to /boot/cmdline.txt (which must remain as one line): [@ smsc95xx.turbo_mode=N dwc_otg.dma_enable=1 dwc_otg.dma_burst_size=256 elevator=deadline @] [@smsc95xx.turbo_mode=N@] sets the Network device not in turbo mode. Usually you don't see a difference on network traffic [@elevator=deadline@] sets the scheduler to deadline Sched November 09, 2016, at 10:22 PM
by
- Added lines 1-8:
!! Custom RPI boot [@ # more /boot/cmdline.txt dwc_otg.lpm_enable=0 console=tty1 root=/dev/sda2 rootfstype=ext4 elevator=deadline rootwait smsc95xx.turbo_mode=N dwc_otg.dma_enable=1 dwc_otg.dma_burst_size=256 @] |