Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
toh:gnubee:personal_cloud_one [2022/08/10 05:07] – Created from the form at meta:create_new_device_page mrjktoh:gnubee:personal_cloud_one [2024/09/08 14:17] – Trivial - move TFTP boot section one level upper, out of performance vincele
Line 5: Line 5:
 /* 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
  
-//Write a short, relevant description of the deviceInclude a technical overview, but avoid marketing buzzwords/useless stuff. Two to four sentences is about right. A picture is good, too. Edit the page to see how to add pictures.//+{{media:gnubee:gnubee-personal-cloud-1.jpg?400|GnuBee Personal Cloud 1}}
  
-<WRAP BOX> 
-FIXME Any text with a light background (like this one) provides instructions for creating the Details Page. When you have filled in correct/useful information (instead of any template that's there) **remove the instructions, as well as the ''<nowiki><WRAP></nowiki>'' that encloses it.** 
-</WRAP> 
  
-/*****/ +===== Supported Versions =====
-/* How to add images ========> http://openwrt.org/meta/adding_images_to_openwrt_wiki */ +
-/*****/+
  
-{{media:example:genericrouter1.png?200|Generic Router}}+<!-- ToH: { 
 +  "source": "json", 
 +  "dom": "t", 
 +  "paging": false, 
 +  "rotate": true, 
 +  "shownColumns": ["brand", "model", "version", "supportedcurrentrel", "oemdevicehomepageurl", "forumsearch", "deviceid"], 
 +  "filterColumns": {"brand": "^GnuBee$", "model""^Personal Cloud$", "version""^1$"} 
 +-->
  
-<WRAP BOX> 
-FIXME 
-===== Getting started with a new Device Page ===== 
-  - This is an empty template that suggests the information that should be present on a well-constructed Device Page. This means, that **you have to fill it with life and information.** 
-  - There are several "fixme" tags with text on a light background (like this text) throughout this template. As you fill in the page, remove those tags so that people can judge its completeness. 
-  - When there are no more "fixme" tags left, delete this one too, along with the ''<nowiki><WRAP></nowiki>'' that encloses it. 
  
-===== Keep the articles modular ===== +===== Hardware Highlights ===== 
-  * Please include only model specific informationomit bla,bla and put everything generic into separate articles +<!-- ToH: { 
-  * If you have no time to write certain stufflink to [[docs:start]] +  "source": "json", 
-  * [[docs:guide-user:base-system:start]] should lead the waydo not explain this again +  "dom": "t"
-  * DO NOT provide a complete howto here! Instead //groom// the [[docs:start|general documentation]]. +  "paging": false, 
-</WRAP>+  "rotate"true, 
 +  "shownColumns"["model", "version", "cpu", "cpumhz", "cpucores", "flashmb", "rammb", "wlanhardware", "wlan24ghz", "wlan50ghz", "ethernet100mports", "ethernet1gports", "modem", "usbports"], 
 +  "filterColumns"{"brand": "^GnuBee$", "model": "^Personal Cloud$", "version": "^1$"} 
 +} -->
  
-===== Supported Versions ===== 
  
-<WRAP BOX> +===== Installation ===== 
-FIXME +<!-- ToH: { 
-  - The tables below are automatically generated**once the correct filters for Brand and Model are set.** +  "source": "json"
-  - If the tables below show information for ''<nowiki>GnuBee Personal Cloud One </nowiki>''everything is OK and you can delete this text and the ''<nowiki><WRAP></nowiki>'' that encloses it. +  "dom": "t"
-  - If the tables below contain "Nothing found", it means that either +  "paging": false
-    - the dataentry page for GnuBee Personal Cloud One  is missing. Please [[meta:create_new_dataentry_page|create a new dataentry page]] first, then reload this page. The tables should then contain $something. If they dodelete this text and the ''<nowiki><WRAP></nowiki>'' that encloses it. +  "rotate"true
-    - filters are not set correctly. Most common reason for "Nothing found": The dataentry does not contain a Versionbut we are filtering here for version -> Please **edit this section and adjust the filters with the proper BrandModel and Version.** In case the dataentry does not contain a versiondelete the line ''filter  : Versions~''. Just tryit's easy. The tables should then contain $something. If they dodelete this text and the ''<nowiki><WRAP></nowiki>'' that encloses it. +  "shownColumns": ["model""version""supportedcurrentrel""firmwareopenwrtinstallurl""firmwareopenwrtupgradeurl", "firmwareoemstockurl"]
-  - If the tables still contain "Nothing found": Don't paniccalm downtake a deep breath and [[:contact|contact a wiki admin]] (tmomas) for help. +  "filterColumns": {"brand": "^GnuBee$""model": "^Personal Cloud$""version""^1$"} 
-</WRAP>+} -->
  
----- datatable ---- +-> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]]
-cols    Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, Forum Search_search-forums, Device Techdata_pageid +
-headers Brand, Model, Version, Current Release, OEM Info, Forum Search, Technical Data +
-align   c,c,c,c,c,c,+
-filter  : Brand=GnuBee +
-filter  : Model=Personal Cloud One +
-filter  : Versions~ +
-----+
  
