New tutorial, raspbootin for 64 bit

pull/4/head
bzt 6 years ago
parent e16865370c
commit 05bc1c0204

@ -6,7 +6,7 @@ ami a soros vonalról fogja betölteni az igazi kernel8.img-t.
Ez az oktatóanyag a jól ismert [raspbootin](https://github.com/mrvn/raspbootin) átírása 64 bitre.
A betöltőprogram egyik felét adja csak, a kernel fogadót, ami az RPi-n fut. A másik fél, a PC-n futó küldő,
megtalálható az eredeti forrásban [raspbootcom](https://github.com/mrvn/raspbootin/tree/master/raspbootcom) néven.
megtalálható az eredeti forrásban [raspbootcom](https://github.com/mrvn/raspbootin/blob/master/raspbootcom/raspbootcom.cc) néven.
Ha Windowsos gépekről is szeretnél kernelt küldeni, akkor javaslom inkább a John Cronin féle átiratot, a
[raspbootin-server](https://github.com/jncronin/rpi-boot/blob/master/raspbootin-server.c)-t, ami natív Win32 API-t használ.

@ -6,7 +6,7 @@ load the real kernel8.img over serial.
This tutorial is a rewrite of the well known serial boot loader, [raspbootin](https://github.com/mrvn/raspbootin) in 64 bit.
I only provide one part of the loader, the kernel receiver, which runs on the RPi. For the other
part, the sender, which runs on your PC see the original [raspbootcom](https://github.com/mrvn/raspbootin/tree/master/raspbootcom) utility.
part, the sender, which runs on your PC see the original [raspbootcom](https://github.com/mrvn/raspbootin/blob/master/raspbootcom/raspbootcom.cc) utility.
If you want to send kernels from a Windows machine, I suggest to take a look at John Cronin's rewrite,
[raspbootin-server](https://github.com/jncronin/rpi-boot/blob/master/raspbootin-server.c) which can be compiled for the Win32 API.
@ -15,7 +15,7 @@ loading: one code loads the next code to the same position in memory, therefore
by the firmware. To implement that we use a different linking address this time, and since GPU loads us to 0x80000
regardless, we have to copy our code to that link address. That's important that we can only use relative addresses
while doing so. When we're done, the memory at 0x80000 must be free to use. We also should minimize the size of the
loader, since it will be regarded by the newlt loaded code anyway. By removing `uart_puts()` I've managed to shrink the
loader, since it will be regarded by the newly loaded code anyway. By removing `uart_puts()` I've managed to shrink the
size below 1024 bytes. I've checked that with:
```sh

Loading…
Cancel
Save