Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:gnubee:personal_cloud_one [2023/11/18 16:13] – [OEM easy installation] List format mrjktoh:gnubee:personal_cloud_one [2024/09/08 14:17] – Trivial - move TFTP boot section one level upper, out of performance vincele
Line 4: Line 4:
 /* DO NOT CREATE NEW DEVICEPAGES VIA COPY & PASTE! */ /* DO NOT CREATE NEW DEVICEPAGES VIA COPY & PASTE! */
 /* USE https://openwrt.org/meta/create_new_device_page */ /* USE https://openwrt.org/meta/create_new_device_page */
- 
-{{page>meta:infobox:construction&noheader&nofooter&noeditbtn}} 
  
 The GnuBee Personal Cloud 1 (GB-PC1) is a network-attached storage (NAS) device specifically engineered to run free, libre, open source software The GnuBee Personal Cloud 1 (GB-PC1) is a network-attached storage (NAS) device specifically engineered to run free, libre, open source software
Line 14: Line 12:
 ===== Supported Versions ===== ===== Supported Versions =====
  
----- datatable ---- +<!-- ToH: { 
-cols    BrandModelVersionsSupported Current Rel, OEM device homepage URL_url, Forum Search_search-forums, Device Techdata_pageid +  "source""json", 
-headers BrandModel, Version, Current Release, OEM Info, Forum Search, Technical Data +  "dom": "t", 
-align   c,c,c,c,c,c,c +  "paging": false
-filter  : Brand=GnuBee +  "rotate"true
-filter  Model=Personal Cloud One +  "shownColumns"["brand""model""version""supportedcurrentrel""oemdevicehomepageurl""forumsearch", "deviceid"]
-----+  "filterColumns"{"brand": "^GnuBee$", "model""^Personal Cloud$", "version": "^1$"} 
 +-->
  
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
----- datatable ---- +<!-- ToH: { 
-cols    ModelVersionsCPUCPU MHz, CPU Cores_numcores, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4GHz, WLAN 5.0GHz, Ethernet 100M ports_, Ethernet Gbit ports_, ModemUSB ports_ +  "source""json", 
-header  : ModelVersion,SoC,CPU MHz,CPU Cores,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit ports,Modem,USB +  "dom": "t", 
-align   : c,c,c,c,c,c,c,c,c,c,c,c,c +  "paging": false, 
-filter  : Brand=GnuBee +  "rotate": true
-filter  Model=Personal Cloud One +  "shownColumns"["model""version""cpu""cpumhz""cpucores""flashmb""rammb""wlanhardware""wlan24ghz""wlan50ghz""ethernet100mports""ethernet1gports""modem""usbports"]
-----+  "filterColumns"{"brand": "^GnuBee$", "model""^Personal Cloud$", "version": "^1$"} 
 +-->
  
  
 ===== Installation ===== ===== Installation =====
----- datatable ---- +<!-- ToH: { 
-cols    ModelVersionsSupported Current RelFirmware OpenWrt Install URL_urlFirmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url +  "source""json", 
-headers ModelVersionCurrent ReleaseFirmware OpenWrt InstallFirmware OpenWrt UpgradeFirmware OEM Stock +  "dom": "t", 
-align   : l,c,c +  "paging": false, 
-filter  : Brand=GnuBee +  "rotate": true
-filter  Model=Personal Cloud +  "shownColumns"["model""version""supportedcurrentrel""firmwareopenwrtinstallurl""firmwareopenwrtupgradeurl""firmwareoemstockurl"]
-filter  Version=+  "filterColumns": {"brand""^GnuBee$", "model""^Personal Cloud$", "version""^1$"} 
-----+-->
  
 -> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]] -> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]]
  
-FIXME Please add the installation procedure here.+You will need to follow the initial installation procedure described below if you install openwrt for the first time.
  
 ==== Flash Layout ==== ==== Flash Layout ====
Line 70: Line 70:
 ==== OEM easy installation ==== ==== OEM easy installation ====
  
-GnuBee already comes with a preinstalled version of OpenWRT. However, original maintainer does not maintain it'OpenWRT builds, so it's safe to use official OpenWRT builds, as it is officially supported by the community.+GnuBee already comes with a preinstalled version of OpenWRT. However, original maintainer does not maintain its OpenWRT builds, but you can use official OpenWRT builds, as they are officially supported by the community.
  
 Two methods are available: Two methods are available:
Line 80: Line 80:
  
     * Fetch firmware file     * Fetch firmware file
-      * From official openwrt: https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/gnubee_gb-pc*, USE squashfs-sysupgrade images !+      * From official openwrt: https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/gnubee_gb-pc*
         * Use squashfs-sysupgrade images         * Use squashfs-sysupgrade images
         * Working: https://downloads.openwrt.org/releases/21.02.3/targets/ramips/mt7621/openwrt-21.02.3-ramips-mt7621-gnubee_gb-pc1-squashfs-sysupgrade.bin         * Working: https://downloads.openwrt.org/releases/21.02.3/targets/ramips/mt7621/openwrt-21.02.3-ramips-mt7621-gnubee_gb-pc1-squashfs-sysupgrade.bin
-        * Important: Something has break between 21.02.3 and 22.03.0-rc6 as the kernel report LZMA error on startup+        * Important: Something broke between 21.02.3 and 22.03.0-rc6 as the kernel report LZMA error on startup
           * LZMA error: https://downloads.openwrt.org/releases/22.03.0-rc6/targets/ramips/mt7621/openwrt-22.03.0-rc6-ramips-mt7621-gnubee_gb-pc1-squashfs-sysupgrade.bin            * LZMA error: https://downloads.openwrt.org/releases/22.03.0-rc6/targets/ramips/mt7621/openwrt-22.03.0-rc6-ramips-mt7621-gnubee_gb-pc1-squashfs-sysupgrade.bin 
           * LZMA error: Last snapshot as of 2022/08/10           * LZMA error: Last snapshot as of 2022/08/10
Line 91: Line 91:
  
     * Grab USB key, and format it in `vfat`     * Grab USB key, and format it in `vfat`
-    * Copy `gnubee-5.15.12-gbpc1.bin` firmware into usb key root dir, a file called: `gnubee.bin`   +    * Copy `*-gnubee_gb-pc1-squashfs-sysupgrade.bin` firmware into usb key root dir, as a file called: `gnubee.bin`   
-    * Plug the usb key close to the power button. +    * Plug the usb key close to the power button (other port, next to power plug also tested to work)
-    * Reboot GnuBee. If the device find an usb key with a `gnubee.bin` file, it will execute it. +    * Reboot GnuBee. If the device finds an usb key with a `gnubee.bin` file, it will flash it. 
-    * Wait firmware to be copied. You can check into serial port if everything goes well: screen /dev/ttyUSB0 57600. The led should be blinking until process is over. Once over, the led is plain green.+    * Wait firmware to be flashed. You can check into serial port if everything goes well: screen /dev/ttyUSB0 57600. The led should be blinking until process is over. Once over, the led is plain green.
     * Remove usb key then reboot device     * Remove usb key then reboot device
     * The device should be available on any ethernet port on http://192.168.1.1/     * The device should be available on any ethernet port on http://192.168.1.1/
  
 ===== Install Recovery tools or Debian from USB key ===== ===== Install Recovery tools or Debian from USB key =====
-Neil Brown's builds are available here: http://neil.brown.name/gnubee/. There are some documentation provided with those builds. Actually, this image can helps to troubleshoot, fix and install other OS. Worth mention it+Neil Brown's builds are available here: http://neil.brown.name/gnubee/. There are some documentation provided with those builds. Actually, this image can help to troubleshoot, fix and install other OS.
  
 This image is also capable to boot other systems: This image is also capable to boot other systems:
