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

Errata and troubleshooting on ArchLinux #10

Open
TheSlackOne opened this issue Jun 23, 2019 · 1 comment
Open

Errata and troubleshooting on ArchLinux #10

TheSlackOne opened this issue Jun 23, 2019 · 1 comment

Comments

@TheSlackOne
Copy link

TheSlackOne commented Jun 23, 2019

Hi there,

First of all I want to thank you for your work and the quality of it. I tried to find exactly this course out there but all what I found was oriented to RasPI o requiring hardware.

Having said that, I want also to report a couple of mistakes I found during my read:

Page 19:
CONFIG_BOOTCOMMAND="run mmc_elf_bootcmd"
Should be:
CONFIG_BOOTCOMMAND=bootcmd_bare_arm

Page 25:
0x600210000
should be:
0x60021000


Edit: Adding some troubleshooting on ArchLinux

When trying to compile the C code in section 4:

$ arm-none-eabi-gcc -c -nostdlib -nostartfiles -lgcc -o cstart.o cstart.c
In file included from cstart.c:1:
/usr/lib/gcc/arm-none-eabi/9.1.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory
    9 | # include_next <stdint.h>
      |                ^~~~~~~~~~
compilation terminated.

Solution:
Install arm-none-eabi-newlib package.

Kind regards,
Ernest

@umanovskis
Copy link
Owner

Thanks for these!

I'm working on Chapter 8 now, and will fix these shortly in an edit.

@TheSlackOne TheSlackOne changed the title Errata Errata and troubleshooting on ArchLinux Jun 24, 2019
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

No branches or pull requests

2 participants