Age | Commit message (Collapse) | Author | Files | Lines |
|
Add enable/disable_delay environmenet.
This is to check a booting time without log message and bootdelay.
To disable log mssage and bootdelay
- run disable_delay
To enable log message and bootdelay
- run enable_delay
Change-Id: I5da4a7dda48f71e4d35d33d998695b05438f6063
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
In some case, it's resetting to normal mode from download mode.
So it's always running as ramdisk boot mode.
To fix above issue, Set to slot_a by default when run tfm.
"run tfm" means that user tries to flahs entire image.
So it doesn't need that it enters to slot_b mode.
To prevent the overwrite, change the loading address to 0x02500000.
Because scriptaddr is using 0x02400000.
Change-Id: Iad0791484fb30d08d4584763088b80ad05979df1
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Upgrade type (online or offline) is set by HAL API.
Depending on the type selected during bootmode=FOTA ramdisk (online) or
ramdisk-recovery (offline) will be picked as boot partition.
Change-Id: Ifb7372b0da9a3df83bbf7a979fdb4035feade8ee
|
|
Update RPi4 boot script to match the one developed recently for
LicheePi4A/VF2. This improves the following things:
- switch to generic devtype/devnum envs like for typical distro_boot case
- correctly load script and kernel from boot_b
- root= kernel parameter is correctly set for partitions up to 19th
- reordered some operations and added more comments
- tested A/B booting
- tested booting from legacy MBR based layout
- tested USB booting
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: If038c93db7fc7f8a6f009e5dd43ae74286a6edb2
|
|
u-boot for RPi4 never used SPL, so drop these SPL-related defines inherited
from the old RPi3 and OpTEE code.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I00c3dc221f2b9b8df789e936aa6d3a936b65ffcf
|
|
Tizen use GPT partition layout, so there is no point keeping MBR support.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I5059df0261f17b42fb07e1504d99dc2db3507b0b
|
|
Update VF2 boot script to match the one developped recently for
LicheePi4A. This improves the following things:
- partitions are discovered by GPT name, not by hardcoded number
- root= kernel parameter is correctly set for partitions up to 19th
- switch to generic devtype/devnum envs like for typical distro_boot case
- reordered some operations and added more comments
- tested A/B booting
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I038f42c8b4f1133798b8d8c8e2f89955b717ca9d
|
|
This reverts commit f398a318d7d49bf21055f9b5f4bc40d6ccedd1ec.
AoT partitoin is not used by default. So it doesn't need to add
container partiton in GPT_PARTS_DEFAULT.
Change-Id: Ia63c0f52b5fc347623ff1d23d15b1538882bd70f
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Add container partition in GPT_PARTS_DEFAULT and DFU_ALT_SYSTEM.
Change-Id: I7f19453d84ee8f295be41c903f778a0dbee064f7
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Remove the duplicated defined ENV_SETTING.
It's caused by not created correct 0-format.cmd file.
Change-Id: Ia5df7c8c3840368f5c952c29caf3dbe00d28b6bf
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Compile in bootcmd and other scripts previously in uEnv.txt
The default value of bootcmd environment variable cannot be overriden
in platform specific header files. It needs to be set in .config.
Change-Id: I1c5430895911fc9a499f79a6e9575ed2ad4e833f
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Rename, reorganize and use the default envitonment settings in the header
file for both VisionFive2 and QEMU targets.
Change-Id: Ic6ab2c5b2dc146d232a54eab6727afce845c1353
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
The script shall be used in QEMU with virtio storage, so we better rename
variables to avoid confusion.
Change-Id: I17c32390b19287113d78ac9e95c45d5d6590ae04
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
|
|
Remove the including lcd header.
lcd header was removed since v2023.01.
Change-Id: I47121000f1c23d00832a255c57c8ecd326ed9b5d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Change loglevel from 4 to 7.
Because Visionfive2 is developing now, it needs to check debug message.
If it's more stable than now, it will be changed to 4 again.
Change-Id: I8d94058d954e61273e8a1481b1b71f5d67459965
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
starfive-visionfive2 header
Add tizen environment into starfive-visionfive2 haeder.
Tizen specific environment value will be added in
include/samsung/tizen_visionfvie2.h
Change-Id: I142780cf59f35f909d49f90fcb243420e61750e5
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Add tizen_visionfive2 header file to use tizen speicific environments.
Change-Id: Ideb153007d7351ecc5e4ddffade424f1d2f253db
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Add bootargs required for hdmi operation. Adding this bootargs can
solve the FHD timeout issue with rpi4 hdmi-0.
Change-Id: Ic438198c68fdbb6665b27ce0333f085bec792a1c
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
|
|
Move CONFIG_TIZEN into Kconfig.
When new config is added, it has to be in Kconfig.
Change-Id: Idaef847edc2bb87907d80dfdd16d622a0c5c27b6
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Move CONFIG_SYS_MEM_TOP_HIDE to defconfig.
Change-Id: I99de23e4019d3a2fb5280d155e2c6119d930e9e7
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Update the missed configurations.
After version is updated, some configurations has to be defined in
defconfig.
Change-Id: I992ba76585f6075d3c213c04ebbef1134b200f4c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Increase ramdisk size from 8M to 32M.
Change-Id: Ie36d169d0e815ce6a0a0b671de80a6616b9af73c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Remove unnecessary line change.
Change-Id: I91ab784a1e46d0145ff511b4f1012a23eeb5022d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Add the reboot_param_clear to clear the reboot parameter.
If there is no method to clear reboot parameter, it can be enterred to some
mode infinitely.
Change-Id: I6edbe2d4d989e172fa7bc6f032b5e627e540637a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Change a name from recovery_a/b to ramdisk-recovery_a/b.
Change-Id: I36593eccf4e4e33989365a180951434d37599c75
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Add new partition information files.
- partition-ab-cloned.info
- upgrade-status.info
- partition-param.bin -> paritition-ab.info
Change-Id: I7ad94d1f30fd01fd4e3e9ee9948e0a266dd8a5aa
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
modules_a/b is typo.
Change a correct name from modules_a/b to module_a/b.
Change-Id: I61a0e461598b48a3c494b569302bf4e8e9b366ac
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Add update_gpt_part uboot variable.
If wants to change a partition from mbr to gpt, run the below command on
u-boot console.
- run update_gpt_part
NOTE: This is for only RPi4.
Change-Id: Idd46ce313f8c28b9b04f7f8c7190ee1aed51d6f0
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Add a gpt partition list to verify or write about gpt.
Change-Id: Ie56076ee91316499829fc6be125dd93510e01e0b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Add a set_to_part_a/b uboot env.
If wants to change to part_a or part_b, run the below command on u-boot
console.
e.g) "run set_to_part_a" or "run set_to_part_b"
Change-Id: I639aea2809f08382ade115d6718fa63d3931c35a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Support A/B boot on RPi4.
It has to be partition-param.bin file to distinguish with
a/b in inform partition. Then bootscript can be parsing its value.
partition-param.bin can be changed to other name.
But it has to change also slotfile of uboot's environment as same value.
Change-Id: I143b9485117a0f10ed3d427a1f3f15b4a86ffd43
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Add a partition_ab bootargs and set to "a" by default.
Change-Id: Ief593f3b35efdda1170f2c35403a340f93dbfaf9
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Add CONFIG_DFU_NAME_MAX_SIZE to change the proper size.
If name is longer than default size, it can do wrong behavior during updating
image. So it need to change the proper maximum size.
This patch is proviced the solution to change value with configuration.
Change-Id: I5c371eb749954b5cb699c04347d40d31fcf4a7d5
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
To print a line without linefeed character now one has to use '-n'
parameter instead of the custom '\c' string used in older uboot releases.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
|
|
Change a hal partition size in mbr_check.
It doesn't affect to check a real size, but it needs to share correct
information.
Change-Id: Iaa792f38c8fde924f6ad1179ed5949f1a2de0885
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Fix wrong dfu_info without ";".
Change-Id: Iefbb1ffb43ee10e17977935e16618f7fc353f34d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Adjust file paths of board runtime detection for specific Tizen usage.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
|
|
Add support for optional mainline Linux kernel and DTBs. This requires
adjusting DTB file nameand console kernel cmdline parameters.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I977ec72596ddded6ed961ce0709ab40612682168
|
|
Switch OdroidN2 board to use meson64_odroidn2.dtb. For Tizen, the DRM
subsystem is enabled for the all Amlogic boards, so there is no need to
have separate dtb with the DRM enabled for OdroidN2 board.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ie44445f950c8ffe1663ce8997dc5b15c7e0aaf79
|
|
Show proper button name while checking THOR download mode and change
'reboot' to 'reboot reason' to make it clear what it is being checked.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I543b020ea3a9ae3459f7a57d07db410945f45676
|
|
Use the 'reserved1' (64M) partition for the Tizen HAL partition image and
adjust the name of the remaining reserved partitions.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ieb879e48d55e7c25b3cf29bbd522cab22162ccbf
|
|
Verify if the MBR partition layout on SD card matches the one defined in
the bootloader.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I7c296a4f64e294a9dc510e0a248e83375bacf9cb
|
|
Remove no longer used 'u-boot.img' and 'optee.bin' images from the 'boot'
partition and dfu_alt_info image list.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Iaecb24070f80bb8860dc7c1faebff2cf6b2d1581
|
|
The data layout on the storage device is the same all the time for RPi3/4
boards and fully known during the compile time. Use this simple approach,
which is a bit more error proof for future changes. It also obsoletes the
custom code added to RPi boards.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I8f7211cdde50701418464419b774aeecc795efa1
|
|
Enable recently added 'mbr' command and define MBR partition table layout
based on the values from the current sd_fusing_rpi3.sh script.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I25e44f10365f95624cf6b85e09962671cf0c12c0
|
|
Increase system-data size from 512M to 1.3G.
Change-Id: I39398a900260eca7fd96d232ea95dc348a593804
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
When 32bit kernel is booting, kernel is reserving memory for SWIOTLB about
64MB. It seems that doesn't need to use full size.
After set 'swiotlb=8192', SWIOTLB is reserved to 16MB.
Then it can save 48MB memory to use ZONE_DMA.
Change-Id: I1a1659cbff2120da755b14f1b373715bc10027c4
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Fix build error about not defined BUTTON_LABEL.
Change-Id: Ifdc916c56c82aaac129ca764d8d501f4c0edcb26
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Add button_label variable to clarify button about each boards.
- KVIM3(L) : Function
- Odroid-C4 : PowerKey
Change-Id: I7580cce0c580df14debbe40c48a70f5b6aa532bd
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|
|
Move bootscripts from board/raspberrypi/rpi to tizen/bootscript/.
And combine to one script, because those are duplicated almost codes.
Change-Id: I2ee929bbcd6cb68566d441a272a1ba3d84beb100
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
|