Skip to content

Commit c78e61a

Browse files
author
hyphop
committed
Sat Feb 15 18:22:13 +09 2020
1 parent 004d40a commit c78e61a

File tree

4 files changed

+59
-0
lines changed

4 files changed

+59
-0
lines changed

mainline/README.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# make mainline uboot VIM1 VIM2 VIM3 VIM3L
2+
3+
git clone https://github.com/hyphop/fenix/tree/hyphop
4+
cd fenix
5+
./scripts/make_uboots.sh
6+
7+
# output
8+
9+
ls /tmp/uboot-mainline/
10+
11+
u-boot.VIM1.bin u-boot.VIM2.bin u-boot.VIM3.bin u-boot.VIM3L.sd.bin
12+
u-boot.VIM1.sd.bin u-boot.VIM2.sd.bin u-boot.VIM3L.bin u-boot.VIM3.sd.bin
13+
14+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
From 6ab671a0b4d9e012dc2f7073d885d04edb6fdb7c Mon Sep 17 00:00:00 2001
2+
From: hyphop <email2tema@gmail.com>
3+
Date: Tue, 19 Nov 2019 06:54:49 +0300
4+
Subject: [PATCH] fix emmckey_is_access_range_legal
5+
6+
---
7+
drivers/mmc/mmc.c | 7 +++++--
8+
1 file changed, 5 insertions(+), 2 deletions(-)
9+
10+
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
11+
index a614cf439a..43b0c3ca52 100644
12+
--- a/drivers/mmc/mmc.c
13+
+++ b/drivers/mmc/mmc.c
14+
@@ -323,8 +323,11 @@ ulong mmc_bread(int dev_num, lbaint_t start, lbaint_t blkcnt, void *dst)
15+
#endif
16+
return 0;
17+
}
18+
- if (!emmckey_is_access_range_legal(mmc, start, blkcnt))
19+
- return 0;
20+
+
21+
+// ## hyphop ##
22+
+// if (!emmckey_is_access_range_legal(mmc, start, blkcnt))
23+
+// return 0;
24+
+
25+
#ifndef MMC_HS400_MODE
26+
if (mmc_set_blocklen(mmc, mmc->read_bl_len))
27+
return 0;
28+
--
29+
2.14.1
30+

scripts/make_uboots

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## hyphop ##
44

5+
rm -rf ../../u-boot-vims/build
6+
57
[ -d ../../u-boot-vims/build ] &&
68
rm -rf ../../u-boot-vims/build
79

scripts/make_uboots_test

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/sh
2+
3+
## hyphop ##
4+
5+
# rm -rf ../../u-boot-vims/build
6+
7+
#./make_uboot_vim1
8+
9+
#./make_uboot_vim2
10+
#./make_uboot_vim3
11+
12+
./make_uboot_vim3l
13+

0 commit comments

Comments
 (0)