-* Simply create a partition with a GNUBEE-ROOT label to boot it. You can choose any of micro-sd, internal drive, md array or LVM. You can have different partitions with different OS, and swap labels if you want to change boot OS.+  * Simply create a partition with a GNUBEE-ROOT label to boot it. You can choose any of micro-sd, internal drive, md array or LVM. You can have different partitions with different OS, and swap labels if you want to change boot OS.
   * For ext3/ext4 with sde1 partition: tune2fs -l /dev/sde1 | grep GNUBEE-ROOT || e2label  /dev/sde1 GNUBEE-ROOT   * For ext3/ext4 with sde1 partition: tune2fs -l /dev/sde1 | grep GNUBEE-ROOT || e2label  /dev/sde1 GNUBEE-ROOT
   * For fat: exfatlabel /dev/sda3 GNUBEE-ROOT   * For fat: exfatlabel /dev/sda3 GNUBEE-ROOT
  
 +You can use the following to build your own images: https://github.com/neilbrown/gnubee-tools
 ===== Install OpenWRT from USB key to other memory ===== ===== Install OpenWRT from USB key to other memory =====
  
-This include sdcard, disks or anything. It's worth nothing you need to install openwrt first then move its root partitions. Just follow the usual procedure: [[:docs:guide-user:additional-software:extroot_configuration]]+This include sdcard, disks or anything. It's worth noting you need to install openwrt first then move its root partition. Just follow the usual procedure: [[:docs:guide-user:additional-software:extroot_configuration]]
  
 ==== OEM installation using the TFTP method ==== ==== OEM installation using the TFTP method ====
Line 124: Line 125:
  
 <WRAP BOX> <WRAP BOX>
- 
-FIXME These are generic instructions. Update with your router's specifics. 
  
 ==== LuCI Web Upgrade Process ==== ==== LuCI Web Upgrade Process ====
Line 170: Line 169:
 -> [[docs:guide-user:troubleshooting:generic.debrick]] -> [[docs:guide-user:troubleshooting:generic.debrick]]
  
-GnuBee is provided with a Serial USB cable. From a Linux computer, you can get into the serial consol with: <nowiki>screen /dev/ttyUSB0 57600</nowiki>+GnuBee is provided with a serial to USB cable. From a Linux computer, you can get to the serial console with: <nowiki>screen /dev/ttyUSB0 57600</nowiki>
  
 ===== Failsafe mode ===== ===== Failsafe mode =====
Line 190: Line 189:
 | lan2             | LAN2 BLUE      | None             | | lan2             | LAN2 BLUE      | None             |
  
 +
 +The default network UCI configuration looks like:
 +
 +<code>
 +config interface 'loopback'
 +        option device 'lo'
 +        option proto 'static'
 +        option ipaddr '127.0.0.1'
 +        option netmask '255.0.0.0'
 +
 +config globals 'globals'
 +        option ula_prefix 'fd85:4785:e688::/48'
 +        option packet_steering '1'
 +
 +config device
 +        option name 'br-lan'
 +        option type 'bridge'
 +        list ports 'ethblack'
 +        list ports 'ethblue'
 +
 +config interface 'lan'
 +        option device 'br-lan'
 +        option proto 'static'
 +        option ipaddr '192.168.1.1'
 +        option netmask '255.255.255.0'
 +        option ip6assign '60'
 +
 +</code>
  
 ==== Network interfaces: ethblue and ethblack as DHCP client ==== ==== Network interfaces: ethblue and ethblack as DHCP client ====
Line 222: Line 249:
  
 ==== Switch Ports (for VLANs) ==== ==== Switch Ports (for VLANs) ====
-<WRAP BOX> 
-FIXME Please fill in real values for this device, then remove the EXAMPLEs 
  
