Skip to main content

Kali Linux now supports Radxa Zero

· One min read

What is Kali Linux ?

Kali Linux is an open-source, Debian-based Linux distribution geared towards various information security tasks, such as Penetration Testing, Security Research, Computer Forensics and Reverse Engineering.
Kali_Linux_GUI

Kali Linux now supports Radxa Zero (eMMC/SDcard)

For more details, see the official Kali Linux documentation

Redroid running on ROCK 5B

· 2 min read

What is Redroid ?

ReDroid (Remote anDroid) is a GPU accelerated AIC (Android In Cloud) solution. You can boot many instances in Linux host (Docker, podman, k8s etc.). redroid supports both arm64 and amd64 architectures. ReDroid is suitable for Cloud Gaming, Virtualise Phones, Automation Test and more.

How to running on ROCK 5B

ROCK 5B user ZHZ shows in his blog how he got Redroid running on the ROCK 5B.Link to original article

商业转载请联系作者获得授权,非商业转载请注明出处。 For commercial use, please contact the author for authorization. For non-commercial use, please indicate the source. 协议(License):署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0) 作者(Author):終 链接(URL):https://zhz.moe/57/ 来源(Source):終's Blog

Preparation

First of all, the kernel should ensure that ANDROID_BINDERFS, ASHMEM, PSI are enabled.

Refer to archwikianbox page use binderfs way to open support, ashmem do not know why can not be added as a module, here directly enable.

scripts/config --enable CONFIG_ASHMEM scripts/config --enable CONFIG_ANDROID scripts/config --enable CONFIG_ANDROID_BINDER_IPC scripts/config --enable CONFIG_ANDROID_BINDERFS scripts/config --set-str CONFIG_ANDROID_BINDER_DEVICES "" scripts/config --enable CONFIG_PSI

Write the kernel parameters according to the wiki and mount binderfs.

docker run

image: chisbread/rk3588-gaming:redroid-firefly
image source:malior-redroid | 容器虚拟安卓 — Firefly Wiki (t-firefly.com)

docker run -itd --rm --privileged \
--pull always
-v /data:/data
-p 5555:5555
chisbread/rk3588-gaming:redroid-firefly
androidboot.redroid_height=1600
androidboot.redroid_width=2560
androidboot.redroid_dpi=480
androidboot.redroid_gpu_mode=host
--mount=type=bind,source=/dev/mali0,destination=/dev/mali0

result

Here the QtScrcpy connection is used. result_play_yuanshen

Introduce ROCK Pi SATA HATs

· 4 min read

Dear ROCK Pi Community
We are very happy to announce the ROCK Pi SATA HAT, a series of SATA expansion targeting at the NAS solution for Raspberry Pi 4 and ROCK Pi 4. The ROCK Pi SATA HATs come in 3 models:

  • Dual/Quad SATA HAT
  • Penta SATA HAT
    The Dual/Quad SATA HAT is designed for Raspberry Pi 4 as well as ROCK Pi 4, and the Penta SATA HAT is designed for ROCK Pi 4 only.

Dual/Quad SATA HAT

alt webp

The Dual/Quad SATA HAT utilize the USB3 buses on Raspberry Pi 4 or ROCK Pi 4, it has the following features:

  • Up to 4x HDD/SSD, support 2.5inch or 3.5inch SSD
  • Utilize two independent USB3 buses on Raspberry Pi 4
  • Type C power input with USB PD/QC support for both 2.5inch SSD and Raspberry Pi 4
  • External standard ATX power supply support for 3.5inch HDD
  • Fan and heatsink for Raspberry Pi 4 CPU cooling
  • Support HDD suspend mode
  • Support UASP
  • Support software RAID 0/1/5
  • Optional PWM control fan for HDD heat dispatching
  • Optional OLED display for IP Address/Storage info

For 3.5 inch HDD, a standard ATX PSU is required to power the HDD and the Raspberry PI itself. With 4 3.5inch HDDs, the PSU should be 60W or more.
alt webp

For 2.5 inch HDDs, you can just use the USB PD/QC power adapter(30W power adapter is enough) to power the HDD/SSD and the Raspberry Pi 4 itself.

alt webp

Performance

Quad SATA HAT utilizes two high performance JMS561(one JMS561 for Dual SATA HAT) providing up to 400MB/s reading/writing performance with four disks in RAID0 mode.

Penta SATA HAT

alt webp
The penta SATA HAT utilize the M.2/PCIe on ROCK Pi 4 to expand to up 5x SATA ports, it works only for ROCK Pi 4. We adapt four internal SATA and one eSATA design which makes the connection flexible if the user wants to use external disks.

  • Up to 5x HDD/SSD, support 2.5inch or 3.5inch SSD, up to 100T Storage
  • 4x SATA + 1x eSATA with power
  • Utilize two lanes PCIe 2.1 buses on ROCK Pi 4
  • Type C power input with USB PD support for both 2.5inch SSD and ROCK Pi 4
  • External standard ATX power supply support for 3.5inch HDD
  • Support HDD suspend mode
  • Support software RAID 0/1/5
  • Optional PWM control fan for HDD heat dispatching
  • Optional OLED display for IP/Storage info

eSATA

alt webp
To make full use of the 5th SATA, we have implemented an eSATA connector, which can be exported out of the case. The eSATA provides both data and power with a single cable, it can directly drive the 3.5 inch HDD.

