Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions configs/miyoo_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CONFIG_ARM=y
CONFIG_ARCH_SUNXI=y
CONFIG_SYS_TEXT_BASE=0x81700000
CONFIG_SPL=y
CONFIG_IDENT_STRING="Miyoo CFW 2.0"
CONFIG_IDENT_STRING=" MiyooCFW 2.0"
CONFIG_MACH_SUNIV=y
CONFIG_DRAM_CLK=174
CONFIG_DRAM_ZQ=0
Expand All @@ -12,7 +12,7 @@ CONFIG_SPL_SPI_SUNXI=y
CONFIG_BOOTDELAY=0
CONFIG_USE_BOOTARGS=y
CONFIG_BOOTARGS="console=tty0 console=ttyS1,115200 panic=5 rootwait quiet lpj=1015808 root=/dev/mmcblk0p2 ro"
CONFIG_BOOTCOMMAND="env export -t 0x81000000; fatwrite mmc 0:1 0x81000000 uEnv.txt ${filesize}; run distro_bootcmd;"
CONFIG_BOOTCOMMAND="env export -t 0x81700000; fatwrite mmc 0:1 0x81700000 uEnv.txt ${filesize}; run distro_bootcmd;"
CONFIG_DISABLE_CONSOLE=y
CONFIG_SILENT_CONSOLE=y
# CONFIG_DISPLAY_CPUINFO is not set
Expand Down
4 changes: 2 additions & 2 deletions drivers/video/sunxi/sunxi_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ static uint8_t readID(void) {
uint32_t x, ver[4], tmp[4];

//Get configuration from SD
run_command("fatload mmc 0:1 0x81000000 console.cfg", 0);
run_command("env import -tr 0x81000000 0x20000", 0);
run_command("fatload mmc 0:1 0x81700000 console.cfg", 0);
run_command("env import -tr 0x81700000 0x20000", 0);
console_variant = env_get("CONSOLE_VARIANT");

// force configuration from SD in console.cfg
Expand Down