-Numbers 0-3 are Ports 1-4 as labeled on the unitnumber 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooledPort 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.+ 
 +By defaultboth ethernet ports configuration is bridged on ''br-lan'':
 ^ Port             ^ Switch port   ^ ^ Port             ^ Switch port   ^
-| Internet (WAN)   | EXAMPLE 4     | +| LAN 1            | ethblue     | 
-| LAN 1            | EXAMPLE 3     | +| LAN 2            | ethblack    |
-| LAN 2            | EXAMPLE 2     | +
-| LAN 3            | EXAMPLE 1     | +
-| LAN 4            | EXAMPLE 0     |+
  
-</WRAP> 
  
 ==== Buttons ==== ==== Buttons ====
Line 241: Line 263:
  
 ^ BUTTON                       ^ Event   ^ ^ BUTTON                       ^ Event   ^
-Reset                        |  reset  |+Power (Big red button)                        |  power on/off  
 +| Reset (Small black button)                    |  reset   |
  
 ===== Hardware Performance ===== ===== Hardware Performance =====
  
 +Overall performances are acceptable for this kind of device (single user), however do not expect good performances if moderately intensively used. The fact there is a huge performance hit when used in raid1 or LVM mirroring defeat a bit the purpose of this NAS device. You may want to workaround your own setup, but this the device does perform well enough to provide acceptable performance AND data redundancy.
  
