summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2024-03-15Revert "samsung: tizen_rpi: Add container partition in GPT_PARTS_DEFAULT"Jaehoon Chung1-7/+1
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>
2024-01-12samsung: tizen_rpi: Add container partition in GPT_PARTS_DEFAULTJaehoon Chung1-1/+7
Add container partition in GPT_PARTS_DEFAULT and DFU_ALT_SYSTEM. Change-Id: I7f19453d84ee8f295be41c903f778a0dbee064f7 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2024-01-09configs: meson64: Remove the duplicated defined ENV_SETTINGaccepted/tizen/unified/riscv/20240110.052257accepted/tizen/unified/20240110.154144accepted/tizen_unified_riscvJaehoon Chung1-1/+0
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>
2023-10-17samsung: tizen_riscv: add dedicated bootcmd for TizenŁukasz Stelmach1-0/+21
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>
2023-10-17samsung: tizen_riscv: Reorganise environment defaults for RISC-VŁukasz Stelmach3-6/+21
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>
2023-10-17tizen: bootscript: rename environment variablesŁukasz Stelmach1-8/+7
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>
2023-10-17libtizen: Remove the including lcd headerJaehoon Chung1-2/+0
Remove the including lcd header. lcd header was removed since v2023.01. Change-Id: I47121000f1c23d00832a255c57c8ecd326ed9b5d Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-10-17samsung: tizen_visionfive2: Change logevel from 4 to 7Jaehoon Chung1-1/+1
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>
2023-10-17include: starfive-visionfive2: Add tizen environment into ↵Jaehoon Chung1-0/+3
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>
2023-10-17samsung: Add tizen_visionfive2 headerJaehoon Chung1-0/+47
Add tizen_visionfive2 header file to use tizen speicific environments. Change-Id: Ideb153007d7351ecc5e4ddffade424f1d2f253db Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-10-17config: tizen_rpi: Add bootargs for hdmiHoegeun Kwon1-0/+1
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>
2023-10-17tizen: amlogic: move CONFIG_TIZEN into KconfigJaehoon Chung1-2/+0
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>
2023-10-17configs: amlogic: move CONFIG_SYS_MEM_TOP_HIDE to defconfigJaehoon Chung1-2/+0
Move CONFIG_SYS_MEM_TOP_HIDE to defconfig. Change-Id: I99de23e4019d3a2fb5280d155e2c6119d930e9e7 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-10-17configs: tizen_rpi_3/4_defconfig: Update the missed configurationsJaehoon Chung1-2/+0
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>
2023-10-17samsung: tizen_amlogic: increase ramdisk size from 8M to 32MJaehoon Chung1-1/+1
Increase ramdisk size from 8M to 32M. Change-Id: Ie36d169d0e815ce6a0a0b671de80a6616b9af73c Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-10-17scripts: tizen_rpi: remove unnecessary line changeJaehoon Chung1-2/+2
Remove unnecessary line change. Change-Id: I91ab784a1e46d0145ff511b4f1012a23eeb5022d Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-10-17scripts: tizen_rpi: add the reboot_param_clearJaehoon Chung1-0/+7
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>
2023-10-17scripts: sd_fusing_rpi4: change a name from recovery to ramdisk-recoveryJaehoon Chung1-2/+2
Change a name from recovery_a/b to ramdisk-recovery_a/b. Change-Id: I36593eccf4e4e33989365a180951434d37599c75 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-10-17scripts: sd_fusing_rpi4: add new partition information filesJaehoon Chung1-1/+1
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>
2023-10-17scripts: sd_fusing_rpi4: change a name from modules_a/b to module_a/bJaehoon Chung1-2/+2
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>
2023-10-17samsung: tizen_rpi: add update_gpt_part uboot variableJaehoon Chung1-0/+1
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>
2023-10-17samsung: tizen_rpi: add a gpt partition listJaehoon Chung1-0/+24
Add a gpt partition list to verify or write about gpt. Change-Id: Ie56076ee91316499829fc6be125dd93510e01e0b Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-10-17samsung: tizen_rpi: add a set_to_part_a/b uboot envJaehoon Chung1-0/+18
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>
2023-10-17tizen: rpi4: support A/B boot on PRi4 targetJaehoon Chung1-1/+4
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>
2023-10-17tizen: rpi: add a partition_ab bootargsJaehoon Chung1-1/+1
Add a partition_ab bootargs and set to "a" by default. Change-Id: Ief593f3b35efdda1170f2c35403a340f93dbfaf9 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-10-17dfu: add CONFIG_DFU_NAME_MAX_SIZE configurationJaehoon Chung1-1/+1
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>
2023-10-17tizen: amlogic: adjust echo parameters after v2021.10 rebaseMarek Szyprowski1-1/+1
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>
2023-10-17samsung: tizen_rpi: change a hal partition size in mbr_checkJaehoon Chung1-1/+1
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>
2023-10-17samsung: tizen_amlogic: fix wrong dfu_infoJaehoon Chung1-1/+1
Fix wrong dfu_info without ";". Change-Id: Iefbb1ffb43ee10e17977935e16618f7fc353f34d Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-10-17board: amlogic: odroid: adjust runtime detection for TizenMarek Szyprowski1-0/+4
Adjust file paths of board runtime detection for specific Tizen usage. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
2023-10-17samsung: tizen_amlogic: add support for optional mainline kernel bootMarek Szyprowski1-0/+9
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
2023-10-17samsung: tizen_amlogic: Use only meson64_odroidn2.dtb for OdroidN2 boardsMarek Szyprowski1-2/+1
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
2023-10-17samsung: tizen_amlogic: improve messages on bootMarek Szyprowski1-2/+2
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
2023-10-17samsung: tizen_amlogic: use 'reserved1' partition for HALMarek Szyprowski1-3/+5
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
2023-10-17samsung: tizen_rpi: check MBR partition layout from prebootMarek Szyprowski1-0/+10
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
2023-10-17samsung: tizen_rpi: remove support for the obsolete filesMarek Szyprowski1-2/+0
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
2023-10-17samsung: tizen_rpi: make 'dfu_alt_info' staticMarek Szyprowski2-32/+3
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
2023-10-17samsung: tizen_rpi: add support for the MBR commandMarek Szyprowski1-1/+17
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
2023-10-17samsung: tizen_amlogic: increase system-data size to 1.3GJaehoon Chung1-1/+1
Increase system-data size from 512M to 1.3G. Change-Id: I39398a900260eca7fd96d232ea95dc348a593804 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-10-17samsung: tizen_rpi: add swiotlb value to 8192 on 32bitJaehoon Chung1-1/+1
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>
2023-10-17samsung: tizen_amlogic: fix build error about not defined BUTTON_LAEBLJaehoon Chung1-0/+2
Fix build error about not defined BUTTON_LABEL. Change-Id: Ifdc916c56c82aaac129ca764d8d501f4c0edcb26 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-10-17samsung: tizen_amlogic: add button_label variableJaehoon Chung1-1/+5
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>
2023-10-17tizen: rpi: move bootscripts to tizen specific directoryJaehoon Chung1-0/+7
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>
2023-10-17tizen: move Function button check to separate env scriptMarek Szyprowski1-0/+8
This will make CONFIG_PREBOOT a bit more readable and easier to understand. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: I75d0e42a6b26c7e4c5d7d4818e9e0f450151a1b2
2023-10-17configs: amlogic: check a reboot reason to enter download modeJaehoon Chung1-0/+8
Check a reboot reason to enter download mode. If reboot reason is download, it will be entered to download mode. Change-Id: I9a2223962ad49a19a2b084711107dd23e6c17b95 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-10-17samsung: tizen_amlogic: update loglevel from 4 to 7Jaehoon Chung1-1/+1
Update loglevel from 4 to 7. It's useful that can see more log message because of kernel isn't stable. In future, it will be restore to 4. Change-Id: I162b3a049acd1a6765b4c7f9e5ce610fce238e59 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-10-17samsung: tizen_rpi: add hal.img in dfu informationJaehoon Chung1-1/+2
Add hal.img in dfu information. It's for just prepering to thor download. - Avoid to fail thor protocol when hal image is created. Change-Id: I78df372fc0bfa260d120c16c59a4b7bfd6fdddcf Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2023-10-17thor: Add API for thor status notificationsSylwester Nawrocki1-0/+15
This patch adds an empty by default thor_status_notify() function which can be reimplemented as required and which allows to add notifications of thor status and flashing progress, e.g. on external monitor. Change-Id: Ic1eaad7f3f5adbca404162b745a9287d5a9ae247 Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
2023-10-17tizen: amlogic: Add hdmimode env variableSylwester Nawrocki1-1/+2
The hdmimode variable set to "1080p60hz" value allows the HDMI driver to switch to default full HD timings for QHD/UHD monitors and such monitors can still be used in lower resolution mode. This a workaround until proper support for QHD/UHD is implemented in the VPU driver. The new variable is also used in kernel bootargs. Change-Id: Ib1b58ee9173fa380c1c79bf819b0ffaca1a6aab9 Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
2023-10-17tizen: amlogic: add CONFIG entries for splash image loadingSylwester Nawrocki1-0/+4
These options are needed for decompressing the logo image file (gzipped BMP). Change-Id: Ieb3c35adf5007e2f795f2cecc3cf365e7a40b629 Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>