38 lines
899 B
Markdown
38 lines
899 B
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
|
|
[...]
|
|
```
|
|
|
|
## U-Boot bootm command
|
|
|
|
```
|
|
bootm $1 $2 $3
|
|
$1: Kernel image to load
|
|
$2: RAM disk as rootfs
|
|
$3: dtb - Flattened device tree blob
|
|
``` |