Compare commits

...

6 Commits

Author SHA1 Message Date
cdfb32119d Enable support for the MMC-SPI driver through the device tree
This allows accessing the sd card as a block device and mounting partitions.
2018-06-13 00:41:30 +02:00
8d5a87221a Update submodules for presentation 2018-06-13 00:40:54 +02:00
05df1a9d8f Update freedom repos to final version 2018-06-06 01:16:46 +02:00
45360cd679 Add path for binutils gdb compilation failure 2018-06-06 01:03:38 +02:00
6b57436007 Mention how to copy the boot image to the sd card 2018-06-05 18:14:19 +02:00
180ed8557e Add sd breakout board as submodule 2018-06-05 18:04:47 +02:00
8 changed files with 50 additions and 2 deletions

3
.gitmodules vendored
View File

@ -7,3 +7,6 @@
[submodule "src/terminal"] [submodule "src/terminal"]
path = src/terminal path = src/terminal
url = https://git.tiband.de/riscv/terminal.git url = https://git.tiband.de/riscv/terminal.git
[submodule "sd-breakout"]
path = sd-breakout
url = https://git.tiband.de/riscv/sd-breakout.git

View File

@ -21,6 +21,14 @@ können nach Bedarf die im `patches`-Ordner verfügbaren Patches angewendet
werden. Weitere Details zum Freedom-SDK finden sich u.a. im werden. Weitere Details zum Freedom-SDK finden sich u.a. im
[Freedom U500 VC707 FPGA Dev Kit Getting Started Guide]. [Freedom U500 VC707 FPGA Dev Kit Getting Started Guide].
Anschließend wird das erzeugte Bootimage auf eine SD-Karte übertragen. Dabei
darf kein Partitionslayout vorhanden sein.
```sh
sudo dd if=work/bbl.bin of=/dev/sd-card bs=1M
sudo sync
```
Während des Kompilierens wird im Ordner `freedom-u-sdk/toolchain` eine RISC-V Während des Kompilierens wird im Ordner `freedom-u-sdk/toolchain` eine RISC-V
GCC-Toolchain erstellt. Der Unterordner `bin` sollte für die folgenden GCC-Toolchain erstellt. Der Unterordner `bin` sollte für die folgenden
Schritte zur `PATH`-Umgebungsvariablen hinzugefügt werden. Schritte zur `PATH`-Umgebungsvariablen hinzugefügt werden.

Submodule freedom updated: 2c74ef7f03...552553e526

View File

@ -0,0 +1,26 @@
diff --git a/gdb/configure b/gdb/configure
index 6a0664ab16..0d1dd0b2b6 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -10362,7 +10362,7 @@ fi
-try_guile_versions="guile-2.2 guile-2.0"
+try_guile_versions="guile-2.0"
have_libguile=no
case "${with_guile}" in
no)
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 10d2d10b12..70a9292e53 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1134,7 +1134,7 @@ AC_MSG_RESULT([$with_guile])
dnl We check guile with pkg-config.
AC_PATH_PROG(pkg_config_prog_path, pkg-config, missing)
-try_guile_versions="guile-2.2 guile-2.0"
+try_guile_versions="guile-2.0"
have_libguile=no
case "${with_guile}" in
no)

View File

@ -107,6 +107,16 @@
reg = <0x64001000 0x1000>; reg = <0x64001000 0x1000>;
reg-names = "control"; reg-names = "control";
clocks = <&sysclk 0>; clocks = <&sysclk 0>;
#address-cells = <1>;
#size-cells = <0>;
mmc@0 {
compatible = "mmc-spi-slot";
reg = <0x0>;
spi-max-frequency = <0x1312d00>;
voltage-ranges = <0xce4 0xce4>;
disable-wp;
};
}; };
L9: serial@64003000 { L9: serial@64003000 {
compatible = "klemens,terminal0"; compatible = "klemens,terminal0";

1
sd-breakout Submodule

Submodule sd-breakout added at 2323183979