README: Update with some rare information to NB800
This commit is contained in:
parent
c6cf90e1f0
commit
7ffdf81102
50
README
50
README
|
|
@ -4,11 +4,18 @@ URI: git://git.yoctoproject.org/poky
|
||||||
branch: jethro
|
branch: jethro
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
|
|
||||||
|
URI: git://git.openembedded.org/meta-openembedded
|
||||||
|
branch: jethro
|
||||||
|
revision: HEAD
|
||||||
|
layers: meta-python, meta-oe, meta-networking
|
||||||
|
|
||||||
To get an image that is compatible with the NetModule router, build an nmrouter-image. Set the MACHINE in conf/local.conf to
|
To get an image that is compatible with the NetModule router, build an nmrouter-image. Set the MACHINE in conf/local.conf to
|
||||||
MACHINE ??= "armada-385-nbhw17-nb2800" and add this layer to conf/bblayers.conf
|
MACHINE ??= "armada-385-nbhw17-nb2800" or
|
||||||
|
MACHINE ??= "am335x-nbhw16"
|
||||||
|
and add this layer to conf/bblayers.conf
|
||||||
|
|
||||||
While the NetModule router is running under the original software you have to do the following steps:
|
NB2800:
|
||||||
|
While the NetModule router is running under the original software you have to do the following steps:
|
||||||
- Find out what boot partition is currently used:
|
- Find out what boot partition is currently used:
|
||||||
cat /proc/cmdline
|
cat /proc/cmdline
|
||||||
- The partition layout is mmcblk0p1 => bootpart0, mmcblk0p2 => bootpart1, mmcblk0p3=> overlay/data partition
|
- The partition layout is mmcblk0p1 => bootpart0, mmcblk0p2 => bootpart1, mmcblk0p3=> overlay/data partition
|
||||||
|
|
@ -23,15 +30,15 @@ While the NetModule router is running under the original software you have to do
|
||||||
- boot to Linux:
|
- boot to Linux:
|
||||||
boot
|
boot
|
||||||
|
|
||||||
Do not overwrite the original partition, u-boot will search a valid FPGA there. If you want to overwrite the other partition, make sure you copy the /logic folder from the original partition to the new one!
|
Do not overwrite the original partition, u-boot will search a valid FPGA there. If you want to overwrite the other partition, make sure you copy the /logic folder from the original partition to the new one!
|
||||||
|
|
||||||
To learn how to build an image and to find the build dependencies visit:
|
To learn how to build an image and to find the build dependencies visit:
|
||||||
http://www.yoctoproject.org/docs/2.0/ref-manual/ref-manual.html
|
http://www.yoctoproject.org/docs/2.0/ref-manual/ref-manual.html
|
||||||
|
|
||||||
Memory Map of the FPGA (to switch SIMs, reset modems):
|
Memory Map of the FPGA (to switch SIMs, reset modems):
|
||||||
Address Width Name/Comment
|
Address Width Name/Comment
|
||||||
0x0020 16 LED
|
0x0020 16 LED
|
||||||
LED Control Register
|
LED Control Register
|
||||||
Slice Name Type Reset Description
|
Slice Name Type Reset Description
|
||||||
0 LED0 green RW 1 Enable LED 0 (green)
|
0 LED0 green RW 1 Enable LED 0 (green)
|
||||||
1 LED0 red RW 1 Enable LED 0 (red)
|
1 LED0 red RW 1 Enable LED 0 (red)
|
||||||
|
|
@ -50,10 +57,10 @@ LED Control Register
|
||||||
14 LED7 green RW 0 Enable LED 7 (green)
|
14 LED7 green RW 0 Enable LED 7 (green)
|
||||||
15 LED7 red RW 0 Enable LED 7 (red)
|
15 LED7 red RW 0 Enable LED 7 (red)
|
||||||
|
|
||||||
SIM Card Control
|
SIM Card Control
|
||||||
Address Width Name/Comment
|
Address Width Name/Comment
|
||||||
0x0040 16 SIM Ctrl
|
0x0040 16 SIM Ctrl
|
||||||
SIM Slot Control Register
|
SIM Slot Control Register
|
||||||
Slice Name Type Reset Description
|
Slice Name Type Reset Description
|
||||||
2..0 SIM1_SEL RW 0 000: disconnect
|
2..0 SIM1_SEL RW 0 000: disconnect
|
||||||
001: Connect Bus 1
|
001: Connect Bus 1
|
||||||
|
|
@ -85,10 +92,10 @@ SIM Slot Control Register
|
||||||
15 N/A R 0 Reserved
|
15 N/A R 0 Reserved
|
||||||
|
|
||||||
|
|
||||||
PCIe Mini Slot Control:
|
PCIe Mini Slot Control:
|
||||||
Address Width Name/Comment
|
Address Width Name/Comment
|
||||||
0x0030 16 PCIe Reset
|
0x0030 16 PCIe Reset
|
||||||
PCIe Slot Reset
|
PCIe Slot Reset
|
||||||
Slice Name Type Reset Description
|
Slice Name Type Reset Description
|
||||||
0 PCIe1 RST~ RW 0 PCIe Slot 1 Reset
|
0 PCIe1 RST~ RW 0 PCIe Slot 1 Reset
|
||||||
0: reset asserted
|
0: reset asserted
|
||||||
|
|
@ -100,8 +107,13 @@ PCIe Slot Reset
|
||||||
0: reset asserted
|
0: reset asserted
|
||||||
4..15 n/a R 0
|
4..15 n/a R 0
|
||||||
|
|
||||||
The FPGA Base address is at 0xfd000000, to enable for example LED0:red write 0x2 to 0xfd000020:
|
The FPGA Base address is at 0xfd000000, to enable for example LED0:red write 0x2 to 0xfd000020:
|
||||||
devmem2 0xfd000020 hw 0x02
|
devmem2 0xfd000020 hw 0x02
|
||||||
|
|
||||||
|
NB800:
|
||||||
|
- To update the software you can do a sw-update.sh -l <rootfs.tar.gz>
|
||||||
|
- To change the active boot partition do a bd -w boot_part -v <0/1>
|
||||||
|
- To connect trough a Swisscom SIM do a nbhw16-ctrl -m, check /usr/bin/nbhw16-ctrl for more details and other providers
|
||||||
|
|
||||||
For questions, send an email to <stefan.eichenberger@netmodule.com>
|
For questions, send an email to <stefan.eichenberger@netmodule.com>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue