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:globalscale:mochabin [2023/03/06 14:26] – give some own content danitool | toh:globalscale:mochabin [2023/05/22 20:12] – [Hardware Highlights] 1Gbit ports danitool | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| ===== Hardware Highlights ===== | ===== Hardware Highlights ===== | ||
| ---- datatable ---- | ---- datatable ---- | ||
| - | cols : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, | + | cols : Model, Versions, CPU, CPU MHz, CPU Cores_numcores_, Flash MB_mbflashs, |
| - | header | + | header |
| align : c, | align : c, | ||
| filter | filter | ||
| Line 42: | Line 42: | ||
| - Connect to the device UART via microUSB port and power on the device. | - Connect to the device UART via microUSB port and power on the device. | ||
| - Power on the device and hit any key to stop the autoboot. | - Power on the device and hit any key to stop the autoboot. | ||
| - | - Set serverip (host IP) and ipaddr (any free IP address on the same subnet), e.g:< | + | - Set serverip (host IP) and ipaddr (any free IP address on the same subnet), e.g: |
| - | $ setenv serverip 192.168.1.10 | + | * Host: < |
| - | $ setenv ipaddr 192.168.1.15 | + | * Device: < |
| - Set the ethernet device (Example for the 1G WAN):< | - Set the ethernet device (Example for the 1G WAN):< | ||
| $ setenv ethact mvpp2-2</ | $ setenv ethact mvpp2-2</ | ||
| Line 118: | Line 118: | ||
| </ | </ | ||
| + | |||
| + | ===== Expanding the eMMC partition ==== | ||
| + | |||
| + | Check your partitions, especially for partition /dev/loop0 having filesystem type f2fs: | ||
| + | |||
| + | < | ||
| + | root@OpenWrt: | ||
| + | Filesystem | ||
| + | / | ||
| + | tmpfs tmpfs | ||
| + | / | ||
| + | overlayfs:/ | ||
| + | tmpfs tmpfs | ||
| + | </ | ||
| + | |||
| + | Install the following packages: | ||
| + | < | ||
| + | opkg update | ||
| + | opkg install losetup e2fsprogs resize2fs block-mount kmod-fs-f2fs f2fs-tools cfdisk kmod-fs-ext4 parted rsync | ||
| + | </ | ||
| + | |||
| + | Confirm, that the device /dev/loop0 is located on the 2nd partition of mmcblk0 by checking the back file column: | ||
| + | < | ||
| + | root@OpenWrt: | ||
| + | NAME | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | Resize the partition mmcblk0p2 by using cfdsik: | ||
| + | < | ||
| + | root@OpenWrt: | ||
| + | </ | ||
| + | |||
| + | Steps for resizing: | ||
| + | - Chose the 2nd partition, | ||
| + | - Move the cursor to resize, | ||
| + | - Enter the final size you want, default is 14.7GB. | ||
| + | - Confirm the change by the menu entry " | ||
| + | |||
| + | Set variables, that are used later: | ||
| + | < | ||
| + | LOOP=" | ||
| + | ROOT=" | ||
| + | OFFS=" | ||
| + | </ | ||
| + | |||
| + | Check the variables withe echo command: | ||
| + | < | ||
| + | root@OpenWrt: | ||
| + | 3604480 /dev/loop0 / | ||
| + | </ | ||
| + | |||
| + | The loop device setup: | ||
| + | < | ||
| + | LOOP=" | ||
| + | losetup -o ${OFFS} ${LOOP} ${ROOT} | ||
| + | </ | ||
| + | |||
| + | Finalize the partition resize: | ||
| + | < | ||
| + | fsck.f2fs -f ${LOOP} | ||
| + | mount ${LOOP} /mnt | ||
| + | umount ${LOOP} | ||
| + | resize.f2fs ${LOOP} | ||
| + | reboot | ||
| + | </ | ||
| + | |||
| + | After reboot, you can confirm the full partition size on SSH and LuCi: | ||
| + | < | ||
| + | root@OpenWrt: | ||
| + | Filesystem | ||
| + | / | ||
| + | tmpfs tmpfs | ||
| + | / | ||
| + | overlayfs:/ | ||
| + | tmpfs tmpfs | ||
| + | </ | ||
| ===== Debricking ===== | ===== Debricking ===== | ||
| Line 199: | Line 276: | ||
| //Back://\\ | //Back://\\ | ||
| {{: | {{: | ||
| - | |||
| - | // | ||
| - | {{: | ||
| ==== Opening the case ==== | ==== Opening the case ==== | ||
| - | |||
| - | **Note:** This will void your warranty! | ||
| - | |||
| - | <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 | ||
| - | </ | ||
| //Main PCB://\\ | //Main PCB://\\ | ||
| - | **Insert photo of PCB** | + | {{: |
| ==== Serial ==== | ==== Serial ==== | ||
| Line 219: | Line 286: | ||
| How to connect to the Serial Port of this specific device:\\ | How to connect to the Serial Port of this specific device:\\ | ||
| - | **Insert photo of PCB with markings for serial | + | |
| - | <WRAP BOX> | + | ^ Serial connection parameters\\ for Globalscale MOCHAbin | 115200, 8N1 | |
| - | FIXME //Replace EXAMPLE by real values.// | + | |
| - | </ | + | |
| - | + | ||
| - | ^ Serial connection parameters\\ for Globalscale MOCHAbin | + | |
| ==== JTAG ==== | ==== JTAG ==== | ||
| -> [[docs: | -> [[docs: | ||
| - | How to connect to the JTAG Port of this specific device:\\ | + | JTAG schematic:\\ |
| - | **Insert photo of PCB with markings for JTAG port** | + | {{: |
| ===== Bootloader mods ===== | ===== Bootloader mods ===== | ||
| Line 258: | Line 321: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| - | <WRAP BOX> | ||
| - | FIXME //Add tags below, then remove this fixme.// | ||
| - | </ | ||
| [[meta: | [[meta: | ||
| - | {{tag> | + | {{tag> |