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

    USAF F-16C 64th Aggressor Squadron "Gomers", Nellis AFB running the R-2508 Sidewinder Low Level Complex, June 2025 #F16C #USAF #aggressor #Sidewinder #NellisAFB #milair #aviationphotography #planespotting #AvGeek #spotter #photography #Nikon #aircraft #nikonphotography #R2508 #lowlevel #lowleveljets

    One assembler to rule them all.

    I'm building UA. A language that reads like high-level code but talks directly to the registers. The standalone asm compiler do PE, ELF, or raw binaries without any ext. linkers.

    Full manifesto coming soon in the "BOOM".

    #lowlevel #coding #assembly #c99

    Finally, some GOOD stuff

    #tech #lowlevel #kernel

    Тетрис в ядре Linux

    Вероятно, вы знаете, что если запустить ядро Linux без корневой файловой системы или файла initramfs, то оно упадет с сообщением о панике ядра. Но возможна ли работа ядра Linux без этих, вроде бы обязательных компонентов? Ответ на вопрос - да, возможна, но использовать такие возможности в конечном продукте не стоит. При запуске ядра ему могут передаваться параметры через командную строку. Одним из параметров является rootwait , указывающий ядру на то, что нужно подождать появление корневой файловой системы. В этом случае ядро ожидает появление корневой системы, а не завершается выполнение ядра с ошибкой. Формально ничто не мешает написать модуль ядра, который взаимодействует с клавиатурой и дисплеем и временно выполняет функции пользовательского приложения, пока ядро ожидает корневую файловую систему. Пользовательским приложением может быть, например, игра Тетрис. Она из-за своей простоты в реализации и зрелищности добавляет наглядности в изучении темы и дает чувство завершенности. А мысль о том, что тетрис, работает в ядре, усиливает эффект.

    https://habr.com/ru/companies/timeweb/articles/989156/

    #linux #linux_kernel #linux_modules #qemu #c_language #lowlevel #ненормальное_программирование #timeweb_статьи

    Тетрис в ядре Linux

    Вероятно, вы знаете, что если запустить ядро Linux без корневой файловой системы или файла initramfs, то оно упадет с сообщением о панике ядра. Но возможна ли работа ядра Linux без этих, вроде бы...

    Хабр

    Маски, Каскады, использование масок вместо циклов(В некоторых случаях) + Атомарные инструкции

    Привет Хабр! Сегодня я решил закрыть трилогию статей, а закончи парой не мало важных тем. Хочу сказать огромное спасибо тем кто активничает и задает вопросы. Ну что ж, начнем.

    https://habr.com/ru/articles/996432/

    ++ #simd #mask #atomic #lowlevel #guide #optimization

    Маски, Каскады, использование масок вместо циклов(В некоторых случаях) + Атомарные инструкции

    Привет Хабр! Сегодня я решил закрыть трилогию статей, а закончи парой не мало важных тем. Хочу сказать огромное спасибо тем кто активничает и задает вопросы. Ну что ж, начнем. Mask как то я в одной из...

    Хабр

    You never do understand #lowlevel concepts in #programming until you actually go and implement them in something like #c .

    I am working on the MQTT Client still and am learning a lot about #allocators and #memory.

    I've learned about those things, both from the infosec and from the computer engineering sides, but now that I am actually implementing this stuff and having to make decisions and research and reading-the-effing-manual I feel that I am building an actual intuitive understanding of this stuff.

    I've basically intuited 95% of the way to slab allocators before learning the actual term, like, it is just the logical progression.

    Of course not everything is like this, but it feels very cool.

    Man, I love computers so much!

    If you piss off the pilot you stay home USN F/A-18F of VFA-122 'Flying Eagles", R-2508 Sidewinder Low Level Complex, June 2025 #Sidewinder #NellisAFB #milair #planespotting #AvGeek #spotter #photography #Nikon #aircraft #nikonphotography #R2508 #lowlevel #lowleveljets #VFA122

    They said "just download more RAM" was a meme. I took it personally. 👻💾

    Introducing GhostMem: A user-space C++ library that transparently intercepts virtual memory accesses. It traps page faults and compresses cold data on-the-fly using LZ4.

    No kernel modules. No admin rights. Just more RAM.

    https://github.com/el-dockerr/ghostmem

    #cpp #lowlevel #performance #systemsengineering #lz4 #linux #windowsdev

    GitHub - el-dockerr/ghostmem: GhostMem is a smart memory management system that extends available RAM through **in-memory compression** rather than traditional disk-based swapping.

    GhostMem is a smart memory management system that extends available RAM through **in-memory compression** rather than traditional disk-based swapping. - el-dockerr/ghostmem

    GitHub