This patch add auto parse the compress format of kernel image.
Then decompress the compressed kernel image for arm64, as for
arm32 zImage, we only need to load it to a higher memory, then
the kernel will handle the decompress itself.
Test on RK3308 AARCH64 mode (Cortex A35 816 MHZ) boot with eMMC:
------------------------------------------------------------------
Format | Size(Byte) | Ratio | Decomp time(ms) | Boot time(ms) |
-------------------------------------------------------------------
Image | 7720968 | | | 488 |
-------------------------------------------------------------------
Image.lz4 | 4119448 | 53% | 59 | 455 |
-------------------------------------------------------------------
Image.lzo | 3858322 | 49% | 141 | 536 |
-------------------------------------------------------------------
Image.gz | 3529108 | 45% | 222 | 609 |
-------------------------------------------------------------------
Image.bz2 | 3295914 | 42% | 2940 | |
-------------------------------------------------------------------
Image.lzma| 2683750 | 34% | | |
-------------------------------------------------------------------
Note: the boot time is counted from first ddr init log to first Kernel log.
Change-Id: I73b12ec944fbc8238b0e061a37e2f31aa3093231
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
CONFIG_OPTEE_ALWAYS_USE_SECURITY_PARTITION is support
for OPTEE_V1
Change-Id: Ic83d06a08a1d409905dcc61e0f7346ab23261b0c
Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
1.Remove cashe write
2.Remark power off lost page
Change-Id: I6cdeb0f5b2d40e1c00d4cdd7f2260bf869c0e7a8
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
hdmi without panel, so we must confirm panel->func
and panel_data->panel isn't NULL.
Change-Id: I87abec5d04e26bdab4cb643f7ed5757f3e31c918
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
1.In ftl_write, if last few sectors are smaller than one page, them'll
be cached, and join with next ftl ops. When download image in loader
mode, them wont be download to flash when power off in some cases, and
it's unacceptable.
Change-Id: I2375a6be8b1fa5b41dfdc962d2c3824d92ba25ef
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
u-boot.itb will use the same position as uboot.img
Change-Id: I839c947a0221d347e5810d1fc8bbae655aba429b
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
if you want to enable display at uboot you need to set
the following node status to okay:
1. display_subsystem
2. route_rgb
3. vop
4. rgb
5. backlight
6. pwm1[depend on your hardware]
7. panel[update timing and init cmd]
Change-Id: I18b8857d49350ee870522599c9986d749b51bca0
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
the mcu screen need send init command through crtc, so we add
the function display_send_mcu_cmd() from panel to crtc.
Change-Id: Ide4a6043dff0a7b0040bf62b1aa1814f3c365235
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
npll is for dclk, add PLL_LIMIT_FREQ for better jitter.
Change-Id: I6ac09e9bdbd1bef0eddb37835100be782b772d54
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
Change-Id: I4773ec9983f2b4302832ad78671168b6529b1ac2
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
this makes sure fw_printenv works normally on most
platforms without care about C library.
Change-Id: If3b942d2fadb293eeeb00695a10b708847a827ad
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
When enable debug option to compile, it will give the
following error, this patch is used to get rid of it.
error: ‘flags’ is used uninitialized in this function [-Werror=uninitialized]
Change-Id: Iba4cd59ab28eb7a48490e45842541f0418239e17
Signed-off-by: William Wu <william.wu@rock-chips.com>
Whit kernel dtb support, we need to get rk3288 dwc2 otg
node by compatible "rockchip,rk3288_usb20_otg" rather than
"snps,dwc2", because rk3288 dwc2 otg uses rockchip legacy
dwc2 driver "dwc_otg_310".
Change-Id: Ib7b536e554776f1dd09d34d0a2ac1754df9c753e
Signed-off-by: William Wu <william.wu@rock-chips.com>
provide ignore option to filter unused key words from a
list of new string which is ready to be appended.
Change-Id: I82d61ee21ec658e73549de42ad94ed259582cb7a
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
no special reason to remove, just to keep the same setting
with rkdevelop which is stable.
Change-Id: I3fe810d7080e29525cdf24c4475b0acb5380a9c5
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
1. add this property to compabile legacy pwm regulator driver
on rkdevelop;
2. give default init voltage 1.1v;
Change-Id: I7b1f989c28d91edd6e467ae1ba94299c6d695afb
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Set detect mmc 1 and rkimgtest mmc 1 at the same
level. If not, the devtype will be set as default
when run rkimgtest mmc 1 fail but not scan other
storge devices.
Change-Id: I971ea5a8e70f17641483f00b8d467ac5757ca533
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
The GAS_GUAGE_Q_INIT was written to the wrong value causing the fuel gauge to fail.
Change-Id: Idbafc110deef6f6ce93dac9a0ad81974d1f112a9
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
1. use 'NA' to indicate not unsed or not exist configure;
2. there is not configure register for ldo, so define it as NA;
Change-Id: Ic87e5c9fe6128c14a47a306a8726c487d5b96664
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
mainly for rk3399 ini files:
RK3399MINIALL.ini
RK3399MINIALL_SPINOR.ini
Change-Id: I025c98c2cb0a4e8d6070efe1999797c90b113036
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
regulator_show() is used as an debug way, so its verbose
message should be detail enough, this helps a lot.
Change-Id: Iabe5fc65e8b6ff27b9c92bc3f0b6948e1013a9c8
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
suspend configure result should not influence normal configure
Change-Id: I7107ad5f3303d1f1456ada5949deced5fa8e4ec2
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
this is a initial version porting from rkdevelop
commit: 64f6c0e.
Change-Id: Iadc46282e0782d0cd985cb0ee9d317cb5d94f41e
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>