Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:gnubee:personal_cloud_one [2023/11/18 18:48] – [Disk Performance] mrjk | toh: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:// | /* USE https:// | ||
| - | |||
| - | {{page> | ||
| 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 | + | " |
| - | headers | + | " |
| - | align : c,c,c,c,c,c,c | + | " |
| - | filter | + | " |
| - | filter | + | " |
| - | ---- | + | |
| + | } --> | ||
| ===== Hardware Highlights ===== | ===== Hardware Highlights ===== | ||
| - | ---- datatable ---- | + | <!-- ToH: { |
| - | cols | + | " |
| - | header | + | " |
| - | align : c, | + | " |
| - | filter | + | " |
| - | filter | + | |
| - | ---- | + | |
| + | } --> | ||
| ===== Installation ===== | ===== Installation ===== | ||
| - | ---- datatable ---- | + | <!-- ToH: { |
| - | cols | + | " |
| - | headers | + | " |
| - | align : l,c,c | + | " |
| - | filter | + | " |
| - | filter | + | " |
| - | filter | + | |
| - | ---- | + | } --> |
| -> [[docs: | -> [[docs: | ||
| 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 | + | GnuBee already comes with a preinstalled version of OpenWRT. However, original maintainer does not maintain |
| Two methods are available: | Two methods are available: | ||
| Line 80: | Line 80: | ||
| * Fetch firmware file | * Fetch firmware file | ||
| - | * From official openwrt: https:// | + | * From official openwrt: https:// |
| * Use squashfs-sysupgrade images | * Use squashfs-sysupgrade images | ||
| * Working: https:// | * Working: https:// | ||
| - | * Important: Something | + | * Important: Something |
| * LZMA error: https:// | * LZMA error: https:// | ||
| * 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 |
| - | * Reboot GnuBee. If the device | + | * Reboot GnuBee. If the device |
| - | * Wait firmware to be copied. You can check into serial port if everything goes well: screen / | + | * Wait firmware to be flashed. You can check into serial port if everything goes well: screen / |
| * Remove usb key then reboot device | * Remove usb key then reboot device | ||
| * The device should be available on any ethernet port on http:// | * The device should be available on any ethernet port on http:// | ||
| ===== Install Recovery tools or Debian from USB key ===== | ===== Install Recovery tools or Debian from USB key ===== | ||
| - | Neil Brown' | + | Neil Brown' |
| 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. | + | |
| * For ext3/ext4 with sde1 partition: tune2fs -l /dev/sde1 | grep GNUBEE-ROOT || e2label | * For ext3/ext4 with sde1 partition: tune2fs -l /dev/sde1 | grep GNUBEE-ROOT || e2label | ||
| * 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:// | ||
| ===== 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 | + | This include sdcard, disks or anything. It's worth noting |
| ==== OEM installation using the TFTP method ==== | ==== OEM installation using the TFTP method ==== | ||
| Line 168: | Line 169: | ||
| -> [[docs: | -> [[docs: | ||
| - | GnuBee is provided with a Serial | + | GnuBee is provided with a serial to USB cable. From a Linux computer, you can get to the serial |
| ===== 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) ==== | ||
| Line 356: | Line 357: | ||
| Test run on: OpenWrt 23.05.0 r23497-6637af95aa | Test run on: OpenWrt 23.05.0 r23497-6637af95aa | ||
| + | |||
| + | Alternative tests: [[https:// | ||
| Conclusion: | Conclusion: | ||
| Line 443: | Line 446: | ||
| -rw-r--r-- | -rw-r--r-- | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ===== 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: | ||
| + | < | ||
| + | wget -O / | ||
| + | ip a add 192.168.1.100/ | ||
| + | in.tftpd -vvv -4 -L -s /srv/tftp | ||
| + | </ | ||
| + | On the serial console interrupt the normal boot process with the " | ||
| + | < | ||
| + | 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. | ||
| + | </ | ||
| + | It will ask you if you want to change from the default TFTP boot parameters: | ||
| + | < | ||
| + | 1: System Load Linux to SDRAM via TFTP. | ||
| + | | ||
| + | Input device IP (192.168.1.1) ==: | ||
| + | Input server IP (192.168.1.100) ==: | ||
| + | Input Linux Kernel filename (GB-PCx_uboot.bin) ==: | ||
| + | </ | ||
| + | It will then dowload the image in RAM and run it: | ||
| + | < | ||
| + | | ||
| + | |||
| + | | ||
| + | |||
| + | | ||
| + | |||
| + | | ||
| + | Trying eth2 | ||
| + | |||
| + | | ||
| + | Using eth2 device | ||
| + | TFTP from server 192.168.1.100; | ||
| + | Filename ' | ||
| + | |||
| + | | ||
| + | Loading: Got ARP REPLY, set server/gtwy eth addr (98: | ||
| + | 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: | ||
| + | | ||
| + | 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 < | ||
| + | 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 | ||
| + | [...] | ||
| + | </ | ||
| + | And that's it. | ||
| Line 448: | Line 532: | ||
| ==== Info ==== | ==== Info ==== | ||
| - | ---- datatemplatelist dttpllist ---- | + | <!-- ToH: { |
| - | template: meta:template_datatemplatelist | + | " |
| - | cols | + | " |
| - | filter | + | " |
| - | filter | + | " |
| - | ---- | + | " |
| + | | ||
| + | } --> | ||
| ==== Photos ==== | ==== Photos ==== | ||