meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nsa310:debian [2020/04/18 18:54] niziakhw:nsa310:debian [2020/11/30 10:42] (current) niziak
Line 2: Line 2:
  
 ====== References ====== ====== References ======
 +
 OpenWRT packages: [[http://bartekk.pdg.pl/openwrt/]] OpenWRT packages: [[http://bartekk.pdg.pl/openwrt/]]
  
Line 14: Line 15:
 [[http://openrouter.info/forum/viewtopic.php?f=19&t=1581&start=80]] [[http://openrouter.info/forum/viewtopic.php?f=19&t=1581&start=80]]
  
-====== Serial converter ====== 
- 
-3,3V level converter 
-115200 8N1 
- 
-^ 1  ^ 2  ^ 3  ^ 4 ^ 5   ^ 
-|Vcc | RX | TX | nc | GND | 
- 
-<code> 
-         __  __                      _ _ 
-        |  \/  | __ _ _ ____   _____| | | 
-        | |\/| |/ _` | '__\ \ / / _ \ | | 
-        | |  | | (_| | |   \ V /  __/ | | 
-        |_|  |_|\__,_|_|    \_/ \___|_|_| 
-       ____              _ 
-| | | |   | __ )  ___   ___ | |_ 
-| | | |___|  _ \ / _ \ / _ \| __| 
-| |_| |___| |_) | (_) | (_) | |_ 
- \___/    |____/ \___/ \___/ \__| 
- ** MARVELL BOARD: RD-88F6281A LE 
- 
-U-Boot 1.1.4 (Jun  8 2011 - 18:48:37) Marvell version: 3.4.19 
- 
-U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CFEE0 
- 
-Soc: 88F6281 A1 (DDR2) 
-CPU running @ 1200Mhz L2 running @ 400Mhz 
-SysClock = 400Mhz , TClock = 200Mhz 
- 
-DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 
-DRAM CS[0] base 0x00000000   size 256MB 
-DRAM Total size 256MB  16bit width 
-Addresses 10M - 0M are saved for the U-Boot usage. 
-Mem malloc Initialization (10M - 7M): Done 
-NAND:128 MB 
-Flash:  0 kB 
- 
-CPU : Marvell Feroceon (Rev 1) 
-Kernel address is 0x4640000. 
- 
-Streaming disabled 
-Write allocate disabled 
- 
-Module 0 is RGMII 
-Module 1 is TDM 
- 
-USB 0: host mode 
-PEX 0: PCI Express Root Complex Interface 
-PEX interface detected Link X1 
-Net:   egiga0, egiga1 [PRIME] 
-Hit any key to stop autoboot:  0 
- 
-</code> 
  
 ====== Preparation ===== ====== Preparation =====
Line 243: Line 191:
  
 ====== Own kernel ====== ====== Own kernel ======
-here's no need to keep pestering the poor guy over simple config changes. It's easy to build your own kernel; the instructions are right there in the first post. On a debian host you need to add the emdebian repo and install gcc-4.7-arm-linux-gnueabi (or whatever version) and u-boot-tools to build the kernel.+There's no need to keep pestering the poor guy over simple config changes. It's easy to build your own kernel; the instructions are right there in the first post. On a debian host you need to add the emdebian repo and install gcc-4.7-arm-linux-gnueabi (or whatever version) and u-boot-tools to build the kernel.
  
 I just built one with device mapper and crypto target support, and threw in netfilter NAT stuff for giggles. I just built one with device mapper and crypto target support, and threw in netfilter NAT stuff for giggles.
Line 255: Line 203:
 Download lastest Jessie rootfs from: [[http://forum.doozan.com/read.php?2,12096|Linux Kernel 3.18 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs]] Download lastest Jessie rootfs from: [[http://forum.doozan.com/read.php?2,12096|Linux Kernel 3.18 (FDT) and 3.16 (non-FDT) Kirkwood package and rootfs]]
  
-Or locally: {{:nsa310:linux-3.18.5-kirkwood-tld-1-bodhi.tar.bz2|linux-3.18.5-kirkwood-tld-1-bodhi.tar.bz2}}  {{:nsa310:debian-3.18.5-kirkwood-tld-1-rootfs-bodhi.tar.bz2|debian-3.18.5-kirkwood-tld-1-rootfs-bodhi.tar.bz2}}+Or locally: {{hw:nsa310:linux-3.18.5-kirkwood-tld-1-bodhi.tar.bz2|linux-3.18.5-kirkwood-tld-1-bodhi.tar.bz2}}  {{hw:nsa310:debian-3.18.5-kirkwood-tld-1-rootfs-bodhi.tar.bz2|debian-3.18.5-kirkwood-tld-1-rootfs-bodhi.tar.bz2}}
  
 Unpack rootfs to media, can be USB pendrive for now. Unpack rootfs to media, can be USB pendrive for now.
Line 298: Line 246:
 ===== Boot with Flattened Device Tree ===== ===== Boot with Flattened Device Tree =====
  
-**NOT SUPPORTED BY OLD (default U-BOOT**+**NOT SUPPORTED BY OLD (default U-BOOT)**
 <code> <code>
 cd boot cd boot
Line 330: Line 278:
   - kirkwood-nsa310a.dtb - like above but without red USB led, and sensor device 'lm85'   - kirkwood-nsa310a.dtb - like above but without red USB led, and sensor device 'lm85'
  
-My NSA310 version is like nsa310 but with lm85 :), so I've created {{:nsa310:kirkwood-nsa310b.dts|kirkwood-nsa310b.dts}} based on kirkwood-nsa310.dts with LM85 section from kirkwood-nsa310a.dts.+My NSA310 version is like nsa310 but with lm85 :), so I've created {{hw:nsa310:kirkwood-nsa310b.dts|kirkwood-nsa310b.dts}} based on kirkwood-nsa310.dts with LM85 section from kirkwood-nsa310a.dts.
  
 <code> <code>
Line 378: Line 326:
   * switch Samba to use syslog   * switch Samba to use syslog
   * tune system /etc/sysctl.conf   * tune system /etc/sysctl.conf
 +  * ''smartd'' from ''smartmontools'' writes it log and state to ''/var/lib/smartmontools''
 +      * put it on tmpfs (and lose history)
 +      * or increase disc check interval in ''/etc/default/smartmontools''
  
 == repair /etc/adjtime == == repair /etc/adjtime ==