-/* If no unsupported functions known, comment out the following datatable or delete it*/ +You will need to follow the initial installation procedure described below if you install openwrt for the first time.
----- datatable ---- +
-cols    : Unsupported Functions_unsupporteds +
-filter  : Brand=GnuBee +
-filter  : Model=Personal Cloud One +
-filter  : Versions~ +
-----+
  
-===== Experimental Versions =====+==== Flash Layout ====
  
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *  +OpenWRT layout: 
- *   The official Table of Hardware only lists current, stable versions of OpenWrt.  +^ dev    size   ^ erasesize ^ name         ^ 
-   Use this space to describe any on-going efforts to create a newer version       * +| mtd0 | 00030000 | 00010000 | u-boot | 
- *   of the firmware for this device. Provide links to firmware images,              * +| mtd1 | 00010000 | 00010000 | u-boot-env | 
- *   active threads on the forum, or other sources of information.                   * +| mtd2 | 00010000 | 00010000 | factory | 
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */+| mtd3 | 01fb0000 | 00010000 | firmware | 
 +| mtd4 | 00245520 | 00010000 | kernel | 
 +| mtd5 | 01d6aae0 | 00010000 | rootfs | 
 +| mtd6 | 01ac0000 | 00010000 | rootfs_data |
  
-//None at this time.// 
  
-===== Hardware Highlights ===== +Neil Brown's builds mtd table
----- datatable ---- +^ dev  ^   size   ^ erasesize ^ name         ^ 
-cols    Model, Versions, CPU, CPU MHz, CPU Cores_numcores, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4GHz, WLAN 5.0GHz, Ethernet 100M ports_, Ethernet Gbit ports_, Modem, USB ports_ +| mtd0 | 00030000 | 00010000  | u-boot       | 
-header  : Model, Version,SoC,CPU MHz,CPU Cores,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit ports,Modem,USB +| mtd1 | 00010000 | 00010000  | u-boot-env   | 
-align   : c,c,c,c,c,c,c,c,c,c,c,c,c +| mtd2 | 00010000 | 00010000  | factory      | 
-filter  : Brand=GnuBee +| mtd3 | 01fb0000 | 00010000  | firmware     |
-filter  : Model=Personal Cloud One +
-filter  : Versions~ +
-----+
  
  
-===== Installation ===== +==== OEM easy installation ====
-/* stable release */ +
-/* uncomment once stable release is available +
----- datatable ---- +
-cols    : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url +
-headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock +
-align   : c,c,c +
-filter  : Brand=GnuBee +
-filter  : Model=Personal Cloud One +
-filter  : Versions~ +
----- +
-*/+
  
 +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.
  
-/* snapshot */ +Two methods are available:
-/* delete once stable release is available */ +
----- datatable ---- +
-cols    Model, Versions, Supported Current Rel, Firmware OpenWrt snapshot Install URL_url, Firmware OpenWrt snapshot Upgrade URL_url, Firmware OEM Stock URL_url +
-headers : Model, Version, Current Release, Firmware OpenWrt snapshot Install, Firmware OpenWrt snapshot Upgrade, Firmware OEM Stock +
-align   : c,c,c +
-filter  : Brand=GnuBee +
-filter  : Model=Personal Cloud One +
-filter  : Versions~ +
-----+
  
 +  * Install via existing Openwrt: install/reinstall/upgrade via web interface or CLI.
 +  * Install via USB key: See below
  
--> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]]+===== Install OpenWRT from USB key to internal memory =====
  
