Content-Length: 498752 | pFad | https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials/pull/150

D2 README.ES.md -> 01 & 02 by zanezhub · Pull Request #150 · rust-embedded/rust-raspberrypi-OS-tutorials · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README.ES.md -> 01 & 02 #150

Merged
merged 15 commits into from
Apr 1, 2022
Merged

README.ES.md -> 01 & 02 #150

merged 15 commits into from
Apr 1, 2022

Conversation

zanezhub
Copy link
Contributor

New files 0353949

I translated the following files:

@andre-richter andre-richter requested a review from eldruin March 29, 2022 07:02
Copy link
Member

@eldruin eldruin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Just added a few improvements/corrections.

@@ -0,0 +1,55 @@
# Tutorial 01 - Esperar para siempre
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Tutorial 01 - Esperar para siempre
# Tutorial 01 - Esperar infinitamente


## tl;dr

* Se configura la estructura que tendrá el proyecto.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Se configura la estructura que tendrá el proyecto.
* Se configura la estructura que tiene el proyecto.


## Compilar

* El archivo `Makefile` selecciona:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* El archivo `Makefile` selecciona:
* El archivo `Makefile` permite ejecutar:

Comment on lines 17 to 19
* `clippy`

* `clean`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* `clippy`
* `clean`
* `clippy`: Analiza el código y sugiere mejoras.
* `clean`: Elimina todos los archivos generados durante la compilación, etc.


* `clean`

* `readelf`: Inspeccionar la salida de `ELF`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* `readelf`: Inspeccionar la salida de `ELF`.
* `readelf`: Inspecciona el archivo `ELF` de salida.


1. Para el núcleo del procesador `if core != core0` (si la variable `core` es diferente de la variable `core0`).

2. Inicializa la [`DRAM`](https://es.wikipedia.org/wiki/DRAM) haciendo ceros la sección de [`bsp`](https://en.wikipedia.org/wiki/.bss).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
2. Inicializa la [`DRAM`](https://es.wikipedia.org/wiki/DRAM) haciendo ceros la sección de [`bsp`](https://en.wikipedia.org/wiki/.bss).
2. Inicializa la [`DRAM`](https://es.wikipedia.org/wiki/DRAM) poniendo a cero la sección de [`.bss`](https://en.wikipedia.org/wiki/.bss).


2. Inicializa la [`DRAM`](https://es.wikipedia.org/wiki/DRAM) haciendo ceros la sección de [`bsp`](https://en.wikipedia.org/wiki/.bss).

3. Configura el `stack pointer` (puntero a la memoria *stack*).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
3. Configura el `stack pointer` (puntero a la memoria *stack*).
3. Configura el `stack pointer` (puntero a la memoria pila).


. `_start_rust()`:

. Llama a `kernel_init()`, que llama a `panic!()`, que eventualmente también pausa a core0.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
. Llama a `kernel_init()`, que llama a `panic!()`, que eventualmente también pausa a core0.
. Llama a `kernel_init()`, que llama a `panic!()`, que al final también pone al núcleo 0 en pausa.


. Llama a `kernel_init()`, que llama a `panic!()`, que eventualmente también pausa a core0.

. La librería ahora usa el crate [cortex-a](https://github.com/rust-embedded/cortex-a), que nos da abstracciones conocidas como *zero-overhead* y envulve las partes que hacen uso de un `unsafe` (partes con código que no es seguro y podría causar errores) cuando se trabaja con los recursos del procesador.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
. La librería ahora usa el crate [cortex-a](https://github.com/rust-embedded/cortex-a), que nos da abstracciones conocidas como *zero-overhead* y envulve las partes que hacen uso de un `unsafe` (partes con código que no es seguro y podría causar errores) cuando se trabaja con los recursos del procesador.
. La librería ahora usa el crate [cortex-a](https://github.com/rust-embedded/cortex-a), que nos da abstracciones sin coste y envuelve las partes que hacen uso de un `unsafe` (partes con código que no es seguro y podría causar errores) cuando se trabaja directamente con los recursos del procesador.


. Lo puedes ver en acción en `_arch/__arch_name__/cpu.rs`.

## Diff del archivo anterior
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Diff del archivo anterior
## Diferencia con el archivo anterior

@zanezhub
Copy link
Contributor Author

I just made a new commit e073b53 with the corrections and improvements. Thankss

Copy link
Member

@eldruin eldruin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I fixed a couple that were left myself.

@eldruin eldruin merged commit a6be5b3 into rust-embedded:master Apr 1, 2022
@eldruin
Copy link
Member

eldruin commented Apr 1, 2022

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials/pull/150

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy