According to the description of GRF_IO_VSEL, the voltage of
VCCIO6(which is the concern of emmc/flash/sfc controller) will
indicate by GPIO0_B6 or io_vsel6. The SOC defaults use GPIO0_B6
to indicate power supply voltage for VCCIO6 by hardware, then
we can switch to io_vsel6 after system power on, and release
GPIO0_B6 for other usage.
Change-Id: I9c8339e357a7328d9ffeb711ba5d0bdd41971101
Signed-off-by: Liang Chen <cl@rock-chips.com>
This defconfig provides a template to generate a minimum u-boot.bin
for eMMC board with some basic features, developer can enable more
features base on it. If developer want to get a even smaller
u-boot.bin, try to drop them accordding to board requirement:
- Remove Power(about 15KB):
# CONFIG_DM_PMIC is not set
# CONFIG_DM_REGULATOR is not set
# CONFIG_DM_REGULATOR_FIXED is not set
# CONFIG_DM_PWM is not set
# CONFIG_DM_I2C is not set
- Remove USB(about 55KB):
# CONFIG_USB is not set
# CONFIG_PHY_ROCKCHIP_NANENG_USB2 is not set
- The USB is not available and U-Boot fallbacks to bootrom download
mode by menu key pressed.
- Remove Command-interface(about 33KB):
# CONFIG_CMDLINE is not set
CONFIG_U_BOOT_CMD_ALWAYS=y
- Only the command with U_BOOT_CMD_ALWAYS() delcared is available.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I2ec124bc1014ed3627aec3e7b5f6545d2670eff4
The propery is brought by CONFIG_OF_U_BOOT_REMOVE_PROPS
required from GMAC.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ib85ec0678a0a0404eb4cda5974c52076bf0a1e37
It's possible that USB is disabled due to developer needs
a critial size of u-boot.bin.
Disabling USB makes vbus can't be detected any more, so that
we add menu key and the events trigger are changed:
- rockusb mode(fallback to bootrom mode):
"recovery key pressed + vbus=1" => "menu key pressed"
- recovery mode:
"recovery key pressed + vbus=0" => "recovery key pressed"
At the most time, USB is enabled and this feature is not applied.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I9da8f17987742cea3267dbb35ee88d57a00c578a
1.add DECOM_AXI_STAT to test decompress whether is in idle
2.correct the misc_decompress_is_complete return value
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Signed-off-by: Simon Xue <xxm@rock-chips.com>
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I904d9909ade709fb479893325dd6c0b3d47d5908
vop full need to do rb swap when deal with rgb888/bgr888;
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I60fac72b21720fcf4f406c56fe7d9dc21ebf7635
They are basic commands even in critical cost down version
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I0ad56056133226c25cbcfb70e54d519eb7582341
Rename CONSOLE_SERIAL_SKIP_INIT to DEBUG_UART_ALWAYS_MODE for
easy understand.
Select this to always use debug UART, skip complicated
console UART register.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I3c265840bde015fe5fd7c73d959ba0538297b7c2
Some configurations was changed, let's update defconfig.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I70c977a7e2256732f9e6e1c68bf3f469366fbf71
This function prepares to read data without confirming completed.
We can use it to prefetch data and run other process.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I76116c25dfdb7559b80a0216c414189e85409a3e
1.support GPT partition
2.support a/b system
3.enlarge the CONFIG_SYS_MALLOC_F_LEN for GPT partition
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I8ff0c0327c3f9e5ab68dc1b405503dcfc70ee0ec
1.Check map table block address overflow
2.Reinit map table original value
Change-Id: I4450b5a6856e38e2624da9db31d5eb98de7f5696
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
command: ./make.sh --no-uboot.
Providing empty file for mcu or U-Boot image if it's
not required.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I48650f6cc0bbcc9ed111fee0354ccafe4f6c1773
"--uboot" => "--uboot-itb";
"--boot" => "--boot-itb".
In order to distinguish with "--no-uboot".
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I4d1e1a3f88619fb728165764af52ca58665a5e89
since kernel set rk312x win1 to show kernel logo, so here sync with
kernel config.
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I3ed562526cd6f61359bef1567c7f2ea57149435d
1.support boot kernel by spl
2.rename the defconfig
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Ia2691e6ff612b10e6c68a67917163c0385ac0e13
We are using DRAM offset 0~0x40000 as SPL text size, Note that BSS,
STACK and MALLOC may using separate space.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: I19b5f868e8a596a627011ad127a9d34837a6c1b6