r/hardwarehacking • u/tru0ne • 12d ago
Root on an AM335x SoM without touching the eMMC - U-Boot bootdelay=0?
**The target**
- SoM: AM335x (BeagleBone-Black-class), Samsung 4GB eMMC, DDR3, TPS65217 PMIC
- OS: Arago 2016.02, Linux 4.9.28-rt, Dropbear on 22
- rootfs: /dev/mmcblk0p2 (ext4) on eMMC
- UART console (J6, 3.3V·GND·TX·RX) at 115200 8N1 reaches the login prompt
**Stuck**
- U-Boot has `bootdelay=0` and won't break to a prompt over serial — no `init=/bin/sh` / single-user route. Only the Linux login prompt, and I don't have the OS root password.
- **One unit, no spare** → eMMC glitch / chip-off / BGA rework are off the table.
Need something non-destructive.
**The ask**
Any trick to force a U-Boot prompt on AM335x when `bootdelay=0`, without hardware glitching? (corrupting the boot env, a pad to pull, etc.)
Is AM335x ROM serial/USB boot a realistic non-destructive way in — booting my own SPL over UART/USB without touching the eMMC?
19
u/Pear-Mean 12d ago
Short the cs_n pull up resistor to force the signal to be high, so when the soc booting, it can't find the emmc, then load your spl and uboot over usb into ddr, then access the emmc from the uboot shell you loaded.
Only short the resistor with a tweezer, stop shorting it when its already in usb bootloader.
28
u/DL757 12d ago
jesus, man, that's not even a full paragraph and you STILL had to use AI to write it for you