Live data from Hacker News

I turned a $80 RK3562 Android tablet into a Debian Linux workstation

github.com

101–110 of 248 posts

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#101
post #23

Booting into Debian with most devices fully functional is great. What I'd like to know is what software runs adequately under it in 4 GB RAM. Web browsing should definitely be possible, but I suppose it's limited to very few tabs. Some very lightweight DE could likely make it more usable. Running something like WezTerm + tmux as the DE could be even more economical, leaving some room for e.g. development tools.

Browsers and anything electron-based are your enemy. Firefox is actually pretty good in low-memory situations, silently discarding tabs when under memory pressure, but the main benefit comes from being able to run proper adblocking. Chromium-based browsers just can't compete these days. Otherwise, a bog standard Gnome-based Debian Trixie desktop should be pretty doable. I'm currently using an 8 GB machine with 3.7 GB…

Funny I'm using Ubuntu 24 i3 with vs code on a black 2008 Macbook

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#102
post #39

Earlier quoted context omitted.

I used Claude, back then when the free tier was usable, to port Linux on a obsolete, unsupported and undocumented board whose manufacturer didn't publish any info aside binary only Android images, which fortunately were enough to obtain some info. This tickled my imagination and I wondered about a AI assisted reverse engineering platform with a complete build system in which the AI is connected to ports (serial conso…

What sort of debug/probing harness did you have? I find it hard to conceptualise, when nothing boots yet. Did you have serial output working right from the beginning? Or did you have to get that first and then everything else was possible?

   Nothing aside a normal PC. I was the slow human in the middle swapping cards and typing/copying/pasting commands and results; I admit being far away from being able to do that myself; tried a few years ago and failed, then AI happened. The board SoC (Allwinner A20) is already well supported by Linux but there was no image available and the on board hardware wasn't documented, but at least I had a working system to probe the hardware with.  The hardest part however was finding the pins used to turn on and off peripherals since reading the Android script.bin and other boot files brought some inconsistencies anyway, so it took long probing sessions. It took weeks before I could have a working video output for example.

  Here's an excerpt from a Claude snapshot, probably too long to post entirely (I don't have a GH account, thinking of opening a Codeberg one some day). I later moved everything to Deepseek because Claude became unusable giving just one single prompt before hitting the daily limit; I was about to subscribe to a paid plan but paying users started complaining about shrinking limits as well, so I left.
First came Armbian, then I wanted to have a lighter OS and ported Alpine which boots from a Armbian kernel that then gives control to a full Alpine userland. Feel free to ask if you need further details. I'm sure the same process could be automated by removing the incredibly slow human and building an interface that would let the AI probe, try and fail, essentially brute forcing unknown hardware until it responds.

  GIADA NI-A20 - BOARD SNAPSHOT 2026-03-21
========================================= Board: Giada NI-A20, Nano-ITX form factor SoC: Allwinner A20 (sun7i) - see snapshot-soc-allwinner-a20.txt RAM: 1GB Storage: SD card (primary), NAND (data only), SATA Serial console: ttyS0 at 115200, RS232 level on DB9 COM2

  STATUS:
  Armbian: COMPLETE
  Alpine:  COMPLETE

  HARDWARE
  --------
  SoC: Allwinner A20 (sun7i), dual-core ARM Cortex-A7, ARM Mali-400 MP2
RAM: 1GB Storage: 8GB NAND (data only, NOT bootable), SD card, SATA Serial console: ttyS0 at 115200, RS232 level on DB9 COM2 PMU: AXP209 on TWI0 (I2C address 0x34) RTC: PCF8563 on TWI1 (I2C address 0x51) Ethernet: GMAC (Gigabit), interface end0 WiFi: AP6210 (Broadcom BCM43362), SDIO on mmc3, 2.4GHz b/g/n Bluetooth: BCM20710 on uart2 (NOT YET ENABLED in DTS) GPS: unknown chip, power enable PC22, UART on ttyS1, NMEA at 9600 baud USB Hub: GL850G on EHCI1, power enable PH7 IR receiver: /dev/lirc0 SATA power connector: JST PH 2.0mm 4-pin (pin1=12V, pin2=5V, pin3=GND, pin4=GND) LVDS: 30-pin dual channel 8-bit, max 1920x1080 COM2: RS232 Tx/Rx/CTS/RTS 4-wire (DB9 connector) COM3: RS232 Tx/Rx 2-wire only VGA: available via J4 14-pin header (non-standard connector) Mini-PCIe: present, intended for 3G module SIM card slot: present, for use with 3G module

  GPIO MAP
  --------
  PH1  - SD card detect, active LOW
