Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
u-boot
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
u-boot
Commits
918df1a6
Commit
918df1a6
authored
Jan 02, 2022
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added watchdog for Odroid HC2
parent
a88fb099
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
532 additions
and
0 deletions
+532
-0
Makefile
Makefile
+13
-0
u-boot-2020.04-exynos_wdt.patch
u-boot-2020.04-exynos_wdt.patch
+507
-0
u-boot-2020.04-odroid_board_detection_fix.patch
u-boot-2020.04-odroid_board_detection_fix.patch
+12
-0
No files found.
Makefile
View file @
918df1a6
...
...
@@ -195,6 +195,7 @@ export FW_ENV_OPIPCPLUS_MENDER
odroidhc2
:
odroidhc2-boot-cmd odroidhc2-fw_env.config
tar
xf u-boot-2020.04.tar.bz2
patch
-Np1
-d
u-boot-2020.04 < u-boot-2020.04-serial-number-fix.patch
patch
-Np1
-d
u-boot-2020.04 < u-boot-2020.04-odroid_board_detection_fix.patch
$(MAKE)
-C
u-boot-2020.04 odroid-xu3_defconfig
@
echo
"# CONFIG_ENV_IS_IN_FAT is not set"
>>
u-boot-2020.04/.config
@
echo
"CONFIG_ENV_IS_IN_MMC=y"
>>
u-boot-2020.04/.config
...
...
@@ -241,6 +242,8 @@ odroidhc2-mender: odroidhc2-boot-cmd-mender odroidhc2-fw_env.config-mender
tar
xf u-boot-2020.04.tar.bz2
patch
-Np1
-d
u-boot-2020.04 < u-boot-2020.04-serial-number-fix.patch
patch
-Np1
-d
u-boot-2020.04 < u-boot-2020.04-mender.patch
patch
-Np1
-d
u-boot-2020.04 < u-boot-2020.04-odroid_board_detection_fix.patch
patch
-Np1
-d
u-boot-2020.04 < u-boot-2020.04-exynos_wdt.patch
$(MAKE)
-C
u-boot-2020.04 odroid-xu3_defconfig
@
echo
"# CONFIG_ENV_IS_NOWHERE is not set"
>>
u-boot-2020.04/.config
@
echo
"# CONFIG_ENV_IS_IN_FAT is not set"
>>
u-boot-2020.04/.config
...
...
@@ -248,6 +251,16 @@ odroidhc2-mender: odroidhc2-boot-cmd-mender odroidhc2-fw_env.config-mender
@
echo
"CONFIG_SYS_REDUNDAND_ENVIRONMENT=y"
>>
u-boot-2020.04/.config
@
echo
"# CONFIG_ENV_OFFSET is not set"
>>
u-boot-2020.04/.config
@
echo
"# CONFIG_ENV_OFFSET_REDUND is not set"
>>
u-boot-2020.04/.config
@
echo
"CONFIG_WDT=y"
>>
u-boot-2020.04/.config
@
echo
"# CONFIG_CMD_WDT is not set"
>>
u-boot-2020.04/.config
@
echo
"# CONFIG_WDT_AT91 is not set"
>>
u-boot-2020.04/.config
@
echo
"# CONFIG_WDT_CDNS is not set"
>>
u-boot-2020.04/.config
@
echo
"# CONFIG_WDT_CORTINA is not set"
>>
u-boot-2020.04/.config
@
echo
"CONFIG_WDT_EXYNOS=y"
>>
u-boot-2020.04/.config
@
echo
"# CONFIG_WDT_SP805 is not set"
>>
u-boot-2020.04/.config
@
echo
"# CONFIG_WDT_STM32MP is not set"
>>
u-boot-2020.04/.config
@
echo
"# CONFIG_XILINX_TB_WATCHDOG is not set"
>>
u-boot-2020.04/.config
@
echo
"# CONFIG_HBMC_AM654 is not set"
>>
u-boot-2020.04/.config
$(MAKE)
-C
u-boot-2020.04 oldconfig
$(MAKE)
-C
u-boot-2020.04
mount /dev/
$(DISK)
1 /uboot
...
...
u-boot-2020.04-exynos_wdt.patch
0 → 100644
View file @
918df1a6
This diff is collapsed.
Click to expand it.
u-boot-2020.04-odroid_board_detection_fix.patch
0 → 100644
View file @
918df1a6
diff -uNr u-boot-2020.04/board/samsung/common/exynos5-dt-types.c u-boot-2020.04-odroid_board_detection_fix/board/samsung/common/exynos5-dt-types.c
--- u-boot-2020.04/board/samsung/common/exynos5-dt-types.c 2020-04-13 15:02:18.000000000 +0000
+++ u-boot-2020.04-odroid_board_detection_fix/board/samsung/common/exynos5-dt-types.c 2021-12-30 08:51:44.151701989 +0000
@@ -41,7 +41,7 @@
{ EXYNOS5_BOARD_ODROID_XU3_REV02, 2, 375, "xu3" },
{ EXYNOS5_BOARD_ODROID_XU4_REV01, 1, 1293, "xu4" },
{ EXYNOS5_BOARD_ODROID_HC1_REV01, 1, 1322, "hc1" },
- { EXYNOS5_BOARD_ODROID_HC2_REV01, 1, 1484, "hc1" },
+ { EXYNOS5_BOARD_ODROID_HC2_REV01, 1, 1484, "hc2" },
{ EXYNOS5_BOARD_ODROID_UNKNOWN, 0, 4095, "unknown" },
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment