SDIO: Added missing instruction and note for LK 4.19

This commit is contained in:
Aditya Prayoga 2019-07-26 19:59:13 +08:00
parent 127f60b787
commit 6723446e26

View file

@ -30,11 +30,13 @@ Install the dependencies and extract the source into ~/src/linux
```
sudo apt-get -y install build-essential linux-source-4.14.87-next-mvebu
mkdir -p ~/src/linux
tar Jxf /usr/src/linux-source-4.14.87-mvebu.tar.xz -C ~/src/linux
tar Jxf /usr/src/linux-source-$(uname -r).tar.xz -C ~/src/linux
```
!!! note
You will need to choose the right *linux-source* package that matches the kernel version you are running. Check kernel version with command **uname -a**
You will need to choose the right *linux-source* package that matches the kernel version you are running. Check kernel version with command **uname -r**.
Currently it does NOT work with *Linux Kernel 4.19* onward.
### Patching and Compilation
@ -51,6 +53,7 @@ git apply --apply --verbose helios4_dtb_sd_uhs_linux_stable.patch
Compile the device tree into dtb
```
cp /boot/config-$(uname -r) .config
make armada-388-helios4.dtb
cp arch/arm/boot/dts/armada-388-helios4.dtb armada-388-helios4.dtb.uhs
```
@ -118,7 +121,7 @@ To automate the test, a test script named [run_sdcard_test.sh](/files/sdcard/run
**3.** Install iozone and download the test script
```
sudo apt-get -y install iozone
sudo apt-get -y install iozone3
wget https://wiki.kobol.io/files/sdcard/run_sdcard_test.sh
chmod 755 run_sdcard_test.sh