- ctrl+b: enter bootrom download mode, ('b': bootrom);
- ctrl+d: enter rockusb download mode; ('d': default download, ie. rockusb);
This patch provides convenience for download when rockusb/recovery-key is
absent or not work, or U-Boot early panic.
Change-Id: I7709183c645400f60af3d480f84f6e6887ddc20e
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
It fixes the dead loop issue of "bootrkp" command:
......
=Booting Rockchip format image=
boot: invalid image tag(0x0)
boot_rockchip_image ramdisk part boot read error
bad resource image magic:
DTB: rk-kernel.dtb
invalid entry tag
invalid entry tag
invalid entry tag
invalid entry tag
......
Change-Id: Ia15f315eee94dce06800139ff547ebeee3847cae
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Without this patch, the irq context get the irq_lr and irq_sp
which doesn't make any sense, what we need are svc_lr and svc_sp.
Change-Id: I4c07e3688e818cd4516824a78d57ff092fdbe2b9
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Currently, usb 2.0 otg node was found by the compatible
"snps,dwc2" and the property "dr_mode". However, the
"dr_mode" isn't a necessary condition, more seriously,
if the dr_mode is set to "host" or "peripheral", we
will fail to get the otg node.
This patch finds otg node by the compatible "snps,dwc2"
for most of Rockchip SoCs supported only one DWC2 controller.
For RK3288, it supports two DWC2 controllers with the
same compatible "snps,dwc2", so we add another condition
(reg addr = 0xff580000) to get the otg node.
Change-Id: I16acbf3e8da9bec19b8ec0a331b9114cb5462ac0
Signed-off-by: William Wu <william.wu@rock-chips.com>
Add the phy regulator supply for rv1108-evb, and fix the
configuration of clock_in_out.
But the phy will init failed because the phy-reset pin is
the same as the mipi data pin.
Change-Id: I14b0accd083742ca6eb4ae6bec1139ef5ba65db0
Signed-off-by: David Wu <david.wu@rock-chips.com>
Add the SCLK_EMMC_DRV and SCLK_EMMC_SAMPLE to clocks.
Change-Id: I3c633bd973bb1f5cafb98a295ded6cfae704382d
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
sysmem avoids memory block overlap with each other.
Change-Id: I0013c3d05c69e19286cf1c76f936a17eaab1db49
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
clean up code and add comment for other interfaces.
Change-Id: Ibc64978d8db595c4fe76432faca77cdad9c949e6
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
sysmem provides a mechanism to avoid memory block overlap with
each other.
Change-Id: I84796f4fd5b06283ca23e0ec9da9d0421701a957
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
using param_parse_atf_mem() and param_parse_optee_mem().
Change-Id: I0d42f80ea4bac61efdc38a0be97c3f416ce90622
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
parse: atf/optee/bootdev and common reserved memory.
Change-Id: I829eb42370b217e567cdafe03de4dab6063aa251
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
RK3288 sram size can be used for TPL is 32768
Change-Id: I1b0ae5209d97f59b53349f6787439090539a5ac0
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Currently RV1108 run in 1.2G GPLL.
NANDC need 1200 / 8 div = 150MHz.
SFC need 1200 / 12 div = 100MHz.
Change-Id: Ia3f401b0cf13587209d0d68d76a9891dd3bcf990
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
The usb vbus detection is depend on the usb2 phy driver.
This patch fix the usb vbus detection issue if there is
no valid kernel dtb, and make rockusb to enter download
mode successfully.
Change-Id: Icf86cfaf67e20f2368370eb2aedc4fa9d5777c50
Signed-off-by: William Wu <william.wu@rock-chips.com>
This patch increase the qos priority of perilp_nsp from
2 to 3 for USB 3.0 controllers.
Change-Id: I813f9190cc894ac15452686aa68d187200be3888
Signed-off-by: William Wu <william.wu@rock-chips.com>
rockchip_u2phy_vbus_detect() may return negative number when driver
not implemented, only positive number means vbus available.
Change-Id: I06e9b36c7bbcdbb097abe204f4ff0318541ea869
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>