Files
Wiki/odroid.md
Michael Schlapa 25cc9caad0 Links
2020-03-20 11:36:14 +01:00

43 lines
1.1 KiB
Markdown

# 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
[...]
```
### Links
* Serial console settings: https://groups.google.com/forum/#!topic/linux-meson/gOgZo54T1x0
* Why to copy dtb file: https://archlinuxarm.org/forum/viewtopic.php?f=23&t=13256
## U-Boot bootm command
```
bootm $1 $2 $3
$1: Kernel image to load
$2: RAM disk as rootfs
$3: dtb - Flattened device tree blob
```