This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config/functions b/config/functions | |
index 502d63b21eba..d40f339a51df 100644 | |
--- a/config/functions | |
+++ b/config/functions | |
@@ -383,47 +383,9 @@ setup_toolchain() { | |
export MAKEFLAGS | |
case "$1:$2" in | |
- target:meson|init:meson) | |
- export DESTIMAGE="target" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import configparser | |
import binascii | |
import struct | |
import sys | |
signature = b'IMAGEWTY' | |
header_ver = 0x300 | |
header_size = 96 | |
format_ver = 0x100234 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/arch/arm/cpu/armv8/fel_utils.S b/arch/arm/cpu/armv8/fel_utils.S | |
index 9004b3c27aa3..feb206de2b5e 100644 | |
--- a/arch/arm/cpu/armv8/fel_utils.S | |
+++ b/arch/arm/cpu/armv8/fel_utils.S | |
@@ -69,6 +69,16 @@ fel_stash_addr: // must immediately precede back_in_32: | |
/* AArch32 code to restore the state from fel_stash and return back to FEL. */ | |
back_in_32: | |
.word 0xe51f000c // ldr r0, [pc, #-12] ; load fel_stash address | |
+ | |
+ .word 0xe10f2000 // mrs r2,cpsr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/arch/arm/mach-sunxi/dram_sun50i_h616.c b/arch/arm/mach-sunxi/dram_sun50i_h616.c | |
index 37c139e0eea5..d19812c6e3f1 100644 | |
--- a/arch/arm/mach-sunxi/dram_sun50i_h616.c | |
+++ b/arch/arm/mach-sunxi/dram_sun50i_h616.c | |
@@ -1318,31 +1318,72 @@ static void mctl_auto_detect_rank_width(const struct dram_para *para, | |
panic("This DRAM setup is currently not supported.\n"); | |
} | |
+static bool compare_mem(ulong offset) | |
+{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <string.h> | |
struct dram_para { | |
uint32_t clk; | |
uint32_t type; | |
uint32_t dx_odt; | |
uint32_t dx_dri; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setenv machid 1029 | |
setenv bootm_boot_mode sec | |
setenv bootargs console=ttyS0,115200 boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 consoleblank=0 no_console_suspend ignore_loglevel | |
fatload mmc 0 0x43000000 script.bin | |
fatload mmc 0 0x42000000 KERNEL | |
bootm 0x42000000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rmmod bcmdhd | |
modprobe bcmdhd nvram_path=/lib/firmware/brcm/nvram_ap6210.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[mmc2_para] | |
sdc_used = 1 | |
sdc_detmode = 1 | |
sdc_buswidth = 8 | |
sdc_clk = port:PC05<3><1><2><default> | |
sdc_cmd = port:PC06<3><1><2><default> | |
sdc_d0 = port:PC08<3><1><2><default> | |
sdc_d1 = port:PC09<3><1><2><default> | |
sdc_d2 = port:PC10<3><1><2><default> | |
sdc_d3 = port:PC11<3><1><2><default> |