Commit Graph

24 Commits

Author SHA1 Message Date
Zhihuan He bccbe93430 configs: rk3308: add tpl support
Change-Id: Idd2b4f087d8d281edb750c6e65ac325b2729cd46
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
2020-11-18 10:19:08 +08:00
Maxime Ripard 473221da5a UPSTREAM: usb: gadget: Make g_dnl USB settings common
The g_dnl USB settings for the vendor ID, product ID and manufacturer are
actually common settings that can and should be shared by all the gadgets.

Make them common by renaming them, and convert all the users.

Conflicts:
	configs/cgtqmx6eval_defconfig
	configs/dms-ba16-1g_defconfig
	configs/evb-rk3036_defconfig
	configs/evb-rk3229_defconfig
	configs/evb-rv1108_defconfig
	configs/fennec-rk3288_defconfig
	configs/stih410-b2260_defconfig

Change-Id: Ib855d37af9f539ef794a2519c75c027e67bd091c
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit a95aee6af70d8815547b81329125f2800c8ee37c)
2020-01-07 17:24:45 +08:00
Joseph Chen 48f2fe23c2 configs: rk3308: increase CONFIG_SYS_MALLOC_F_LEN
Make sure there is enough memory when more nodes are
enabled in u-boot.dtb.

Change-Id: Ieb204daa41c04035b86064962569b08152375124
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-11-11 17:00:57 +08:00
Andy Yan f84e81c7ce rockchip: configs: enable usb host for rk3308 evb
Enable usb host and ums cmd.

Change-Id: Iaed75bffc7156620b1b523ebf4ffc077c1bdf939
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2019-09-26 14:13:57 +08:00
Joseph Chen 176ca18992 configs: rk3308: enable stack relocate
Clean up defconfig by make savedefconfig.

Change-Id: I8e70413fce92bfa14bf6c12902f09f4b405800f7
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-06-17 17:51:55 +08:00
Andy Yan 3e15af6d1a rockchip: rk3308: enable spl relocation
Relocate spl to a high address(48M + 4KB) to avoid
overlap wit ATF.

Change-Id: Iae767d7e5b18b24872d2a6975ef25b2146f05095
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2019-06-14 10:30:16 +08:00
Andy Yan 4f2858296b rockchip: rk3308: Enable SPL loading U-Boot as a FIT
Change-Id: Ide8f42aeb5ba9fd80bb66540d9e39cd04b04f9e0
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2019-06-14 10:30:11 +08:00
Andy Yan 951488b02b rockchip: rk3308: enable spl build
As rk3308 is a aarch64 based soc, we only let
it run spl on aarch64 excution state. But for
u-boot stage, it may run on aarch32 or aarch64
state.

Change-Id: I592375aef19a35f10555f7c5b991445cf02c4543
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2019-06-14 10:30:07 +08:00
David Wu c4ff7367d6 config: evb-rk3308: Enable GMAC config
Change-Id: I6884fbce580e677981daa142e611248e38ef4952
Signed-off-by: David Wu <david.wu@rock-chips.com>
2019-04-09 11:09:22 +08:00
Joseph Chen 547a235e37 configs: rk3308(aarch32/64): remove unused modules
Change-Id: I6c9243a7a18b108442e8cf7e5ea298c7770c9a08
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-01-23 21:16:36 +08:00
Joseph Chen d20b913d83 configs: evb-rk3308(aarch64/32): enable console info quiet
Change-Id: I94971b83a13b4b8bbd86d6e5b253951a45a44d7a
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2019-01-10 16:02:46 +08:00
Joseph Chen c3385ddc3f configs: evb-rk3308: remove unused modules
This patch decreases u-boot.bin size: 594Kb => 542Kb

Change-Id: I292362fca6be8fd308eae864483c6890df61ad42
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2018-12-04 15:11:28 +08:00
Zhihuan He 6f3de9de6f rockchip: configs: evb-rk3308: remove TPL_SYS_MALLOC_F_LEN and UART_ANNOUNCE
TPL do not need CONFIG_TPL_SYS_MALLOC_F_LEN to reserve early malloc area.
U-boot, u-boot-spl and u-boot-tpl do not want to print "<debug_uart>" in
debug_uart_init() function, so remove CONFIG_DEBUG_UART_ANNOUNCE.

