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 [2022/08/10 05:41] – Add Gnu Bee PC1 doc 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
  
- +{{media:gnubee:gnubee-personal-cloud-1.jpg?400|GnuBee Personal Cloud 1}}
-/*****/ +
-/* How to add images ========> http://openwrt.org/meta/adding_images_to_openwrt_wiki */ +
-/*****/ +
- +
-{{media:example:genericrouter1.png?200|Generic Router}}+
  
  
 ===== 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$"} 
 +-->
  
-/* If no unsupported functions known, comment out the following datatable or delete it. */ 
----- datatable ---- 
-cols    : Unsupported Functions_unsupporteds 
-filter  : Brand=GnuBee 
-filter  : Model=Personal Cloud One 
----- 
- 
-===== Experimental Versions ===== 
- 
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *  
-   The official Table of Hardware only lists current, stable versions of OpenWrt.  * 
-   Use this space to describe any on-going efforts to create a newer version       * 
-   of the firmware for this device. Provide links to firmware images,              * 
-   active threads on the forum, or other sources of information.                   * 
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 
- 
-//None at this time.// 
  
 ===== 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 =====
-/* stable release */ +<!-- ToH{ 
-/* uncomment once stable release is available +  "source""json"
----- datatable ---- +  "dom""t"
-cols    Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url +  "paging"false, 
-headers ModelVersion, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock +  "rotate"true
-align   c,c,c +  "shownColumns"["model""version""supportedcurrentrel""firmwareopenwrtinstallurl""firmwareopenwrtupgradeurl""firmwareoemstockurl"]
-filter  : Brand=GnuBee +  "filterColumns": {"brand""^GnuBee$", "model""^Personal Cloud$", "version": "^1$"} 
-filter  : Model=Personal Cloud One +-->
----- +
-*/ +
- +
- +
-/* snapshot */ +
-/* delete once stable release is available */ +
----- datatable ---- +
-cols    : ModelVersions, Supported Current Rel, Firmware OpenWrt snapshot Install URL_url, Firmware OpenWrt snapshot Upgrade URL_url, Firmware OEM Stock URL_url +
-headers ModelVersionCurrent ReleaseFirmware OpenWrt snapshot InstallFirmware OpenWrt snapshot UpgradeFirmware OEM Stock +
-align   : c,c,c +
-filter  : Brand=GnuBee +
-filter  Model=Personal Cloud One +
----- +
  
 -> [[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 ====
  
 +OpenWRT layout:
 +^ dev  ^   size   ^ erasesize ^ name         ^
 +| mtd0 | 00030000 | 00010000 | u-boot |
 +| mtd1 | 00010000 | 00010000 | u-boot-env |
 +| mtd2 | 00010000 | 00010000 | factory |
 +| mtd3 | 01fb0000 | 00010000 | firmware |
 +| mtd4 | 00245520 | 00010000 | kernel |
 +| mtd5 | 01d6aae0 | 00010000 | rootfs |
 +| mtd6 | 01ac0000 | 00010000 | rootfs_data |
 +
 +
 +Neil Brown's builds mtd table:
 ^ dev  ^   size   ^ erasesize ^ name         ^ ^ dev  ^   size   ^ erasesize ^ name         ^
 | mtd0 | 00030000 | 00010000  | u-boot       | | mtd0 | 00030000 | 00010000  | u-boot       |
Line 94: 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.
  
-==== OEM installation using the TFTP method ====+Two methods are available:
  
-->  [[docs:guide-user:installation:generic.flashing.tftp]]+  * Install via existing Openwrt: install/reinstall/upgrade via web interface or CLI. 
 +  * Install via USB keySee below
  
-=== Specific values needed for tftp ===+===== Install OpenWRT from USB key to internal memory =====
  
-<WRAP BOX>+    * 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 
  
-FIXME Enter values for "FILL-IN" below+    * Grab USB key, and format it in `vfat` 
 +    * 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 (other port, next 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 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 
 +    * The device should be available on any ethernet port on http://192.168.1.1/
  
-^ Bootloader tftp server IPv4 address  | FILL-IN   | +===== Install Recovery tools or Debian from USB key ===== 
-^ Bootloader MAC address (special)     FILL-IN   | +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. 
-^ Firmware tftp image                  [[:downloads|Latest OpenWrt release]] (**''NOTE:''** Name must contain //"tftp"//) | + 
-^ TFTP transfer window                 | FILL-IN seconds                                | +This image is also capable to boot other systems: 
-^ TFTP window start                    | approximately FILL-IN seconds after power on   | +  * 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. 
-TFTP client required IP address      | FILL-IN                                        |+  * For ext3/ext4 with sde1 partition: tune2fs -l /dev/sde1 grep GNUBEE-ROOT || e2label  /dev/sde1 GNUBEE-ROOT 
 +  For fatexfatlabel /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 ===== 
 + 
 +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 ==== 
 + 
 +->  [[docs:guide-user:installation:generic.flashing.tftp]] 
 + 
 +This seems possible via the bootloader, but not tested yet. 
  
-</WRAP> 
  
 ===== Upgrading OpenWrt ===== ===== Upgrading OpenWrt =====
 ->  [[docs:guide-user:installation:generic.sysupgrade]] ->  [[docs:guide-user:installation:generic.sysupgrade]]
  
-<WRAP BOX>+Official procedure from existing OpenWRT variants: https://github.com/gnubee-git/GnuBee_Docs/wiki/Install-OpenWRT
  
-FIXME These are generic instructions. Update with your router's specifics.+ 
 +<WRAP BOX>
  
 ==== LuCI Web Upgrade Process ==== ==== LuCI Web Upgrade Process ====
Line 165: 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 176: 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 ====
Line 209: Line 263:
  
 ^ BUTTON                       ^ Event   ^ ^ BUTTON                       ^ Event   ^
-EXAMPLE Reset                |  reset  |+Power (Big red button)                        |  power on/off 
 +Reset (Small black button)                    |  reset   | 
 + 
 +===== 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. 
 + 
 +==== 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.
  
  
Line 215: Line 532:
  
 ==== Info ==== ==== Info ====
-<WRAP BOX> +<!-- ToH: { 
-FIXME +  "source": "json", 
-  This table is automatically generated, **once the correct filters for Brand and Model are set.** +  "dom": "t"
-  - If you see "Nothing.instead of a tableplease **edit this section and adjust the filters with the proper Brand and Model.** Just try, it's easy. +  "paging": false
-  - If you still don'see a table hereor 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]]. +  "rotate"true
-  - If you see a table with the desired device dataeverything is OK and you can delete this text and the ''<nowiki><WRAP></nowiki>'' that encloses it. +  "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"]
-  - If it still doesn't workDon't panic, calm downtake a deep breath and [[:contact|contact a wiki admin]] (tmomas) for help. +  "filterColumns"{"brand": "^GnuBee$", "model""^Personal Cloud One$"} 
-</WRAP> +-->
- +
----- datatemplatelist dttpllist ---- +
-template: meta:template_datatemplatelist +
-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_ +
-filter  : Brand=GnuBee +
-filter  Model=Personal Cloud One +
-filter  : Versions= +
-----+
  
 ==== Photos ==== ==== Photos ====
Line 249: 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 276: 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 293: Line 595:
 ==== OpenWrt bootlog ==== ==== OpenWrt bootlog ====
 <WRAP bootlog> <WRAP bootlog>
 +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/3
 +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 301: 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