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 18:45] – Add network and disk benchmarks 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)]]
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 168: 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 267: Line 268:
 ===== 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.
  
- +==== Network Performance (iperf3) ====
-====== Network Performance (iperf3) ======+
  
 Test run on: OpenWrt 23.05.0 r23497-6637af95aa Test run on: OpenWrt 23.05.0 r23497-6637af95aa
Line 353: Line 354:
  
  
-====== Disk Performance ======+==== Disk Performance ====
  
 Test run on: OpenWrt 23.05.0 r23497-6637af95aa 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: Conclusion:
Line 373: Line 376:
 === START OF INFORMATION SECTION === === START OF INFORMATION SECTION ===
 Device Model:     WDC WD1600BJKT-75F4T0 Device Model:     WDC WD1600BJKT-75F4T0
-Serial Number:    WD-WXE0AA9J2073+Serial Number:    REDACTED
 LU WWN Device Id: 5 0014ee 203bc4fc0 LU WWN Device Id: 5 0014ee 203bc4fc0
 Firmware Version: 11.01A11 Firmware Version: 11.01A11
Line 392: Line 395:
 === START OF INFORMATION SECTION === === START OF INFORMATION SECTION ===
 Device Model:     ST4000LM024-2AN17V Device Model:     ST4000LM024-2AN17V
-Serial Number:    WCK0TWNH+Serial Number:    REDACTED
 LU WWN Device Id: 5 000c50 0a9a1dbdb LU WWN Device Id: 5 000c50 0a9a1dbdb
 Firmware Version: 0001 Firmware Version: 0001
Line 443: Line 446:
 -rw-r--r--    1 root     root      953.7M Nov 18 13:21 /mnt/sdc2/TMP -rw-r--r--    1 root     root      953.7M Nov 18 13:21 /mnt/sdc2/TMP
 </code> </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
 +T
 +         #################################################################
 +         [...]
 +         ###################
 +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 448: 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 ====
  • Last modified: 2024/09/08 14:22
  • by vincele