Odroid C1 boot settings

This commit is contained in:
Michael Schlapa
2020-03-20 11:11:47 +01:00
parent abb57f7485
commit 1549182f40

38
odroid.md Normal file
View File

@@ -0,0 +1,38 @@
# ODroid C1
## New kernel
With the old kernel (3.10, linux-odroid-c1 package) you need to set in `/boot/boot.ini`:
```
$ cat /boot/boot.ini
[...]
setenv condev "console=tty0 console=ttyS0,115200n8"
[...]
ext4load mmc 0:1 0x21000000 /boot/uImage
ext4load mmc 0:1 0x21800000 /boot/dtbs/meson8b_odroidc.dtb
fdt addr 21800000
[...]
```
Those settings are not working for the new kernel (5.5.8, linux-armv7-odroidc1 package).
You need to copy `meson8b-odroidc1.dtb` and set the following:
```
$ cp /boot/dtbs/meson8b-odroidc1.dtb /boot/meson8b-odroidc1.dtb
$ cat /boot/boot.ini
[...]
setenv condev "console=tty0 console=ttyAML0,115200n8"
[...]
ext4load mmc 0:1 0x21000000 /boot/uImage
ext4load mmc 0:1 0x21800000 /boot/meson8b-odroidc1.dtb
fdt addr 21800000
[...]
```
## U-Boot bootm command
```
bootm $1 $2 $3
$1: Kernel image to load
$2: RAM disk as rootfs
$3: dtb - Flattened device tree blob
```