PH4 - USB OTG ID detect PH5 - USB OTG VBUS detect PB9 - USB OTG VBUS drive, active LOW PH6 - USB Host1 VBUS, active HIGH PH7 - USB Hub power enable (GL850), active HIGH PH17 - SATA power enable PH19 - Ethernet PHY power (vcc3v0 regulator), active HIGH PH25 - USB Host2 VBUS, active HIGH PI1 - WiFi WL_REGON, active HIGH (mmc3 pwrseq reset gpio) PI14 - WiFi WL_HOST_WAKE (input) PI20 - GPS UART7 TX (uart7_pi_pins) PI21 - GPS UART7 RX (uart7_pi_pins) PB5 - Bluetooth BT_REGON, active HIGH PC22 - GPS VCC_EN power enable, active HIGH PC00-PC16 - NAND bus

  DTS FIX - MMC3 WIFI PINCTRL
  -----------------------------
The mainline A20 DTS was missing pinctrl for mmc3 (WiFi SDIO). Without it sunxi-mmc driver silently skips mmc3 initialization.

  Fix applied to:
  ~/devel/embedded/armbian-build/build/patch/kernel/archive/sunxi-6.12/sun7i-a20-giada-ni-a20.dts

  Added to &mmc3 node:
  &mmc3 {
      pinctrl-names = "default";
      pinctrl-0 = ;   /\* ;
      mmc-pwrseq = ;
      ...
  };

  DTB recompiled manually (Armbian build used cached version):
  cd ~/devel/embedded/armbian-build/build/cache/sources/linux-kernel-worktree/6.12__sunxi__armhf/
  sudo touch arch/arm/boot/dts/allwinner/sun7i-a20-giada-ni-a20.dts
  sudo make ARCH=arm allwinner/sun7i-a20-giada-ni-a20.dtb

  CRITICAL: DTB lives in /boot/dtb/ not /boot/ on this board.
U-Boot boot.cmd looks in ${prefix}dtb/ directory. Correct location: /boot/dtb/sun7i-a20-giada-ni-a20.dtb

  WIFI - AP6210 (BCM43362)
  -------------------------
Chip: Broadcom BCM43362, SDIO on mmc3, 2.4GHz b/g/n only Driver: brcmfmac + pwrseq_simple Firmware: brcmfmac43362-sdio.bin + brcmfmac43362-sdio.txt Location: /lib/firmware/brcm/ Board-specific symlinks (created by build-image.sh): brcmfmac43362-sdio.giada,ni-a20.bin -> brcmfmac43362-sdio.bin brcmfmac43362-sdio.giada,ni-a20.txt -> brcmfmac43362-sdio.txt

  No CLM blob available for BCM43362 (chip predates CLM blob requirement).
Result: limited to channels 1-11, TX power 31dBm. The driver logs "no clm_blob available" - this is normal, not an error.

  P2P error at init is harmless - BCM43362 does not support P2P mode.

  WIFI BOOT SEQUENCE:
  1. eudev starts at sysinit runlevel
  2. pwrseq_simple loads from /etc/modules
  3. mmc1 (SDIO) initializes, BCM43362 detected
  4. brcmfmac loads from /etc/modules
  5. eudev firmware rule instantly rejects missing clm_blob (no 60s timeout)
  6. wlan0 appears, wifi OpenRC service starts wpa_supplicant
  7. dhcpcd obtains IP on wlan0

  eudev firmware rule (/etc/udev/rules.d/50-firmware.rules):
  SUBSYSTEM=="firmware", ACTION=="add", \
    TEST!="/lib/firmware/$env{FIRMWARE}", ATTR{loading}="-1"
  Purpose: instantly rejects missing firmware requests instead of waiting
  60 seconds per file for a userspace agent that never comes.
  Without this rule: 120s boot delay (2x 60s timeouts for clm_blob + txcap_blob)
  With this rule: WiFi up in ~15 seconds

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#103
post #23

Booting into Debian with most devices fully functional is great. What I'd like to know is what software runs adequately under it in 4 GB RAM. Web browsing should definitely be possible, but I suppose it's limited to very few tabs. Some very lightweight DE could likely make it more usable. Running something like WezTerm + tmux as the DE could be even more economical, leaving some room for e.g. development tools.

Frankly if you don't need a web browser (or electron), what WOULD require that much memory? Video and photo editing maybe? Postgres? Recompiling the world?

I first started recompiling the world with 64MB of ram, kind of funny how far we've come on hardware and made software gobble up the gains with very little to show for it.

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#104
post #23

Booting into Debian with most devices fully functional is great. What I'd like to know is what software runs adequately under it in 4 GB RAM. Web browsing should definitely be possible, but I suppose it's limited to very few tabs. Some very lightweight DE could likely make it more usable. Running something like WezTerm + tmux as the DE could be even more economical, leaving some room for e.g. development tools.

Got a PinePhone Pro with 4GB.

> I suppose it's limited to very few tabs

Not really. Haven't used it super heavily, but I haven't felt limited by tabs. It can handle multiple YouTube tabs, too.

> Some very lightweight DE could likely make it more usable. Running something like WezTerm + tmux as the DE

I use sway on it. It's perfectly responsive. I expect i3 with Xorg would also be. Neither count as a DE, but neither does a terminal + tmux.

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#105
post #23

Booting into Debian with most devices fully functional is great. What I'd like to know is what software runs adequately under it in 4 GB RAM. Web browsing should definitely be possible, but I suppose it's limited to very few tabs. Some very lightweight DE could likely make it more usable. Running something like WezTerm + tmux as the DE could be even more economical, leaving some room for e.g. development tools.

lynx

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#106

Earlier quoted context omitted.

This OP hasn't done any of those things. They are here discussing the project, and it's clear all of their replies are human-written. The AI use is stated up front in the readme. They posted a 12 minute YouTube video demonstrating that the project works, with narration that indicates English is not their first language. The git commit messages are all classic short human messages. It's a genuinely neat project that o…

> and it's clear all of their replies are human-written. The AI use is stated up front in the readme. The Very much not the case with the comment I responded to. There is a stark contrast between the AI written first comment and some of their other comments. I know many here don’t like any accusations of AI writing because they aren’t as attuned to picking it up, but the comment I responded to was as blatant as it ge…

Yes, I'm obviously aware of that. We're all capable of seeing em dashes and staccato sentences. My reply mentions, explicitly, that their top-level comment was AI written (reusing portions of their AI-written readme) and that their replies are human written. I chose my words carefully; HN itself uses the terminology "comment" for top-level messages and "reply" for sub-level messages, and I used the phrase "top-level" to further disambiguate it. I apologize if that was confusing but what I said was accurate and carefully considered. I further agreed that they should not have done that. That one comment seems to be their only crime here. You then took the opportunity to soapbox about a bunch of things that OP did not do, in the message that I replied to.

I don't have anything to add. It just seems like you misunderstood my message.

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#107

Earlier quoted context omitted.

After seeing the headline I immediately checked eBay and they are available to ship to the United States for $80 total. https://ebay.us/m/fYqBgc

That seems to be an official listing from the manufacturer. If so, it's really shady that they prominently advertise it as having 9GB of RAM, when what they really mean is 4GB RAM + 5GB "extended RAM", and by "extended RAM" they mean swap space.

Their official website advertises it as 16gb. But why stop there when they could go to 128gb? My laptop has TWO TERABYTES of potential RAM (pRAM!)

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#108

Earlier quoted context omitted.

After seeing the headline I immediately checked eBay and they are available to ship to the United States for $80 total. https://ebay.us/m/fYqBgc

That seems to be an official listing from the manufacturer. If so, it's really shady that they prominently advertise it as having 9GB of RAM, when what they really mean is 4GB RAM + 5GB "extended RAM", and by "extended RAM" they mean swap space.

It's quite common for the manufactured e-waste that gets sold on sites like these. Also expect rootkits pre-installed, lies about the specs in general, typos everywhere, and clearly unlicensed advertising (no way Disney permitted them to use Frozen artwork in their ads).

They're trying to pawn off something with the resolution of the Steam Deck at 10.1 inches running Android with what I would consider the minimum RAM loadout for this device.

The supposed EU-compliant informational brochure I found on a local web store states that the device runs Android 13, so there's a good chance they're either lying about the Android version on eBay or they're faking out the Android version like many Temu phones do.

These devices are useful for two things: to keep kids quiet with a device that can be replaced for not too much money, and now as a means to run Debian on.

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#109
post #39

Earlier quoted context omitted.

What sort of debug/probing harness did you have? I find it hard to conceptualise, when nothing boots yet. Did you have serial output working right from the beginning? Or did you have to get that first and then everything else was possible?

Nothing aside a normal PC. I was the slow human in the middle swapping cards and typing/copying/pasting commands and results; I admit being far away from being able to do that myself; tried a few years ago and failed, then AI happened. The board SoC (Allwinner A20) is already well supported by Linux but there was no image available and the on board hardware wasn't documented, but at least I had a working system to pr…

[dead]

Re: I turned a $80 RK3562 Android tablet into a Debian Linux workstation

#110
post #39

Earlier quoted context omitted.

What sort of debug/probing harness did you have? I find it hard to conceptualise, when nothing boots yet. Did you have serial output working right from the beginning? Or did you have to get that first and then everything else was possible?

Nothing aside a normal PC. I was the slow human in the middle swapping cards and typing/copying/pasting commands and results; I admit being far away from being able to do that myself; tried a few years ago and failed, then AI happened. The board SoC (Allwinner A20) is already well supported by Linux but there was no image available and the on board hardware wasn't documented, but at least I had a working system to pr…

Ha! I spent time also hacking together Armbian on an old A20 TV box.

Claude was definitely helpful the second time around to help with the DTS.

Post reply on HN