Merge pull request #1 from ubports/flo-newmmc

add 5.0 emmc support
This commit is contained in:
Andreas Pokorny
2018-12-30 09:22:26 +01:00
committed by GitHub
2 changed files with 8 additions and 1 deletions

7
README
View File

@@ -1,3 +1,10 @@
Building the kernel for flo:
1. sudo apt install gcc-4.9-arm-linux-gnueabihf build-essential
2. cp debian.flo/config/config.common.ubuntu arch/arm/configs/ubuntu_flo_defconfig
3. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- CC=/usr/bin/arm-linux-gnueabihf-gcc-4.9 ubuntu_flo_defconfig
4. make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- CC=/usr/bin/arm-linux-gnueabihf-gcc-4.9 zImage
Linux kernel release 3.x <http://kernel.org/> Linux kernel release 3.x <http://kernel.org/>
These are the release notes for Linux version 3. Read them carefully, These are the release notes for Linux version 3. Read them carefully,

View File

@@ -293,7 +293,7 @@ static int mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)
} }
card->ext_csd.rev = ext_csd[EXT_CSD_REV]; card->ext_csd.rev = ext_csd[EXT_CSD_REV];
if (card->ext_csd.rev > 6) { if (card->ext_csd.rev > 7) {
pr_err("%s: unrecognised EXT_CSD revision %d\n", pr_err("%s: unrecognised EXT_CSD revision %d\n",
mmc_hostname(card->host), card->ext_csd.rev); mmc_hostname(card->host), card->ext_csd.rev);
err = -EINVAL; err = -EINVAL;