-FIXME Please add the installation procedure here.+    * Fetch firmware file 
 +      * From official openwrt: https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/gnubee_gb-pc* 
 +        * 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 
 +        * 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: Last snapshot as of 2022/08/10 
 +      * From original author:  
 +        * Quite old and deprecated, not recommended  
 +        * Url: https://raw.githubusercontent.com/gnubee-git/gnubee-git.github.io/master/debian/openwrt-ramips-mt7621-gb-n1-squashfs-sysupgrade.bin 
  
-==== Flash Layout ==== +    * Grab USB key, and format it in `vfat` 
-<WRAP BOX> +    * Copy `*-gnubee_gb-pc1-squashfs-sysupgrade.bin` firmware into usb key root diras a file called: `gnubee.bin`   
-FIXME //[[:docs:techref:flash.layout#discovery_how_to_find_out|Find out flash layout]]then add the flash layout table here (copypaste, modify the [[docs:techref:flash.layout#partitioning_of_the_flash|example]]).//+    * Plug the usb key close to the power button (other portnext to power plug also tested to work). 
 +    * Reboot GnuBee. If the device finds an usb key with a `gnubee.bin` file, it will flash it. 
 +    * Wait firmware to be flashedYou 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 
 +    * The device should be available on any ethernet port on http://192.168.1.1/
  
-Please check out the article [[docs:techref:flash.layout|Flash layout]]It contains examples and explanations that describe how to document the flash layout. +===== Install Recovery tools or Debian from USB key ===== 
-</WRAP>+Neil Brown's builds are available herehttp://neil.brown.name/gnubee/. There are some documentation provided with those builds. Actually, this image can help to troubleshoot, fix and install other OS.
  
-==== OEM easy installation ====+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. 
 +  * 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
  
-<WRAP BOX> +You can use the following to build your own images: https://github.com/neilbrown/gnubee-tools 
-FIXME //The instructions below are for Broadcom devices and only serve as an example.//\\ +===== Install OpenWRT from USB key to other memory =====
-**//Remove / modify them if they do not apply to this particular device!//**+
  
-This section deals with +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]]
-  * How you install OpenWrt from a device freshly opened +
-  * The steps required such as reset to factory defaults if the device has already been configured +
- +
-**Note:** Reset router to factory defaults if it has been previously configured. +
-  * Browse to ''<nowiki>http://192.168.1.1/Upgrade.asp</nowiki>'' +
-  * Upload .bin file to router +
-  * Wait for it to reboot +
-  * Telnet to 192.168.1.1 and set a root password, or browse to ''<nowiki>http://192.168.1.1</nowiki>'' if LuCI is installed. +
-</WRAP>+
  
 ==== OEM installation using the TFTP method ==== ==== OEM installation using the TFTP method ====
Line 142: Line 115:
 ->  [[docs:guide-user:installation:generic.flashing.tftp]] ->  [[docs:guide-user:installation:generic.flashing.tftp]]
  
-=== Specific values needed for tftp === +This seems possible via the bootloader, but not tested yet. 
- +
-<WRAP BOX> +
- +
-FIXME Enter values for "FILL-IN" below+
  