Change-Id: I30527bef4958655538f8aa62c1ceb51f485fb245
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>
2018-09-10 11:18:13 +08:00
Dingqiang Lin bd0eec9530 configs: rockchip: rk3308: enable rockchip vendor partition config
Change-Id: Ib884f96b997c8931063cf3d766fabb64f4eeb131
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
2018-08-16 10:18:39 +08:00
Andy Yan 93cbd3c1e3 rockchip: rk3308: don't pass device serial number to kernel
We want to generate the devices serail number from
linux kernel itself.

Change-Id: Idfc8461a703e314a626013a3ecb622069d2fd3db
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2018-08-09 10:53:36 +08:00
Andy Yan 0958c00c07 rockchip: rk3308: enable lzo/lz4/gzip compressed kernel image
Change-Id: Ic44218ddf2ee8a993b4530cad04d712d6aecfccc
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2018-07-14 11:52:45 +08:00
Dingqiang Lin b88d7442a3 rockchip: configs: rk3308: change to sftl and enable sfc devices
Change-Id: I7d835f10d65aed321d578bf93486cee62f37d07a
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
2018-07-12 10:23:21 +08:00
zain wang 8646e32698 evb-rk3308_defconfig: support android boot image
Change-Id: I28d163bba0920110c7c85d59ba8ac86a84c77431
Signed-off-by: zain wang <wzz@rock-chips.com>
2018-05-08 11:36:13 +08:00
Andy Yan 164fdd0d48 configs: rockchip: rk3308: disable RKPARM_PARTITION
We use GPT partition on rk3308 platform.

Change-Id: Ic359016cd9181b574d45a2bc6953a09134a2497e
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2018-04-16 17:04:42 +08:00
Andy Yan d6a621c7b2 rockchip: rk3308: disable display mode
Commit 5c651246bb ("drm/rockchip: vop: add support rk3308 vop")
will crash u-boot on 64M DRAM system. So we should disable this module
before it give a better solution.

U-Boot 2017.09-01464-gc9fcc18-dirty (Apr 11 2018 - 09:44:54 +0800)

Model: Rockchip RK3308 EVB
DRAM:  "Synchronous Abort" handler, esr 0x96000040
ELR:     2529d0
LR:      20fe80
x0 : ffffffffffe36f58 x1 : 0000000000000000
x2 : 00000000000000a8 x3 : 0000000000000000
x4 : 0000000000000000 x5 : 0000000000000015
x6 : 00000000000000a8 x7 : 0000000000000044
x8 : 0000000000003eb4 x9 : 0000000000000000
x10: 00000000002fdc5c x11: 0000000000284e50
x12: 0000000000001e18 x13: 00000000002fdb1c
x14: 0000000000284e50 x15: 00000000002fdddc
x16: 0000000000000000 x17: 0000000000000000
x18: 00000000002fde80 x19: 000000000025ae28
x20: 000000000025ad50 x21: 0000000000000000
x22: 0000000000000000 x23: 0000000000000000
x24: 0000000000000000 x25: 0000000000000000
x26: 0000000000000000 x27: 0000000000000000
x28: 0000000000000000 x29: 00000000002fde30

Resetting CPU ...

Change-Id: I2265c6fec08246978201de837adb85c74424d1c8
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2018-04-12 10:55:16 +08:00
Dingqiang Lin c64990bc27 rockchip: configs: evb-rk3308: enable nand driver
Change-Id: I05e3ae1a0824119d0d389ab4322e389d8efea0d1
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
2018-04-11 09:55:05 +08:00
Sandy Huang 5c651246bb drm/rockchip: vop: add support rk3308 vop
Change-Id: I067ac3f95163dd678317a11ffad7a7d85225c9ee
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2018-04-08 14:32:56 +08:00
Andy Yan 5a6ccfef5b configs: rockchip: disable fastboot for rk3308 evb
Change-Id: Ic393febc7a12d7b3a304a1ffd2437f47737e8d45
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2018-03-26 09:31:00 +08:00
Andy Yan c1e43163e9 board: rockchip: add rk3308 evb support
Add basic support for rk3308 evb.

Change-Id: I35aecc6747c222327a12b7583f84f971ab253fa3
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2018-03-22 08:55:19 +08:00