Performance

The Penta SATA HAT is powered by the JMB585 with 2 lanes 5Gbs PCIe buses with up to 10Gbps bandwidth. With 5 SSD attached in RAID0 mode, we can achieve up to 803MB/s speed.
alt webp

SATA HAT Top Board

To monitor the HDDs and showing some basic info for the HDDs, we have designed a Top Board, which provides Fan Control, IP address info and a button for Powering Off or customer functions. A flex cable connects from the SATA HAT to the top board.
alt webp

Software Support

We have provided a Debian package for the SATA HAT control and monitoring. Raspberry Pi 4 or ROCK Pi 4 users can install the package with one line following command:
alt webp

The Case

To make the live easy and better looking, we have designed a full metal case for SATA HAT with Raspberry Pi, which can hold up to four 2.5 inch HDD and the top board.
alt webp

ROCK Pi Summer Updates 2019

· 4 min read

Dear ROCK Pi community,

About half an year ago, we introduced the first ROCK Pi 4 and we get a lot of feedback from different customers since then. We appreciate all the suggestions, contribution and criticism from the community. Now we are very excited to annouce the recent work from Radxa Team that you might be interested.

1. ROCK PI V1.4

alt webp

We are happy to announce the minor hardware updates for ROCK Pi 4. The updates fixes some outstanding issues from the current ROCK Pi 4 users and also includes some minor improvements.

The major update that many users care about and even the main reason they buy ROCK Pi 4 is the NVMe support. ROCK Pi 4 model A is the lowest cost SBC you can buy with NVMe support on the market. We have now included a 4MB SPI flash on the new v1.4 boards. We have reduced the size of the image so 4MB flash can just include the first stage loader, u-boot and trust image. To support SPI directly boot into NVMe. We ported the RK3399 PCIe driver to u-boot and enabled the boot chain. Android is also supported for NVMe booting, which will come in later release.
Other minor changes includes:

  • 4MB SPI flash soldered by default, on both model A and model B
  • NVMe booting from SPI is supported
  • User led changed from red to blue to avoid blink confusion
  • Wifi/BT adds external antenna support
  • Headphone connector improvement, with through hole legs for strengthened mounting
  • Changes the USB3 OTG label to simple L/H for Host/Device

2. ROCK Pi PoE HAT

alt webp
The ROCK Pi PoE HAT is the accessory many users been waiting long. It takes so long time because we have completed re-designed the it after the first batch of prototypes sent out to some community users for testing. The new ROCK Pi PoE HAT looks cleaner by hiding the big transistor in the bottom. Optimized circuit plus the new added fan helps reducing the temperature, it drops from the peak 100°C to now below 40°C.

  • 802.3 AT up to 23W
  • 5V output on the GPIO power PIN
  • PWM control FAN up to 12000RPM
  • Temperature sensor on HAT for fan control
  • Optional 40PIN GPIO exported with pass through 40PIN header
  • Compatible with ROCK Pi 4 model B and Raspberry Pi 3B+
    alt webp
    We provide a debian pacakge rockpi4-poe with service for automatically adjust the fan speed by temperature which you can install from Radxa APT.

3. USB3 eMMC reader

alt webp
The eMMC reader is another accessory we designed for ourselves and the developers who need to write images on eMMC module freqently. It's just fast and reduces the image writing time a lot, much more handy than the eMMC to uSD adapter.

  • High speed USB3.1 Gen2 GL3227E controller
  • Support eMMC HS400 mode
  • Dual mount for eMMC module
  • Support ROCK Pi eMMC modules up to 128GB
  • Compatible with Odroid/PINE64 eMMC module
  • Support Linux/Windos/MacOS
  • Support GPT partition table and firmware

Real life usage example:

time  sh -c 'sudo dd if=rockpi4b-ubuntu-bionic-minimal-20190104_2101-gpt.img of=/dev/sdd bs=4M status=progress && sync'

2155872256 bytes (2.2 GB, 2.0 GiB) copied, 6.0156 s, 358 MB/s
544+1 records in
544+1 records out
2282749952 bytes (2.3 GB, 2.1 GiB) copied, 11.966 s, 191 MB/s

real 0m11.989s
user 0m0.008s
sys 0m2.484s

4. ROCK Pi S

alt webp
ROCK Pi S is the new little board of ROCK Pi family for the IoT and Audio applications. We designed it based on the new Rockchip RK3308 processor. We like the RK3308 very much because it's a low cost 64bit processor capable of running Linux with a lot of potentials. The features for ROCK Pi S includes:

  • RK3308, quad A35 64bits processor with built-in VAD
  • 256/512MB RAM up to 1178Mbps
  • USB 2.0 OTG(type C) + USB 2.0 HOST(type A)
  • 100MB ethernet, optional PoE(additional HAT requried)
  • 802.11 b/g/n wifi + BT 4.0(rtl8723DS) with external antenna
  • 26PIN Pi GPIO header + 26PIN voice/audio header
  • uSD card for OS storage media, optional 1/2/4/8Gbit on board NAND storage for cost saving
  • Size: 1.5inch square
  • Starting from 9.9USD with 256M ram
    alt webp

The first batch of ROCK Pi S are tested and proves working all well. We still have some samples in the office. Debian and buildroot is currently supported on ROCK Pi S. If you are intested in developing on ROCK Pi S or want to evaluate it for your project. You can cantact us.