Skip to content

Instantly share code, notes, and snippets.

diff --git a/mk_mmc.sh b/mk_mmc.sh
index 9447ac4..fb65e6a 100755
--- a/mk_mmc.sh
+++ b/mk_mmc.sh
@@ -416,7 +416,11 @@ function dl_netinstall_image {
NETINSTALL="initrd.gz"
;;
wheezy-armhf)
- TEST_MD5SUM="${WHEEZY_ARMHF_MD5SUM}_${BOOT//-/_}"
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.4.0 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_GENERIC_GPIO=y
# CONFIG_ARCH_USES_GETTIMEOFFSET is not set
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
@RobertCNelson
RobertCNelson / gist:4211363
Created December 5, 2012 01:54
Panda ES: 3.7.0-rc8-x1: hsmmc regression (non device tree)
U-Boot SPL 2012.10-00010-gd8d09ae (Nov 08 2012 - 20:04:47)
OMAP4460 ES1.1
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img
U-Boot 2012.10-00010-gd8d09ae (Nov 08 2012 - 20:04:47)
CPU : OMAP4460 ES1.1
@RobertCNelson
RobertCNelson / 0001-ARM-HSMMC-fix-error-path-when-no-gpio_reset.patch
Created December 5, 2012 17:14
0001-ARM-HSMMC-fix-error-path-when-no-gpio_reset.patch
From e78557a3b76fce956a9120ab810e6b804f6a54cc Mon Sep 17 00:00:00 2001
From: Robert Nelson <[email protected]>
Date: Wed, 5 Dec 2012 11:12:21 -0600
Subject: [PATCH] ARM: HSMMC: fix error path when no gpio_reset
fixes: https://github.com/beagleboard/kernel/issues/12
Signed-off-by: Robert Nelson <[email protected]>
---
drivers/mmc/host/omap_hsmmc.c | 6 +++++-
@RobertCNelson
RobertCNelson / gist:5326187
Last active December 15, 2015 21:29
u-boot transition part 1
#define CONFIG_BOOTCOMMAND \
"mmc dev ${mmcdev}; if mmc rescan; then " \
"echo SD/MMC found on device ${mmcdev};" \
"if run loadbootenv; then " \
"echo Loaded environment from uEnv.txt;" \
"run importbootenv;" \
"fi;" \
"if test -n $uenvcmd; then " \
"echo Running uenvcmd ...;" \
"run uenvcmd;" \
diff --git a/arch/arm/mach-omap2/clock3xxx.c b/arch/arm/mach-omap2/clock3xxx.c
index 0b02b41..8ab19aa 100644
--- a/arch/arm/mach-omap2/clock3xxx.c
+++ b/arch/arm/mach-omap2/clock3xxx.c
@@ -61,12 +61,19 @@ void __init omap3_clk_lock_dpll5(void)
dpll5_clk = clk_get(NULL, "dpll5_ck");
clk_set_rate(dpll5_clk, DPLL5_FREQ_FOR_USBHOST);
- clk_prepare_enable(dpll5_clk);
diff --git a/arch/arm/mach-omap2/cclock3xxx_data.c b/arch/arm/mach-omap2/cclock3xxx_data.c
index 4579c3c..36d3e66 100644
--- a/arch/arm/mach-omap2/cclock3xxx_data.c
+++ b/arch/arm/mach-omap2/cclock3xxx_data.c
@@ -913,7 +913,31 @@ static struct clk dpll4_m6x2_ck_3630 = {
DEFINE_CLK_FIXED_FACTOR(dpll4_x2_ck, "dpll4_ck", &dpll4_ck, 0x0, 2, 1);
-static struct dpll_data dpll5_dd = {
+static struct dpll_data dpll5_dd;
diff --git a/arch/arm/mach-omap2/cclock3xxx_data.c b/arch/arm/mach-omap2/cclock3xxx_data.c
index 4579c3c..d837d9f 100644
--- a/arch/arm/mach-omap2/cclock3xxx_data.c
+++ b/arch/arm/mach-omap2/cclock3xxx_data.c
@@ -250,7 +250,9 @@ static struct dpll_data dpll1_dd = {
static struct clk dpll1_ck;
-static const struct clk_ops dpll1_ck_ops = {
+static struct clk_ops dpll1_ck_ops;
#define CONFIG_BOOTCOMMAND \
"gpio set 53; " \
"i2c mw 0x24 1 0x3e; " \
"run findfdt; " \
"mmc dev 0; if mmc rescan ; then " \
"gpio set 54; " \
"setenv mmcdev 0; " \
"echo SD/MMC found on device ${mmcdev}; " \
"if run loadbootenv; then " \
"run importbootenv; " \
From dab9bd5501ce644e33f72648e584f362fedf59dd Mon Sep 17 00:00:00 2001
From: Robert Nelson <[email protected]>
Date: Sat, 4 May 2013 08:19:14 -0500
Subject: [PATCH 14/14] beaglebone: rework CONFIG_BOOTCOMMAND to only boot
from valid uEnv.txt via uenvcmd, using UUID for eMMC
pretty much required..
Signed-off-by: Robert Nelson <[email protected]>
---
include/configs/am335x_evm.h | 39 ++++++++++++++++++++++-----------------