RE: https://bonito.cafe/@linux0/116253109970856474

Bitácora de ingenieria inversa
Episodio 1 - X6-bootleg pt.2
Fecha 2026-03-19

Bueno, ya hay drivers y de todo (Que no hice yo)... lo que necesito ahora es ver como reemplazo todo esto de forma casera.

Estos SoCs hacen el siguiente boot sequence.

  • BROM carga un SPL (Secondary Program Loader / Grabador de programa secundario)
  • SPL carga la parte principal de un U-Boot, este se llama "U-Boot proper" (La razón de por que se separa en dos es por cuestiones de memoria, hay poca memoria SRAM y se necesita cargar una parte que sea el módulo encargado de gestionar la DRAM que son 32/64MB)
  • Resto de U-Boot.
  • Conceptualmente SPL carga el mismo código que U-Boot pero restringido, solo los drivers necesarios y una version recortada de esos drivers, todo para meterlo en la SRAM.

    A mi parecer, son conceptualmente equivalentes estos terminos.

    BROM = BIOS
    SPL = Bootstrap
    U-Boot = Bootloader //Este es literalmente así jajajaja, no es "equivalente" U-boot es un bootloader, solo que un bootstrap y un bootloader tienen diferencias.

    Al margen de eso, dejo estos artículos de utilidad.

    Libreria F1C200S
    Codigo pelado para Allwiners
    Proyectos con F1C100s/F1C200s
    F1C100s-info

    #sunxi #linux #reverseengineering #devlog #drivers #lowlevel #hacking #os #firmware #soc #arm

    okay
    let see if this works
    #sunxi #barebox
    https://salsa.debian.org/freedombox-team/freedom-maker/-/merge_requests/242# #debian patch to add support to @olimex #micro eMMC for @freedomboxfndn , BTW I am wondering about the upstreaming status of #NAND support from #sunxi to mainline #Linux ?
    builder: Add support for Olimex A20-OLinuXino-MICRO-eMMC (!242) · Merge requests · FreedomBox / freedom-maker · GitLab

    Those who have the eMMC version of the board, could be interested to be able to use this extra space even if freedombox is not currently using it....

    GitLab

    Très fun cette session de jailbreak d'une liseuse #bookeen #muse #sunxi

    Avec un peu d'aide de https://blog.soutade.fr/post/2015/03/game_over.html et http://blog.soutade.fr/post/2015/07/how-to-make-custom-rom-for-cybook-e-readers.html j'ai copié dropbear (via un serveur https://www.thc.org/segfault/ car wget ne savait que faire du http) et j'ai un ssh fonctionnel.

    Un autre jour je le rend persistent et jouerais avec https://bitbucket.org/alexantunez/nolim-ebook-sdk/src/master/ pour afficher des choses sur le FrameBuffer...

    #bookeen #recycle #sunxi #hack #jailbreak #root

    good progress on porting #barebox on the pine64 (Allwinner #sunxi A64)

    I've managed get a barebox image capable to boot #linux under 108KB... only 16 bytes left...

    Sadly it fails very early during the boot 😢
    I am not very familiar with the Linux kernel boot image. I am not sure where the entry point should go

    #62024 - [PATCH] OLIMEX-Teres-A64: Official Support - GNU bug report logs

    I am halting any kind of work on archlinux, parabola and pacman due to:
    * Archlinux not giving a shit about aarch64 and actively blocks any kind of development for it
    * ArchLinuxArm not replying to me and evidently removing my issue from their bug tracker about it
    * Parabola, because Denis 'GNUToo' Carikli is keep kicking me from an IRC for no fucking reason
    * Pacman is a trash package manager which source code should be put on a flash disk and thrown into a fire which would be a major help to address replication crisis in the computer science

    The unfinished work that would provide a full compatibility of Parabola and ArchLinuxArm with all sunxi boards that currently builds a functional u-boot for OLIMEX Teres-A64 and can be easily adjusted to build other sunxi boards is provided on https://gist.github.com/Kreyren/97eef26fb6c92e3f6188b72b4dc2c26a

    The preliminary ArchLinuxArm image for OLIMEX Teres-A64 which is using a hotfix with armbian u-boot, bootloader, kernel and kernel modules (due to lack of parabola's compatence to implement the required infrastructure) is provided on https://git.dotya.ml/kreyren/teres-a64-arch-preliminary

    Fuck you arch and fuck you GNUToo

    #ArchLinux #ArchLinuxArm #Parabola #pacman #FOSS #FLOSS #OSS #openSource #olimex #uboot #sunxi #teres #gnu

    Archwork

    GitHub Gist: instantly share code, notes, and snippets.

    Gist
    #linux usb gadget ethernet performance on #sunxi (h3) is ~90Mbps with eth_ecm, and around ~71Mbps with rndis. Why do we have to be stuck with rndis for #windows! lameeeee #embedded
    https://forum.armbian.com/topic/7575-k-worker-problem-on-a20-based-boards/page/2/# #ArmBian : Using top, I observed some #kworker #cpu load on @olimex #OLinuXino #A20Micro caused by #Sunxi #IIO module : sudo rmmod sun4i_gpadc sun4i_gpadc_iio will make top stable #Linux 5.10.21-sunxi
    K-worker problem on A20 based boards

    http://ix.io/2RUx# #ArmBian on #Olimex #A20 #OLinuXino #MICRO any hints about this #dmesg : WARNING: CPU: 1 PID: 1 at arch/arm/mm/ioremap.c:287 __arm_ioremap_pfn_caller+0x13f/0x14c
    [ 1.298614] Modules linked in:
    [ 1.298634] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.10.16- #sunxi #21.02.2
    [ 1.298640] Hardware name: #Allwinner #sun7i (#A20) Family