-Bad SATA perfs? +==== Network Performance (iperf3) ==== 
-Missing AES driver ? => https://forum.openwrt.org/t/gnubee-personal-cloud-one/1871/14?u=mrjk+ 
 +Test run onOpenWrt 23.05.0 r23497-6637af95aa 
 + 
 +Conclusion:  
 +  * Network performances are a bit weird, this device is less efficient when used in DHCP mode than when used in DHCP client. Both network ports returned the same performances. 
 +  * Overall network perf should not be a bottleneck 
 + 
 +Testing against localhost: 
 + 
 +<code> 
 +iperf3 -c 127.0.0.1 
 +Connecting to host 127.0.0.1, port 5201 
 +[  5] local 127.0.0.1 port 44824 connected to 127.0.0.1 port 5201 
 +[ ID] Interval           Transfer     Bitrate         Retr  Cwnd 
 +[  5]   0.00-1.00   sec  71.2 MBytes   595 Mbits/sec    0    959 KBytes        
 +[  5]   1.00-2.01   sec  70.0 MBytes   582 Mbits/sec    0   2.00 MBytes        
 +[  5]   2.01-3.02   sec  70.0 MBytes   585 Mbits/sec    0   2.00 MBytes        
 +[  5]   3.02-4.00   sec  70.0 MBytes   596 Mbits/sec    0   2.00 MBytes        
 +[  5]   4.00-5.01   sec  71.2 MBytes   592 Mbits/sec    0   2.00 MBytes        
 +[  5]   5.01-6.01   sec  70.0 MBytes   587 Mbits/sec    0   2.00 MBytes        
 +[  5]   6.01-7.01   sec  70.0 MBytes   589 Mbits/sec    0   2.00 MBytes        
 +[  5]   7.01-8.01   sec  70.0 MBytes   586 Mbits/sec    0   2.00 MBytes        
 +[  5]   8.01-9.01   sec  70.0 MBytes   588 Mbits/sec    0   2.00 MBytes        
 +[  5]   9.01-10.00  sec  70.0 MBytes   590 Mbits/sec    0   2.00 MBytes        
 +- - - - - - - - - - - - - - - - - - - - - - - - - 
 +[ ID] Interval           Transfer     Bitrate         Retr 
 +[  5]   0.00-10.00  sec   702 MBytes   589 Mbits/sec    0             sender 
 +[  5]   0.00-10.00  sec   702 MBytes   589 Mbits/sec                  receiver 
 + 
 +iperf Done. 
 +</code> 
 + 
 +When device is a DHCP server with static IP: 
 + 
 +<code> 
 +iperf3 -c 192.168.1.1 
 +Connecting to host 192.168.1.1, port 5201 
 +[  5] local 192.168.1.136 port 35392 connected to 192.168.1.1 port 5201 
 +[ ID] Interval           Transfer     Bitrate         Retr  Cwnd 
 +[  5]   0.00-1.00   sec  42.4 MBytes   356 Mbits/sec    0    221 KBytes        
 +[  5]   1.00-2.00   sec  40.7 MBytes   341 Mbits/sec    0    221 KBytes        
 +[  5]   2.00-3.00   sec  41.2 MBytes   346 Mbits/sec    0    255 KBytes        
 +[  5]   3.00-4.00   sec  41.1 MBytes   345 Mbits/sec    0    255 KBytes        
 +[  5]   4.00-5.00   sec  41.4 MBytes   348 Mbits/sec    0    255 KBytes        
 +[  5]   5.00-6.00   sec  41.3 MBytes   347 Mbits/sec    0    255 KBytes        
 +[  5]   6.00-7.00   sec  41.0 MBytes   344 Mbits/sec    0    255 KBytes        
 +[  5]   7.00-8.00   sec  41.3 MBytes   347 Mbits/sec    0    341 KBytes        
 +[  5]   8.00-9.00   sec  42.1 MBytes   353 Mbits/sec    0    472 KBytes        
 +[  5]   9.00-10.00  sec  41.1 MBytes   345 Mbits/sec    0    510 KBytes        
 +- - - - - - - - - - - - - - - - - - - - - - - - - 
 +[ ID] Interval           Transfer     Bitrate         Retr 
 +[  5]   0.00-10.00  sec   414 MBytes   347 Mbits/sec    0             sender 
 +[  5]   0.00-10.00  sec   412 MBytes   345 Mbits/sec                  receiver 
 + 
 +iperf Done. 
 +</code> 
 + 
 +When device is configure as DHCP client, the best available throughput: 
 + 
 +<code> 
 +iperf3 -c 192.168.42.212 
 +Connecting to host 192.168.x.y, port 5201 
 +[  5] local 192.168.x.z port 44742 connected to 192.168.x.y port 5201 
 +[ ID] Interval           Transfer     Bitrate         Retr  Cwnd 
 +[  5]   0.00-1.00   sec  86.9 MBytes   729 Mbits/sec    0   1.68 MBytes        
 +[  5]   1.00-2.00   sec  88.0 MBytes   738 Mbits/sec   10   1.17 MBytes        
 +[  5]   2.00-3.00   sec  83.6 MBytes   702 Mbits/sec    0   1.41 MBytes        
 +[  5]   3.00-4.00   sec  86.0 MBytes   721 Mbits/sec    0   1.43 MBytes        
 +[  5]   4.00-5.00   sec  85.5 MBytes   717 Mbits/sec    0   1.52 MBytes        
 +[  5]   5.00-6.00   sec  85.5 MBytes   717 Mbits/sec   26   1.18 MBytes        
 +[  5]   6.00-7.00   sec  84.9 MBytes   712 Mbits/sec    0   1.20 MBytes        
 +[  5]   7.00-8.00   sec  84.2 MBytes   707 Mbits/sec    0   1.28 MBytes        
 +[  5]   8.00-9.00   sec  86.0 MBytes   721 Mbits/sec    0   1.30 MBytes        
 +[  5]   9.00-10.00  sec  85.9 MBytes   720 Mbits/sec    0   1.32 MBytes        
 +- - - - - - - - - - - - - - - - - - - - - - - - - 
 +[ ID] Interval           Transfer     Bitrate         Retr 
 +[  5]   0.00-10.00  sec   856 MBytes   718 Mbits/sec   36             sender 
 +[  5]   0.00-10.00  sec   852 MBytes   715 Mbits/sec                  receiver 
 + 
 +iperf Done. 
 +</code> 
 + 
 + 
 +==== Disk Performance ==== 
 + 
 +Test run on: OpenWrt 23.05.0 r23497-6637af95aa 
 + 
 +Alternative tests: [[https://forum.openwrt.org/t/feedbacks-on-gnubee-personal-cloud-device-performances/178002|Here]] (newer kernel, higher performance) 
 + 
 +Conclusion: 
 +  * Do not expect more that ~50Mb/s write throughput 
 +  * Do not try to use anything involving crypt function, as far I know, there is no such support.  
 +  * When used with raid1 md array or LVM mirroring, write performance where sitting between 8~12Mb/s 
 +    * Because of missing AES driver ? See: https://forum.openwrt.org/t/gnubee-personal-cloud-one/1871/14 
 +  *  
 + 
 +Used spinning hardrives for test: 
 + 
 +<code> 
 +# smartctl -i  /dev/sda 
 +smartctl 7.3 2022-02-28 r5338 [mips-linux-5.15.134] (localbuild) 
 +Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org 
 + 
 +=== START OF INFORMATION SECTION === 
 +Device Model:     WDC WD1600BJKT-75F4T0 
 +Serial Number:    REDACTED 
 +LU WWN Device Id: 5 0014ee 203bc4fc0 
 +Firmware Version: 11.01A11 
 +User Capacity:    160,041,885,696 bytes [160 GB] 
 +Sector Size:      512 bytes logical/physical 
 +Rotation Rate:    7200 rpm 
 +Device is:        Not in smartctl database 
 +ATA Version is:   ATA8-ACS (minor revision not indicated) 
 +SATA Version is:  SATA 2.5, 3.0 Gb/s 
 +Local Time is:    Sat Nov 18 13:37:25 2023 EST 
 +SMART support is: Available - device has SMART capability. 
 +SMART support is: Enabled 
 + 
 +# smartctl -i  /dev/sdc 
 +smartctl 7.3 2022-02-28 r5338 [mips-linux-5.15.134] (localbuild) 
 +Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org 
 + 
 +=== START OF INFORMATION SECTION === 
 +Device Model:     ST4000LM024-2AN17V 
 +Serial Number:    REDACTED 
 +LU WWN Device Id: 5 000c50 0a9a1dbdb 
 +Firmware Version: 0001 
 +User Capacity:    4,000,787,030,016 bytes [4.00 TB] 
 +Sector Sizes:     512 bytes logical, 4096 bytes physical 
 +Rotation Rate:    5526 rpm 
 +Form Factor:      2.5 inches 
 +Device is:        Not in smartctl database 
 +ATA Version is:   ACS-3 T13/2161-D revision 5 
 +SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s) 
 +Local Time is:    Sat Nov 18 13:37:28 2023 EST 
 +SMART support is: Available - device has SMART capability. 
 +SMART support is: Enabled 
 + 
 +</code> 
 + 
 +Testing with hdparm: 
 + 
 +<code> 
 +# hdparm -tT /dev/sda 
 + 
 +/dev/sda: 
 + Timing cached reads:   270 MB in  2.00 seconds = 134.84 MB/sec 
 + Timing buffered disk reads: 230 MB in  3.00 seconds =  76.62 MB/sec 
 + 
 + 
 +# hdparm -tT /dev/sdc 
 + 
 +/dev/sdc: 
 + Timing cached reads:   286 MB in  2.01 seconds = 142.58 MB/sec 
 + Timing buffered disk reads: 198 MB in  3.01 seconds =  65.86 MB/sec 
 +</code> 
 + 
 +Tested with dd when on mounted ext4 filesystem: 
 + 
 +<code> 
 +# for i in /mnt/sda2 /mnt/sdc2; do time dd if=/dev/zero of=$i/TMP  bs=100MB count=10 conv=sync ;  
 +ls -ahl $i/TMP; rm $i/TMP ; done 
 +10+0 records in 
 +10+0 records out 
 +real 0m 18.20s 
 +user 0m 0.00s 
 +sys 0m 17.85s 
 +-rw-r--r--    1 root     root      953.7M Nov 18 13:21 /mnt/sda2/TMP 
 +10+0 records in 
 +10+0 records out 
 +real 0m 17.99s 
 +user 0m 0.00s 
 +sys 0m 17.79s 
 +-rw-r--r--    1 root     root      953.7M Nov 18 13:21 /mnt/sdc2/TMP 
 +</code> 
 + 
 + 
 +===== TFTP Boot ===== 
 + 
 +An openwrt image can be booted via TFTP without being flashed, for example to test a snapshot or custom build. 
 + 
 +You should have a TFTP server ready, for example: 
 +<code> 
 +wget -O /srv/tftp/GB-PCx_uboot.bin https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-gnubee_gb-pc1-initramfs-kernel.bin 
 +ip a add 192.168.1.100/24 dev eth0 
 +in.tftpd -vvv -4 -L -s /srv/tftp 
 +</code> 
 +On the serial console interrupt the normal boot process with the "1" key, this is the "Load system code to SDRAM via TFTP"
 +<code> 
 +Please choose the operation: 
 +   1: Load system code to SDRAM via TFTP. 
 +   2: Load system code then write to Flash via TFTP. 
 +   3: Boot system code via Flash (default). 
 +   4: Enter boot command line interface. 
 +   5: Load system code then write to Flash via USB Storage. 
 +   6: Load system code then write to Flash via Httpd. 
 +   9: Load U-Boot code then write to Flash via TFTP. 
 +</code> 
 +It will ask you if you want to change from the default TFTP boot parameters: 
 +<code> 
 +1: System Load Linux to SDRAM via TFTP. 
 + Please Input new ones /or Ctrl-C to discard 
 +        Input device IP (192.168.1.1) ==:192.168.1.1 
 +        Input server IP (192.168.1.100) ==:192.168.1.100 
 +        Input Linux Kernel filename (GB-PCx_uboot.bin) ==:GB-PCx_uboot.bin 
 +</code> 
 +It will then dowload the image in RAM and run it: 
 +<code> 
 + NetTxPacket = 0x9BFB6C00 
 + 
 + KSEG1ADDR(NetTxPacket) = 0xBBFB6C00 
 + 
 + NetLoop,call eth_halt ! 
 + 
 + NetLoop,call eth_init ! 
 +Trying eth2 
 + 
 + ETH_STATE_ACTIVE!! 
 +Using eth2 device 
 +TFTP from server 192.168.1.100; our IP address is 192.168.1.1 
 +Filename 'GB-PCx_uboot.bin'
 + 
 + TIMEOUT_COUNT=10,Load address: 0x80a00000 
 +Loading: Got ARP REPLY, set server/gtwy eth addr (98:f2:b3:c3:11:f0) 
 +Got it 
 +
 +         ################################################################# 
 +         [...] 
 +         ################### 
 +done 
 +Bytes transferred = 6086802 (5ce092 hex) 
 +LoadAddr=80a00000 NetBootFileXferSize=005ce092 
 +Automatic boot of image at addr 0x80A00000 ... 
 +## Checking image at 80a00000 ... 
 +   Image Name:   MIPS OpenWrt Linux-6.6.45 
 +   Image Type:   MIPS Linux Kernel Image (uncompressed) 
 +   Data Size:    6086738 Bytes =  5.8 MB 
 +   Load Address: 80001000 
 +   Entry Point:  80001000 
 +   Verifying Checksum ... OK 
 +OK 
 +No initrd 
 +## Transferring control to Linux (at address 80001000) ... 
 +## Giving linux memsize in MB, 512 
 + 
 +Starting kernel ... 
 + 
 +OpenWrt kernel loader for MIPS based SoC 
 +Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org> 
 +Decompressing kernel... done! 
 +Starting kernel at 80001000... 
 + 
 +[    0.000000] Linux version 6.6.45 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r27140-ccc06f6716) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Tue Aug 13 10:22:33 2024 
 +[...] 
 +</code> 
 +And that's it.
  
  