-^ Bootloader tftp server IPv4 address  | FILL-IN   | 
-^ Bootloader MAC address (special)     | FILL-IN   | 
-^ Firmware tftp image                  | [[:downloads|Latest OpenWrt release]] (**''NOTE:''** Name must contain //"tftp"//) | 
-^ TFTP transfer window                 | FILL-IN seconds                                | 
-^ TFTP window start                    | approximately FILL-IN seconds after power on   | 
-^ TFTP client required IP address      | FILL-IN                                        | 
- 
-</WRAP> 
  
 ===== Upgrading OpenWrt ===== ===== Upgrading OpenWrt =====
 ->  [[docs:guide-user:installation:generic.sysupgrade]] ->  [[docs:guide-user:installation:generic.sysupgrade]]
 +
 +Official procedure from existing OpenWRT variants: https://github.com/gnubee-git/GnuBee_Docs/wiki/Install-OpenWRT
 +
  
 <WRAP BOX> <WRAP BOX>
- 
-FIXME These are generic instructions. Update with your router's specifics. 
  
 ==== LuCI Web Upgrade Process ==== ==== LuCI Web Upgrade Process ====
Line 206: Line 168:
 ===== Debricking ===== ===== Debricking =====
 -> [[docs:guide-user:troubleshooting:generic.debrick]] -> [[docs:guide-user:troubleshooting:generic.debrick]]
 +
 +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 216: Line 180:
 ===== Specific Configuration ===== ===== Specific Configuration =====
  
-<WRAP BOX> 
-FIXME Please fill in real values for this device, then remove the EXAMPLEs 
  
-==== Network interfaces ====+==== Network interfaces: Default ==== 
 The default network configuration is: The default network configuration is:
-^ Interface Name   ^ Description                  ^ Default configuration    ^ +^ Interface Name   ^ Description    ^ Default configuration    ^ 
-| br-lan           EXAMPLE LAN & WiFi           EXAMPLE 192.168.1.1/24   | +| br-lan           | LAN            | 192.168.1.1/24   | 
-vlan0 (eth0.0)   EXAMPLE LAN ports (1 to 4)   EXAMPLE None             | +lan1             LAN1 BLACK     | None             | 
-vlan1 (eth0.1)   | EXAMPLE WAN port             | EXAMPLE DHCP             +lan2             | LAN2 BLUE      | None             |
-| wl0              | EXAMPLE WiFi                 | EXAMPLE Disabled         |+
  
-</WRAP>+ 
 +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 ==== 
 + 
 +Since this device may not really be used as router, it may be useful to configure it as DHCP client on both interface. Here we also override MAC addresses for example: 
 + 
 +<code> 
 +# cat /etc/config/network  
 +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 packet_steering '1' 
 +        option ula_prefix 'fdf9:b66d:e4a2::/48' 
 + 
 +config interface 'brblack' 
 +        option proto 'dhcp' 
 +        option device 'lan1' 
 +        option macaddr '18:B5:51:AB:AB:15' 
 + 
 +config interface 'brblue' 
 +        option proto 'dhcp' 
 +        option device 'lan2' 
 +        option macaddr '18:B5:51:AB:AB:16' 
 +</code> 
 + 
 +Then apply changes: <code>/etc/init.d/network restart</code> 
 +Then check on your DHCP server which IP took the device to be able to reconnect. It can be useful to assign a static IP to those macaddresses.
  
 ==== 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 ====
 -> [[docs:guide-user:hardware:hardware.button]] on howto use and configure the hardware button(s). -> [[docs:guide-user:hardware:hardware.button]] on howto use and configure the hardware button(s).
-Here, we merely name the buttons, so we can use them in the above Howto. 
- 
-<WRAP BOX> 
-FIXME Please fill in real values for this device, then remove the EXAMPLEs 
  
 The GnuBee Personal Cloud One has the following buttons: The GnuBee Personal Cloud One has the following buttons:
  
 ^ BUTTON                       ^ Event   ^ ^ BUTTON                       ^ Event   ^
-EXAMPLE Reset                |  reset  | +Power (Big red button)                        |  power on/off  | 
-EXAMPLE Secure Easy Setup      ses   | +Reset (Small black button)                     reset   | 
-| EXAMPLE No buttons at all.         |+ 
 +===== Hardware Performance ===== 
 + 
 +Overall performances are acceptable for this kind of device (single user), however do not expect good performances if moderately intensively usedThe 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. 
 + 
 +==== Network Performance (iperf3) ==== 
 + 
 +Test run on: OpenWrt 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.
  
-</WRAP> 
  
 ===== Hardware ===== ===== Hardware =====
-==== Info ==== 
-<WRAP BOX> 
-FIXME 
-  - This table is automatically generated, **once the correct filters for Brand and Model are set.** 
-  - If you see "Nothing." instead of a table, please **edit this section and adjust the filters with the proper Brand and Model.** Just try, it's easy. 
-  - If you still don't see a table here, or a table filled with '¿': [[toh:start|Is there already a Techdata page available]] for GnuBee Personal Cloud One ? If not: [[meta:create_new_dataentry_page|Create one]]. 
-  - If you see a table with the desired device data, everything is OK and you can delete this text and the ''<nowiki><WRAP></nowiki>'' that encloses it. 
-  - If it still doesn't work: Don't panic, calm down, take a deep breath and [[:contact|contact a wiki admin]] (tmomas) for help. 
-</WRAP> 
  
----- datatemplatelist dttpllist ---- +==== Info ==== 
-templatemeta:template_datatemplatelist +<!-- ToH: { 
-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_ +  "source""json", 
-filter  : Brand=GnuBee +  "dom""t", 
-filter  Model=Personal Cloud One +  "paging"false, 
-filter  : Versions= +  "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 295: Line 558:
 ==== Opening the case ==== ==== Opening the case ====
  
-**Note:** This will void your warranty! +**Note:** There is no case. The metal side sheets serve as both mounts and heatsink for the SATA drivesThe sides are assembled with standard phillips (+) drive screws.
- +
-<WRAP BOX> +
-FIXME //Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws...// +
-  * To remove the cover and open the device, do a/b/c +
-</WRAP>+
  
 //Main PCB://\\ //Main PCB://\\
 **Insert photo of PCB** **Insert photo of PCB**
 +{{media:gnubee:gnubee-personal-cloud-1-pcb-top.jpg?400|GnuBee Personal Cloud 1 PCB top}}
 +{{media:gnubee:gnubee-personal-cloud-1-pcb-bottom.jpg?400|GnuBee Personal Cloud 1 PCB bottom}}
 +
  
 ==== Serial ==== ==== Serial ====
 -> [[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+^ Serial connection parameters\\ for GnuBee Personal Cloud One  | 57600, 8N1, 3.3V  | 
-FIXME //Replace EXAMPLE by real values.// + 
-</WRAP>+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>
  
-^ Serial connection parameters\\ for GnuBee Personal Cloud One @@Version@@ | EXAMPLE 115200, 8N1, 3.3V | 
  
 ==== JTAG ==== ==== JTAG ====
Line 322: Line 585:
 How to connect to the JTAG Port of this specific device:\\ How to connect to the JTAG Port of this specific device:\\
 **Insert photo of PCB with markings for JTAG port** **Insert photo of PCB with markings for JTAG port**
- 
-===== Bootloader mods ===== 
--> [[docs:techref:bootloader]] 
- 
-===== Hardware mods ===== 
- 
-None so far. 
  
  
Line 339: Line 595:
 ==== OpenWrt bootlog ==== ==== OpenWrt bootlog ====
 <WRAP bootlog> <WRAP bootlog>
-<nowiki>COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING</nowiki>+U-Boot 1.1.3 (Jul  9 2017 - 14:14:05) 
 + 
 +Board: MediaTek APSoC DRAM: 512 MB 
 + 
 +Config XHCI 40M PLL 
 +MediaTek SPI flash driver, SPI clock: 32MHz 
 +spi device id: ef 40 19 0 
 +find flash: W25Q256FV 
 +============================================ 
 +MediaTek U-Boot Version: 5.0.1.0-6 
 +-------------------------------------------- 
 +ASIC MT7621A DualCore (MAC to MT7530 Mode) 
 +DRAM_CONF_FROM: Auto-Detection 
 +DRAM_TYPE: DDR3 
 +DRAM bus: 16 bit 
 +Xtal Mode=3 OCP Ratio=1/
 +Flash component: SPI Flash 
 +Date:Jul  9 2017  Time:14:14:05 
 +============================================ 
 +icache: sets:256, ways:4, linesz:32, total:32768 
 +dcache: sets:256, ways:4, linesz:32, total:32768 
 + 
 + #### The CPU freq = 900 MHZ #### 
 + estimate memory size = 512 Mbytes 
 + 
 + Reset MT7530 
 +set LAN/WAN WLLLL 
 +(Re)start USB... 
 +USB0:   mtk-xhci: init hccr be1c0000 and hcor be1c0020 hc_length 32 
 +Register 300010f NbrPorts 3 
 +Starting the controller 
 +USB XHCI 0.96 
 +scanning bus 0 for devices... 2 USB Device(s) found 
 +       scanning bus for storage devices... 0 Storage Device(s) found 
 + 
 + No USB Storage found. Upgrade FW failed! 
 + 
 +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.                                                                0 
 + 
 +3: System Boot system code via Flash. 
 +## Checking image at bc050000 ... 
 +   Image Name:   Linux-5.1.4+ 
 +   Image Type:   MIPS Linux Kernel Image (uncompressed) 
 +   Data Size:    16852848 Bytes = 16.1 MB 
 +   Load Address: 80001000 
 +   Entry Point:  8063b0c0 
 +   Verifying Checksum ... OK 
 +OK   
 +No initrd 
 </WRAP>\\ </WRAP>\\
  
Line 348: 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