From a53c92e95d29c5d1b704ce38522d0bdb6f95aca4 Mon Sep 17 00:00:00 2001 From: bzt Date: Tue, 16 Jan 2018 11:05:33 +0100 Subject: [PATCH] Fixed typos --- 00_crosscompiler/OLVASSEL.md | 12 +++++++++--- 00_crosscompiler/README.md | 8 +++++++- 0C_directory/fat.c | 2 +- 0D_readfile/fat.c | 2 +- OLVASSEL.md | 4 ++-- README.md | 2 +- 6 files changed, 21 insertions(+), 9 deletions(-) diff --git a/00_crosscompiler/OLVASSEL.md b/00_crosscompiler/OLVASSEL.md index 35d61b38..bbd18064 100644 --- a/00_crosscompiler/OLVASSEL.md +++ b/00_crosscompiler/OLVASSEL.md @@ -4,6 +4,12 @@ AArch64 Kereszt-Fordító Mielőtt nekiugranál az oktatóanyagoknak, szükséged lesz néhány szerszámra. Nevezetesen egy fordítóra, ami képes AArch64-re fordítani, és a hozzá kapcsolódó programokra. +**FONTOS MEGJEGYZÉS**: ez az leírás nem a kereszt-fordítókról szól úgy általánosságban, hanem arról, hogy +hogyan fordítsunk konkrétan *aarch64-elf* target-re. Ha problémád adódik, keress rá a google-ön arra, "hogyan +fordítsunk gcc kereszt-fordítót" vagy kérdezz az operációs rendszered szerinti támogatói fórumokon. Nem tudok és +nem is fogok segíteni a környezeted kialakításában, azt neked kell megoldanod. Mint a bevezetőben már írtam, +feltételezem, hogy tudod, hogyan kell programokat fordítani (beleértve a kereszt-fordító fordítását). + Build rendszer -------------- @@ -105,8 +111,8 @@ Amik ezek közül számunkra érdekesek: - aarch64-elf-gcc - a C fordító - aarch64-elf-ld - a linker - aarch64-elf-objcopy - az ELF futtathatók IMG-re való konvertálásához kell - - aarch64-elf-objdump - futtathatók disassemblálásához (debuggolásnál) - - aarch64-elf-readelf - hasznos eszköz a futtathatókban lévő szekciók és szegmensek listázáshoz (debuggolásnál) + - aarch64-elf-objdump - futtathatók disassemblálására (debuggoláshoz) + - aarch64-elf-readelf - hasznos eszköz a futtathatókban lévő szekciók és szegmensek listázásra (debuggoláshoz) Ha mind a hat fenti futtahatót látod, és hibaüzenet nélkül le is futnak, gratulálok! -Minden eszköz a rendelkezésedre áll, ami ehhez az oktatóanyaghoz kelleni fog. +Minden eszköz a rendelkezésedre áll, elkezdheted az oktatóanyagot! diff --git a/00_crosscompiler/README.md b/00_crosscompiler/README.md index e8231352..56c457b2 100644 --- a/00_crosscompiler/README.md +++ b/00_crosscompiler/README.md @@ -4,6 +4,12 @@ AArch64 Cross Compiler Before we could start our tutorials, you'll need some tools. Namely a compiler that compiles for the AArch64 architecture and it's companion utilities. +**IMPORTANT NOTE**: this description is not about how to compile a cross-compiler in general. It's about how to +compile one specifically for the *aarch64-elf* target. If you have problems, google "how to build a gcc cross-compiler" +or ask on an appropriate support forum for your operating system. I can't and won't help you with your environment, +you have to solve that on your own. As I've said in the introduction I assume you know how to compile programs +(including the compilation of the cross-compiler). + Build system ------------ @@ -109,4 +115,4 @@ The executables we are interested in: - aarch64-elf-readelf - an useful utility to dump sections and segments in executables (for debugging) If you have all of the above six executables and you can also run them without error messages, congrats! -You have all the tools needed for this tutorial series. +You have all the tools needed, you can start to work with my tutorials! diff --git a/0C_directory/fat.c b/0C_directory/fat.c index 82b8046b..dd9a72f2 100644 --- a/0C_directory/fat.c +++ b/0C_directory/fat.c @@ -68,7 +68,7 @@ typedef struct { /** * Get the starting LBA address of the first partition - * so that we know where or FAT file system starts, and + * so that we know where our FAT file system starts, and * read that volume's BIOS Parameter Block */ int fat_getpartition() diff --git a/0D_readfile/fat.c b/0D_readfile/fat.c index 1cef7613..b42023d0 100644 --- a/0D_readfile/fat.c +++ b/0D_readfile/fat.c @@ -68,7 +68,7 @@ typedef struct { /** * Get the starting LBA address of the first partition - * so that we know where or FAT file system starts, and + * so that we know where our FAT file system starts, and * read that volume's BIOS Parameter Block */ int fat_getpartition() diff --git a/OLVASSEL.md b/OLVASSEL.md index 16299e54..b17a6cdb 100644 --- a/OLVASSEL.md +++ b/OLVASSEL.md @@ -16,8 +16,8 @@ oktatóanyag kifejezetten arról szól, hogy kommunikáljunk az adott hardverrel hátteréről. Feltételezem, hogy elegendő GNU/Linux ismerettel rendelkezel, tudod, hogy kell programokat fordítani és lemez -valamint fájlrendszer képfájlokat létrehozni. Nem fogok kitérni ezekre, bár szó lesz arról, hogyan állítsuk be -a kereszt-fordítót kifejezetten ehhez az architektúrához. +valamint fájlrendszer képfájlokat létrehozni. Nem fogok kitérni ezekre, bár pár apró tanácsot adok arról, hogy +hogyan állítsuk be a kereszt-fordítót kifejezetten ehhez az architektúrához. Miért Raspberry Pi 3? --------------------- diff --git a/README.md b/README.md index 84d8a38f..277a0b1d 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ or how to implement multi-tasking. If you plan to write your own OS for the Rasp research before you continue. This tutorial is strickly about interfacing with the hardware, and not about OS theory. I assume you have a fair GNU/Linux knowledge on how to compile programs and create disk and file system images. I -won't cover those in detail, although I'll talk about how to set up a cross-compiler for this architecture. +won't cover those in detail, although I'll give you a few hints about how to set up a cross-compiler for this architecture. Why Raspberry Pi 3? -------------------