Line 253: Line 532:
  
 ==== Info ==== ==== Info ====
----- datatemplatelist dttpllist ---- +<!-- ToH: { 
-templatemeta:template_datatemplatelist +  "source""json", 
-cols    BrandModelVersionsDevice TypeAvailabilitySupported Since Commit_gitSupported since RelSupported current RelUnsupportedBootloaderCPUTargetCPU MHzFlash MBsRAM MBSwitchEthernet 100M ports_Ethernet Gbit ports_Comments network ports_ModemVLANWLAN 2.4GHzWLAN 5.0GHzWLAN HardwaresWLAN Comments_Detachable Antennas_USB ports_SATA ports_Comments USB SATA ports_SerialJTAGLED countButton countPower supplyDevice Techdata_pageidForum topic URL_urlwikidevi URL_urlOEM Device Homepage URL_urlFirmware OEM Stock URL_urlFirmware OpenWrt Install URL_urlFirmware OpenWrt Upgrade URL_urlComments_ +  "dom""t", 
-filter  : Brand=GnuBee +  "paging"false, 
-filter  Model=Personal Cloud One +  "rotate": true, 
-----+  "shownColumns": ["brand""model""version""devicetype""availability""supportedsincecommit""supportedsincerel""supportedcurrentrel""unsupported_functions""bootloader""cpu""target""cpumhz""flashmb""rammb""switch""ethernet100mports""ethernet1gports""commentsnetworkports""modem""vlan""wlan24ghz""wlan50ghz""wlanhardware""wlancomments""detachableantennas""usbports""sataports""commentsusbsataports""serial""jtag""ledcount""buttoncount""powersupply""deviceid""owrt_forum_topic_url""wikideviurl""oemdevicehomepageurl""firmwareoemstockurl", "firmwareopenwrtinstallurl", "firmwareopenwrtupgradeurl", "comments"]
 +  "filterColumns"{"brand": "^GnuBee$", "model""^Personal Cloud One$"} 
 +-->
  
 ==== Photos ==== ==== Photos ====
Line 288: Line 569:
 -> [[docs:techref:hardware:port.serial]] general information about the serial port, serial port cable, etc. -> [[docs:techref:hardware:port.serial]] general information about the serial port, serial port cable, etc.
  
-How to connect to the Serial Port of this specific device:\\ +The GBPC1&2 comes with a serial Jack 2,5" to USB adaptator. If you don't have the manufacturer adaptator, it should be possible to directly connect on the PCB with some manual tinkering.
-**Insert photo of PCB with markings for serial port** +
- +
-<WRAP BOX> +
-FIXME //Replace EXAMPLE by real values.// +
-</WRAP>+
  
 ^ Serial connection parameters\\ for GnuBee Personal Cloud One  | 57600, 8N1, 3.3V  | ^ Serial connection parameters\\ for GnuBee Personal Cloud One  | 57600, 8N1, 3.3V  |
 +
 +On a standard linux distro, you can attach to serial at anytime:
 +
 +<webcode name="Default" frameborder=0 width=100% scrolling=yes externalResources="," renderingMode=story >
 +screen /dev/ttyUSB0 57600
 +</webcode>
 +
  
 ==== JTAG ==== ==== JTAG ====
Line 377: Line 660:
  
 ===== Tags ===== ===== Tags =====
-<WRAP BOX> 
-FIXME //Add tags below, then remove this fixme.// 
-</WRAP> 
  
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
 {{tag>EXAMPLETAG}} {{tag>EXAMPLETAG}}
  • Last modified: 2024/09/08 14:22
  • by vincele