diff options
author | Josua Mayer <josua.mayer97@gmail.com> | 2017-04-23 19:22:32 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-05-30 14:00:30 +0200 |
commit | c4f94740598a7516fd8b9fc471872b6e3397fbdb (patch) | |
tree | 1e3ce65c934861fec1d46aef8d8b296f6887b13f /package/boot/uboot-mvebu/patches/0001-clearfog-generate-random-MAC-address.patch | |
parent | 86c4144571220cde91f8b1c3d07f03190e4560dd (diff) | |
download | upstream-c4f94740598a7516fd8b9fc471872b6e3397fbdb.tar.gz upstream-c4f94740598a7516fd8b9fc471872b6e3397fbdb.tar.bz2 upstream-c4f94740598a7516fd8b9fc471872b6e3397fbdb.zip |
u-boot-mvebu: clearfog: implement distro-boot
Add a patchfile that implements distro-boot and is meant to go upstream
Also make the other patches git-am'able for easier maintenance.
Signed-off-by: Josua Mayer <josua.mayer97@gmail.com>
Diffstat (limited to 'package/boot/uboot-mvebu/patches/0001-clearfog-generate-random-MAC-address.patch')
-rw-r--r-- | package/boot/uboot-mvebu/patches/0001-clearfog-generate-random-MAC-address.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/package/boot/uboot-mvebu/patches/0001-clearfog-generate-random-MAC-address.patch b/package/boot/uboot-mvebu/patches/0001-clearfog-generate-random-MAC-address.patch new file mode 100644 index 0000000000..c34616292a --- /dev/null +++ b/package/boot/uboot-mvebu/patches/0001-clearfog-generate-random-MAC-address.patch @@ -0,0 +1,28 @@ +From ee16ee20205ea374613c3ac7f50209451eb29068 Mon Sep 17 00:00:00 2001 +From: Josua Mayer <josua.mayer97@gmail.com> +Date: Sun, 23 Apr 2017 18:02:40 +0200 +Subject: [PATCH 1/4] clearfog: generate random MAC address + +The Clearfog does not come with predetermined MACs. +Falling back to random ones ensures ethernet can still operate anyway. + +Signed-off-by: Josua Mayer >josua.mayer97@gmail.com> +--- + configs/clearfog_defconfig | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configs/clearfog_defconfig b/configs/clearfog_defconfig +index 1264871e83..41e94e6daf 100644 +--- a/configs/clearfog_defconfig ++++ b/configs/clearfog_defconfig +@@ -47,6 +47,7 @@ CONFIG_DEBUG_UART=y + CONFIG_DEBUG_UART_BASE=0xd0012000 + CONFIG_DEBUG_UART_CLOCK=250000000 + CONFIG_DEBUG_UART_SHIFT=2 ++CONFIG_NET_RANDOM_ETHADDR=y + CONFIG_SYS_NS16550=y + CONFIG_USB=y + CONFIG_DM_USB=y +-- +2.12.2 + |