Differences
This shows you the differences between two versions of the page.
| 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 mrjk | toh: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:// | /* 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 |
| - | //Write a short, relevant description of the device. Include a technical overview, but avoid marketing buzzwords/ | + | {{media: |
| - | <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/ | ||
| - | </ | ||
| - | /*****/ | + | ===== Supported Versions |
| - | /* How to add images | + | |
| - | /*****/ | + | |
| - | {{media:example:genericrouter1.png? | + | <!-- ToH: { |
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| - | <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 " | ||
| - | - When there are no more " | ||
| - | ===== Keep the articles modular | + | ===== Hardware Highlights |
| - | | + | <!-- ToH: { |
| - | | + | |
| - | | + | " |
| - | | + | |
| - | </WRAP> | + | " |
| + | | ||
| + | | ||
| + | } --> | ||
| - | ===== Supported Versions ===== | ||
| - | <WRAP BOX> | + | ===== Installation ===== |
| - | FIXME | + | <!-- ToH: { |
| - | | + | |
| - | | + | |
| - | | + | "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 do, delete this text and the ''< | + | |
| - | - filters are not set correctly. Most common reason for "Nothing found": | + | "shownColumns": |
| - | | + | "filterColumns": |
| - | </WRAP> | + | } --> |
| - | ---- datatable ---- | + | -> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]] |
| - | cols | + | |
| - | headers | + | |
| - | align : c, | + | |
| - | filter | + | |
| - | filter | + | |
| - | filter | + | |
| - | ---- | + | |
| - | /* If no unsupported functions known, comment out the following datatable or delete it. */ | + | You will need to follow |
| - | ---- datatable ---- | + | |
| - | cols : Unsupported Functions_unsupporteds | + | |
| - | filter | + | |
| - | filter | + | |
| - | filter | + | |
| - | ---- | + | |
| - | ===== Experimental Versions ===== | + | ==== Flash Layout |
| - | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | + | OpenWRT layout: |
| - | * The official Table of Hardware only lists current, stable versions of OpenWrt. | + | ^ dev ^ |
| - | | + | | mtd0 | 00030000 | 00010000 | u-boot | |
| - | * of the firmware for this device. Provide links to firmware | + | | 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 | | ||
| - | //None at this time.// | ||
| - | ===== Hardware Highlights ===== | + | Neil Brown' |
| - | ---- datatable ---- | + | ^ dev ^ |
| - | cols | + | | mtd0 | 00030000 | 00010000 |
| - | header | + | | mtd1 | 00010000 | 00010000 |
| - | align | + | | mtd2 | 00010000 | 00010000 |
| - | filter | + | | mtd3 | 01fb0000 | 00010000 |
| - | filter | + | |
| - | filter | + | |
| - | ---- | + | |
| - | ===== 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 | + | |
| - | filter | + | |
| - | filter | + | |
| - | ---- | + | |
| - | */ | + | |
| + | 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 | + | |
| - | headers : Model, Version, Current Release, Firmware OpenWrt snapshot Install, Firmware OpenWrt snapshot Upgrade, Firmware OEM Stock | + | |
| - | align : c,c,c | + | |
| - | filter | + | |
| - | filter | + | |
| - | filter | + | |
| - | ---- | + | |
| + | * Install via existing Openwrt: install/ | ||
| + | * Install via USB key: See below | ||
| - | -> [[docs: | + | ===== Install |
| - | FIXME Please add the installation procedure here. | + | * Fetch firmware file |
| + | * From official openwrt: https:// | ||
| + | * Use squashfs-sysupgrade images | ||
| + | * Working: https:// | ||
| + | * Important: Something broke between 21.02.3 and 22.03.0-rc6 as the kernel report LZMA error on startup | ||
| + | * LZMA error: https:// | ||
| + | * LZMA error: Last snapshot as of 2022/ | ||
| + | * From original author: | ||
| + | * Quite old and deprecated, not recommended | ||
| + | * Url: https:// | ||
| - | ==== Flash Layout ==== | + | * Grab USB key, and format it in `vfat` |
| - | <WRAP BOX> | + | * Copy `*-gnubee_gb-pc1-squashfs-sysupgrade.bin` firmware into usb key root dir, as a file called: `gnubee.bin` |
| - | FIXME // | + | * Plug the usb key close to the power button |
| + | * 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 | ||
| + | * Remove usb key then reboot device | ||
| + | * The device should be available on any ethernet port on http:// | ||
| - | 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 ===== |
| - | </ | + | Neil Brown' |
| - | ==== 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 | ||
| + | * 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 |
| - | * How you install | + | |
| - | * 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 ''< | + | |
| - | * Upload .bin file to router | + | |
| - | * Wait for it to reboot | + | |
| - | * Telnet to 192.168.1.1 and set a root password, or browse to ''< | + | |
| - | </ | + | |
| ==== OEM installation using the TFTP method ==== | ==== OEM installation using the TFTP method ==== | ||
| Line 142: | Line 115: | ||
| -> [[docs: | -> [[docs: | ||
| - | === Specific values needed for tftp === | + | This seems possible via the bootloader, but not tested yet. |
| - | + | ||
| - | <WRAP BOX> | + | |
| - | + | ||
| - | FIXME Enter values for " | + | |
| - | ^ Bootloader tftp server IPv4 address | ||
| - | ^ Bootloader MAC address (special) | ||
| - | ^ Firmware tftp image | [[: | ||
| - | ^ TFTP transfer window | ||
| - | ^ TFTP window start | approximately FILL-IN seconds after power on | | ||
| - | ^ TFTP client required IP address | ||
| - | |||
| - | </ | ||
| ===== Upgrading OpenWrt ===== | ===== Upgrading OpenWrt ===== | ||
| -> [[docs: | -> [[docs: | ||
| + | |||
| + | Official procedure from existing OpenWRT variants: https:// | ||
| + | |||
| <WRAP BOX> | <WRAP BOX> | ||
| - | |||
| - | FIXME These are generic instructions. Update with your router' | ||
| ==== LuCI Web Upgrade Process ==== | ==== LuCI Web Upgrade Process ==== | ||
| Line 206: | Line 168: | ||
| ===== Debricking ===== | ===== Debricking ===== | ||
| -> [[docs: | -> [[docs: | ||
| + | |||
| + | GnuBee is provided with a serial to USB cable. From a Linux computer, you can get to the serial console with: < | ||
| ===== 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 | + | ^ Interface Name ^ Description |
| - | | br-lan | + | | br-lan |
| - | | vlan0 (eth0.0) | + | | lan1 | LAN1 BLACK | None | |
| - | | vlan1 (eth0.1) | + | | lan2 | LAN2 BLUE | None | |
| - | | wl0 | EXAMPLE WiFi | EXAMPLE Disabled | + | |
| - | </WRAP> | + | |
| + | The default network UCI configuration looks like: | ||
| + | |||
| + | < | ||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option ipaddr ' | ||
| + | option netmask ' | ||
| + | |||
| + | config globals ' | ||
| + | option ula_prefix ' | ||
| + | option packet_steering ' | ||
| + | |||
| + | config device | ||
| + | option name ' | ||
| + | option type ' | ||
| + | list ports ' | ||
| + | list ports ' | ||
| + | |||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option ipaddr ' | ||
| + | option netmask ' | ||
| + | option ip6assign ' | ||
| + | |||
| + | </ | ||
| + | |||
| + | ==== 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: | ||
| + | |||
| + | < | ||
| + | # cat / | ||
| + | config interface ' | ||
| + | option device ' | ||
| + | option proto ' | ||
| + | option ipaddr ' | ||
| + | option netmask ' | ||
| + | |||
| + | config globals ' | ||
| + | option packet_steering ' | ||
| + | option ula_prefix ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option device ' | ||
| + | option macaddr ' | ||
| + | |||
| + | config interface ' | ||
| + | option proto ' | ||
| + | option device ' | ||
| + | option macaddr ' | ||
| + | </ | ||
| + | |||
| + | Then apply changes: < | ||
| + | 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 unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on. | + | |
| + | By default, both ethernet ports configuration | ||
| ^ 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 | | + | |
| - | </ | ||
| ==== Buttons ==== | ==== Buttons ==== | ||
| -> [[docs: | -> [[docs: | ||
| - | 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 | ^ BUTTON | ||
| - | | EXAMPLE Reset | + | | Power (Big red button) |
| - | | EXAMPLE Secure Easy Setup | + | | Reset (Small black button) |
| - | | 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 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: | ||
| + | |||
| + | < | ||
| + | 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 | ||
| + | [ 5] | ||
| + | [ 5] 1.00-2.01 | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | [ ID] Interval | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | |||
| + | iperf Done. | ||
| + | </ | ||
| + | |||
| + | When device is a DHCP server with static IP: | ||
| + | |||
| + | < | ||
| + | iperf3 -c 192.168.1.1 | ||
| + | Connecting to host 192.168.1.1, | ||
| + | [ 5] local 192.168.1.136 port 35392 connected to 192.168.1.1 port 5201 | ||
| + | [ ID] Interval | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | [ ID] Interval | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | |||
| + | iperf Done. | ||
| + | </ | ||
| + | |||
| + | When device is configure as DHCP client, the best available throughput: | ||
| + | |||
| + | < | ||
| + | iperf3 -c 192.168.42.212 | ||
| + | Connecting to host 192.168.x.y, | ||
| + | [ 5] local 192.168.x.z port 44742 connected to 192.168.x.y port 5201 | ||
| + | [ ID] Interval | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | - - - - - - - - - - - - - - - - - - - - - - - - - | ||
| + | [ ID] Interval | ||
| + | [ 5] | ||
| + | [ 5] | ||
| + | |||
| + | iperf Done. | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Disk Performance ==== | ||
| + | |||
| + | Test run on: OpenWrt 23.05.0 r23497-6637af95aa | ||
| + | |||
| + | Alternative tests: [[https:// | ||
| + | |||
| + | 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:// | ||
| + | * | ||
| + | |||
| + | Used spinning hardrives for test: | ||
| + | |||
| + | < | ||
| + | # 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: | ||
| + | Serial Number: | ||
| + | LU WWN Device Id: 5 0014ee 203bc4fc0 | ||
| + | Firmware Version: 11.01A11 | ||
| + | User Capacity: | ||
| + | Sector Size: 512 bytes logical/ | ||
| + | Rotation Rate: 7200 rpm | ||
| + | Device is: Not in smartctl database | ||
| + | ATA Version is: | ||
| + | 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: | ||
| + | Serial Number: | ||
| + | LU WWN Device Id: 5 000c50 0a9a1dbdb | ||
| + | Firmware Version: 0001 | ||
| + | User Capacity: | ||
| + | Sector Sizes: | ||
| + | Rotation Rate: 5526 rpm | ||
| + | Form Factor: | ||
| + | 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 | ||
| + | |||
| + | </ | ||
| + | |||
| + | Testing with hdparm: | ||
| + | |||
| + | < | ||
| + | # hdparm -tT /dev/sda | ||
| + | |||
| + | /dev/sda: | ||
| + | | ||
| + | | ||
| + | |||
| + | |||
| + | # hdparm -tT /dev/sdc | ||
| + | |||
| + | /dev/sdc: | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | |||
| + | Tested with dd when on mounted ext4 filesystem: | ||
| + | |||
| + | < | ||
| + | # for i in /mnt/sda2 /mnt/sdc2; do time dd if=/ | ||
| + | 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-- | ||
| + | 10+0 records in | ||
| + | 10+0 records out | ||
| + | real 0m 17.99s | ||
| + | user 0m 0.00s | ||
| + | sys 0m 17.79s | ||
| + | -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. | ||
| - | </ | ||
| ===== Hardware ===== | ===== Hardware ===== | ||
| - | ==== Info ==== | ||
| - | <WRAP BOX> | ||
| - | FIXME | ||
| - | - This table is automatically generated, **once the correct filters for Brand and Model are set.** | ||
| - | - If you see " | ||
| - | - If you still don't see a table here, or a table filled with ' | ||
| - | - If you see a table with the desired device data, everything is OK and you can delete this text and the ''< | ||
| - | - If it still doesn' | ||
| - | </ | ||
| - | ---- datatemplatelist dttpllist ---- | + | ==== Info ==== |
| - | template: meta:template_datatemplatelist | + | <!-- ToH: { |
| - | cols | + | " |
| - | filter | + | " |
| - | filter | + | " |
| - | filter | + | " |
| - | ---- | + | " |
| + | | ||
| + | } --> | ||
| ==== Photos ==== | ==== Photos ==== | ||
| Line 295: | Line 558: | ||
| ==== Opening the case ==== | ==== Opening the case ==== | ||
| - | **Note: | + | **Note: |
| - | + | ||
| - | <WRAP BOX> | + | |
| - | FIXME //Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, | + | |
| - | * To remove the cover and open the device, do a/b/c | + | |
| - | </ | + | |
| //Main PCB://\\ | //Main PCB://\\ | ||
| **Insert photo of PCB** | **Insert photo of PCB** | ||
| + | {{media: | ||
| + | {{media: | ||
| + | |||
| ==== Serial ==== | ==== Serial ==== | ||
| -> [[docs: | -> [[docs: | ||
| - | How to connect | + | The GBPC1&2 comes with a serial Jack 2, |
| - | **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=" | ||
| + | screen | ||
| + | </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: | ||
| - | |||
| - | ===== Hardware mods ===== | ||
| - | |||
| - | None so far. | ||
| Line 339: | 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: | ||
| + | DRAM_TYPE: DDR3 | ||
| + | DRAM bus: 16 bit | ||
| + | Xtal Mode=3 OCP Ratio=1/3 | ||
| + | Flash component: SPI Flash | ||
| + | Date: | ||
| + | ============================================ | ||
| + | icache: sets:256, ways:4, linesz:32, total: | ||
| + | dcache: sets:256, ways:4, linesz:32, total: | ||
| + | |||
| + | #### The CPU freq = 900 MHZ #### | ||
| + | | ||
| + | |||
| + | Reset MT7530 | ||
| + | set LAN/WAN WLLLL | ||
| + | (Re)start USB... | ||
| + | USB0: | ||
| + | Register 300010f NbrPorts 3 | ||
| + | Starting the controller | ||
| + | USB XHCI 0.96 | ||
| + | scanning bus 0 for devices... 2 USB 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: | ||
| + | Image Type: MIPS Linux Kernel Image (uncompressed) | ||
| + | Data Size: 16852848 Bytes = 16.1 MB | ||
| + | Load Address: 80001000 | ||
| + | Entry Point: | ||
| + | | ||
| + | OK | ||
| + | No initrd | ||
| </ | </ | ||
| Line 348: | Line 660: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| - | <WRAP BOX> | ||
| - | FIXME //Add tags below, then remove this fixme.// | ||
| - | </ | ||
| [[meta: | [[meta: | ||
| {{tag> | {{tag> | ||