platform/kernel/u-boot.git
5 months agoriscv: dts: jh7110: Add clkgen for use sbi sandbox/hoegeun/tizen-next-pmic-starfive
Hoegeun Kwon [Fri, 3 Nov 2023 01:25:29 +0000 (10:25 +0900)]
riscv: dts: jh7110: Add clkgen for use sbi

Change-Id: Ic9a03831c89f65b05a5b339859fad466f0efe36c
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
5 months agoriscv: dts: jh7110: Add pmu for JH7110 SoC
Hoegeun Kwon [Wed, 1 Nov 2023 10:34:29 +0000 (19:34 +0900)]
riscv: dts: jh7110: Add pmu for JH7110 SoC

Change-Id: I171649219a90f75ad98d88ffe382f7ffd00d1bd7
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
5 months agoconfigs: tizen_starfive_visionfive2: Enable power domain
Hoegeun Kwon [Wed, 1 Nov 2023 07:15:13 +0000 (16:15 +0900)]
configs: tizen_starfive_visionfive2: Enable power domain

Change-Id: Iecd7fc80a6effe4ff1d973378be4ff76a857db6f
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
5 months agoriscv: dts: starfive: pmic: add axp15060 pmic config in vf2 uboot dts
minda.chen [Wed, 1 Nov 2023 10:30:42 +0000 (19:30 +0900)]
riscv: dts: starfive: pmic: add axp15060 pmic config in vf2 uboot dts

add axp15060 pmic dts config for opensbi power managment
used.

Signed-off-by: minda.chen <minda.chen@starfivetech.com>
[hoegeun.kwon: cherry-pick the commit b50de2c0ae0c from https://github.com/starfive-tech/u-boot/tree/JH7110_VisionFive2_devel]
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Change-Id: Icfcdb134a3d752126d629040e2861ee5bd3fa5b3

5 months agopower: add power subsystem driver in uboot
keith.zhao [Wed, 1 Nov 2023 07:13:51 +0000 (16:13 +0900)]
power: add power subsystem driver in uboot

add power subsystem in driver,include pmu pmic and regulator
pmu : dc8200 power
pmic : mipi power
regulator : entend power

Signed-off-by: keith.zhao<keith.zhao@statfivetech.com>
[hoegeun.kwon: cherry-pick the commit 520f4c7187b2 from https://github.com/starfive-tech/u-boot/tree/JH7110_VisionFive2_devel]
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Change-Id: I096a0a3673f11f4b5776e7b7f3ab24f16ddcd1b3

6 months agoscripts: tizen: sd_fusing_*.sh: Change a message to notcie 54/300654/1
Jaehoon Chung [Fri, 27 Oct 2023 06:26:46 +0000 (15:26 +0900)]
scripts: tizen: sd_fusing_*.sh: Change a message to notcie

These scripts will be deprecated in future.
Chnage an information message from "Warning" to "Notice".
These scripts can be still using.

Change-Id: I4cc1c56fc326cc7eb056b02ddf62167ac784443d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoconfigs: tizen: Enable VIDEO_MESON config about amlogic boards 43/300543/1
Jaehoon Chung [Fri, 27 Oct 2023 01:39:14 +0000 (10:39 +0900)]
configs: tizen: Enable VIDEO_MESON config about amlogic boards

CONFIG_DM_VIDEO was changed to CONFIG_VIDEO.
It needs to enable CONFIG_VIDEO / CONFIG_VIDEO_MESON again.

Change-Id: I096fb411c0a15e3616104ab476bfe396932f6fd1
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoconfigs: tizen: enable CONFIG_DM_USB_GADGET about amlogic boards 39/300539/1
Jaehoon Chung [Fri, 27 Oct 2023 01:01:31 +0000 (10:01 +0900)]
configs: tizen: enable CONFIG_DM_USB_GADGET about amlogic boards

Enable CONFIG_DM_USB_GADGET about amlogic boards.

Change-Id: If74ca88cbbf1b8efb1dcac3be35876346b0a0877
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoRevert "serial: bcm283x_mu: Support RX buffer" 39/300439/1
Jaehoon Chung [Wed, 25 Oct 2023 01:50:43 +0000 (10:50 +0900)]
Revert "serial: bcm283x_mu: Support RX buffer"

This reverts commit b84e5e2a9016f05470b2c9f1bb55617b065d5387.

Change-Id: I6d590f4cd0ff23986952743fbc85168b7f847aad
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoRevert "serial: bcm283x_mu: Refactor RX buffer" 38/300438/1
Jaehoon Chung [Wed, 25 Oct 2023 01:48:17 +0000 (10:48 +0900)]
Revert "serial: bcm283x_mu: Refactor RX buffer"

This reverts commit 8b4dad3bbef994712eb767172fe1f9660ad9504d.

Change-Id: Ic7b1fcf83aba4c770fe3a9824f9e9892f7fa6b3f
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoconfigs: tizen_starfive_visionfive2: Update config file 52/300152/3
Jaehoon Chung [Tue, 17 Oct 2023 10:12:54 +0000 (19:12 +0900)]
configs: tizen_starfive_visionfive2: Update config file

Update config file according to update the version.

Change-Id: Ib5c55110cd8db1f0f7eb71cca0d24d37830dffe5
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoconfigs: tizen_rpi_4: Enable Video configuration 51/300151/3
Jaehoon Chung [Tue, 17 Oct 2023 06:30:25 +0000 (15:30 +0900)]
configs: tizen_rpi_4: Enable Video configuration

During upgrade to v2023.10, DM_VIDEO is changed to VIDEO.

Change-Id: Iad6a2a72d7022578af37b98308bae684ff97c48b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: add --partition-size feat to sd_fusing.py 87/300287/1
Leonid [Fri, 13 Oct 2023 07:18:40 +0000 (09:18 +0200)]
scripts: add --partition-size feat to sd_fusing.py

The idea is to alter partition sizes via
overriding part_table prior to SdFusingTarget.__init__
to avoid hardcoding it every time you need such a change.

Implemented in SdFusingTarget.apply_partition_sizes

Currently only called (and tested) for RV64 target

Change-Id: Ia070359b47b9c3bfbbdb7881ddf43fb16d2df4a3
Signed-off-by: Leonid <l.sawin@samsung.com>
(cherry picked from commit 304aa532036b5c81553787dfcb33dc6376ad6e91)

6 months agopackaging: Change u-boot version from 2022.10 to 2023.10.
Jaehoon Chung [Fri, 28 Jul 2023 04:55:01 +0000 (13:55 +0900)]
packaging: Change u-boot version from 2022.10 to 2023.10.

Change u-boot version from 2022.10 to 2023.10.

Change-Id: I5b521f3e702d6b55fb91de9786df8acab2abf4db
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: add deprecation message to sd_fusing_*.sh shell scripts
Łukasz Stelmach [Thu, 5 Oct 2023 08:52:53 +0000 (10:52 +0200)]
scripts: add deprecation message to sd_fusing_*.sh shell scripts

Change-Id: Id97c0c19f50bcaed18aadb64ce8f0d66e8bad126
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agoscripts: generate binaries and binaries_b dictionaries
Łukasz Stelmach [Wed, 4 Oct 2023 09:17:43 +0000 (11:17 +0200)]
scripts: generate binaries and binaries_b dictionaries

Read image filenames from the part_table and automatically
associate them with appropriate partitions. Adding or
removing partitions doesn't require manual and error-prone
changes to binaries and binaries_b dictionaries.

Change-Id: Ib1cff8cb75af8a6f6c4af6f487545c643d61f438
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agoscripts: rewrite fusing scirpts in python
Łukasz Stelmach [Mon, 4 Sep 2023 10:23:12 +0000 (12:23 +0200)]
scripts: rewrite fusing scirpts in python

Replace target specific shell fusing scirpts with a single extensible
Python script. To add a new target add a new class inheriting from
SdFusingTarget or SdFusingTargetAB and provide necessary information
in the part_table class variable.

Change-Id: I98cc732d78a8e71b423bc7ec42c1a6a890ffb41b
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agotizen: rpi4: remove hardcoded partition numbers
Marek Szyprowski [Fri, 1 Sep 2023 15:24:25 +0000 (17:24 +0200)]
tizen: rpi4: remove hardcoded partition numbers

GPT partition layout already provides names for all partitions, so if
possible, use them instead of the hardcoded numbers in boot script.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Id35838f9bb11970ab94963947f6140db836944e3

6 months agotizen: bootscript: vf2: Set eth0 ip addr only for flash boot mode
Seung-Woo Kim [Wed, 30 Aug 2023 06:35:00 +0000 (15:35 +0900)]
tizen: bootscript: vf2: Set eth0 ip addr only for flash boot mode

The visionfive2 board has two ethernet interfaces and setting
ipaddr without intercace, it tries all interface for all enabled
autoconfiguration protocol. Sometimes, this causes boot hang to
get recv from an ethernet interface for an autoconfiguration
protocol. To remove the possible boot hang, set only eth0 ip addr
for flash boot mode.

Refer "ip=" part of below kernel doc:
  https://git.tizen.org/cgit/platform/kernel/linux-starfive/tree/Documentation/admin-guide/nfs/nfsroot.rst?h=tizen

Change-Id: Ia927d2e64945ef9cc48685e4640c9f366898eb6e
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
6 months agoscripts: tizen: update the version of fusing scripts
Jaehoon Chung [Mon, 28 Aug 2023 11:21:05 +0000 (20:21 +0900)]
scripts: tizen: update the version of fusing scripts

Update the version of fusing scripts.

Change-Id: I6f7ee616bf0aac3137ff6fc51a9ab468406b8ffb
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: Add support for cereating images for use with QEMU.
Łukasz Stelmach [Thu, 24 Aug 2023 10:05:04 +0000 (12:05 +0200)]
scripts: Add support for cereating images for use with QEMU.

Using the loopback driver the script can create, partition and record
Tizen onto a disk image (a regular file) that can be used to run Tizen
in QEMU.

Change-Id: I819f10899c0e4c4532fe7c65e9e00b43b69a4a04
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agoscripts: Do not complain about using loopback devices
Łukasz Stelmach [Thu, 10 Aug 2023 19:41:28 +0000 (21:41 +0200)]
scripts: Do not complain about using loopback devices

Change-Id: Iaf2b561e8ad9f269ba75fbb1f9a5ab6e35f0f081
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agoscripts: Improve UI
Łukasz Stelmach [Thu, 10 Aug 2023 16:15:23 +0000 (18:15 +0200)]
scripts: Improve UI

Do not print newline after prompts for user interaction.

Reword some messages.

Change-Id: I53da243519860be91ef2cf1e240f084394982726
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agotizen: bootscript: vf2: Support ramdisk-recovery booting
Seung-Woo Kim [Tue, 22 Aug 2023 02:31:27 +0000 (11:31 +0900)]
tizen: bootscript: vf2: Support ramdisk-recovery booting

Support ramdisk-recovery booting with valid part number.

Change-Id: I023bffed1dd4a53445b0998a0915272a2bf6f4d1
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
6 months agoqemu-riscv64_smode: Load custom envitonment if possible
Łukasz Stelmach [Wed, 2 Aug 2023 13:08:30 +0000 (15:08 +0200)]
qemu-riscv64_smode: Load custom envitonment if possible

Check if loadbootenv and importbootenv environment variables are available
and use them to load additional environment variables.

Change-Id: I4e85a6a248cb6e1b5314771fda2e0f9df406417a
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agotizen: bootscript: Select FDT file for VF2
Łukasz Stelmach [Wed, 9 Aug 2023 21:01:37 +0000 (23:01 +0200)]
tizen: bootscript: Select FDT file for VF2

Select FDT file for VisionFive2 board depending on the revision of
the board.

Change-Id: I05bf589572000937451bb94510f3f67755e425e9
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agosetexpr: Silence some diagnostic messages
Łukasz Stelmach [Wed, 9 Aug 2023 20:30:05 +0000 (22:30 +0200)]
setexpr: Silence some diagnostic messages

Neither successful match nor lack thereof should be considered an
extraordinary situation. Thus, neither require printing a message.

Change-Id: If42450a68224cdb5f630b98ca6c8df413806cfa3
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agoconfigs: tizen_starfive_visionfive2: Enable ID EEPROM configuration
Łukasz Stelmach [Thu, 10 Aug 2023 08:57:47 +0000 (10:57 +0200)]
configs: tizen_starfive_visionfive2: Enable ID EEPROM configuration

Enabled ID_EEPROM and I2C configuration for StarFive VisionFive2 board.

Change-Id: Id63b7166acf2a336d6d3f2a8d6b41675adb63a0a
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agoconfigs: Align QEMU config with VF2
Łukasz Stelmach [Tue, 8 Aug 2023 17:26:48 +0000 (19:26 +0200)]
configs: Align QEMU config with VF2

Adjust platform independent configuration options in S-Mode QEMU defconfig
to match the configuration for VF2.

Change-Id: I1ed1a813e60a470955fba89fbaf5e7c16c9ad159
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agoconfigs: Enable environment configs for QEMU
Łukasz Stelmach [Tue, 8 Aug 2023 16:08:27 +0000 (18:08 +0200)]
configs: Enable environment configs for QEMU

Enable environment configs to use uboot.env file in FAT filesystem.

Change-Id: Ic19ac7e6552700038e35ba93f4d3c0736ec00776
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agoconfigs: Adjust environemnt on QEMU
Łukasz Stelmach [Tue, 8 Aug 2023 10:11:31 +0000 (12:11 +0200)]
configs: Adjust environemnt on QEMU

Check if loadbootenv and importbootenv environment variables are available
and use them to load additional environment variables.

Set CONFIG_BOOTCOMMAND in QEMU Tizen defconfig.

Change-Id: I12e45fca58d26edfc4e1287fe8d73a22ec4e136f
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agoconfigs: Add tizen_qemu-riscv64 defconfigs
Łukasz Stelmach [Tue, 8 Aug 2023 10:05:17 +0000 (12:05 +0200)]
configs: Add tizen_qemu-riscv64 defconfigs

Add tizen_qemu-riscv64_defconfig and tizen_qemu-riscv64_smode_defconfig
files. They will be used for Tizen.

Change-Id: I640f25ac97c15f56a2078bd0d1c827493eecd296
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agoconfigs: tizen_starfive_visionfive2: Load custom envitonment if possible
Łukasz Stelmach [Wed, 2 Aug 2023 13:10:47 +0000 (15:10 +0200)]
configs: tizen_starfive_visionfive2: Load custom envitonment if possible

Check if loadbootenv and importbootenv environment variables are available
and use them to load additional environment variables.

Change-Id: I667783263575de8421df852a9921f5c938620409
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agopackaging: install boot.scr.uimg for QEMU
Łukasz Stelmach [Wed, 26 Jul 2023 10:15:21 +0000 (12:15 +0200)]
packaging: install boot.scr.uimg for QEMU

Change-Id: I487eabf16f67d56dc71bcda45a54a33325117eaa
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agosamsung: tizen_riscv: add dedicated bootcmd for Tizen
Łukasz Stelmach [Wed, 2 Aug 2023 13:14:13 +0000 (15:14 +0200)]
samsung: tizen_riscv: add dedicated bootcmd for Tizen

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>
6 months agotizen: bootscript: Adapt the script to work u-boot boot device/partition detection
Łukasz Stelmach [Wed, 2 Aug 2023 07:49:35 +0000 (09:49 +0200)]
tizen: bootscript: Adapt the script to work u-boot boot device/partition detection

Make the bootscript work properly when called by the upstream
distro_bootcmd script.

Change-Id: Iad38fdfdb7a6d10cd27924458fa9d23911a607db
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agosamsung: tizen_riscv: Reorganise environment defaults for RISC-V
Łukasz Stelmach [Wed, 2 Aug 2023 07:26:29 +0000 (09:26 +0200)]
samsung: tizen_riscv: Reorganise environment defaults for RISC-V

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>
6 months agotizen: bootscript: add virtio support
Łukasz Stelmach [Fri, 4 Aug 2023 12:59:25 +0000 (14:59 +0200)]
tizen: bootscript: add virtio support

Recognize virtio0 as a valid boot device (target) and
set other necessary variables accordingly.

Change-Id: Ia6afb47713074da7382c62f6d65da7bd27a80f7e
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agotizen: bootscript: rename environment variables
Łukasz Stelmach [Wed, 26 Jul 2023 10:12:51 +0000 (12:12 +0200)]
tizen: bootscript: rename environment variables

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>
6 months agotizen: bootscript: remove uEnv.txt from VisionFive2 package
Łukasz Stelmach [Thu, 3 Aug 2023 05:38:05 +0000 (07:38 +0200)]
tizen: bootscript: remove uEnv.txt from VisionFive2 package

The file isn't loaded automatically and all the information it contains
are in the default environment compiled from appropriate header files.

Change-Id: I569bd0657c3246dc6bf50117b5d7567a557dbd68
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agoRISCV: dts: jh7110-starifive-visionfive-2: Add a gpio-restart node
Jaehoon Chung [Mon, 31 Jul 2023 23:25:20 +0000 (08:25 +0900)]
RISCV: dts: jh7110-starifive-visionfive-2: Add a  gpio-restart node

Add a gpio-restart node to do reset.
Before applied this patch, System Reset Extension doesn't appear with
sbi command.

OpenSBI 1.3
Machine:
  Vendor ID 489
  Architecture ID 8000000000000007
  Implementation ID 4210427
Extensions:
  sbi_set_timer
  sbi_console_putchar
...[snip]...
  IPI Extension
  RFENCE Extension
  Hart State Management Extension
  Performance Monitoring Unit Extension

After applied this patch, System Reset Extension is supported from SBI.

OpenSBI 1.3
Machine:
  Vendor ID 489
  Architecture ID 8000000000000007
  Implementation ID 4210427
Extensions:
  sbi_set_timer
  sbi_console_putchar
...[snip]...
  IPI Extension
  RFENCE Extension
  Hart State Management Extension
  System Reset Extension
  Performance Monitoring Unit Extension

Change-Id: Idf298b22ff2fb728ddade59befa741718e9c2466
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agolibtizen: Remove the including lcd header
Jaehoon Chung [Fri, 28 Jul 2023 01:56:49 +0000 (10:56 +0900)]
libtizen: Remove the including lcd header

Remove the including lcd header.
lcd header was removed since v2023.01.

Change-Id: I47121000f1c23d00832a255c57c8ecd326ed9b5d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoconfigs: tizen: Enable TEXT_BASE value in config
Jaehoon Chung [Fri, 28 Jul 2023 01:45:46 +0000 (10:45 +0900)]
configs: tizen: Enable TEXT_BASE value in config

Enable TEXT_BASE value in config.
It's changed from SYS_TEXT_BASE to TEXT_BASE.

Change-Id: Id4a679eb2010f6e6180c6622567f2fb53bf93b73
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agotizen: bootscript: vf2-uEnv: Fix the address of environment variables
Hoegeun Kwon [Wed, 26 Jul 2023 09:02:12 +0000 (18:02 +0900)]
tizen: bootscript: vf2-uEnv: Fix the address of environment variables

Fix the overlapping address with the address used as cma. The cma is
used from 0x80000000.

Change-Id: I631215ba4cd34cddfd821f69d4f1f08b7b649b92
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
6 months agotizen: bootscript: vf2-uEnv: Fix to load wrong fdt file
Jaehoon Chung [Wed, 26 Jul 2023 01:20:21 +0000 (10:20 +0900)]
tizen: bootscript: vf2-uEnv: Fix to load wrong fdt file

During boot from pre-built u-boot, boot script is using the prebuilt's
environment. fdtfile is starfive/starfive-visionfive2.dtb.
To fix this problem, update fdtfile in uEnv.txt.

Change-Id: I53d8af046b7a7406944906ab6ecea7580d4f192d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: fix filtering of lsblk output for loopback devices
Łukasz Stelmach [Tue, 25 Jul 2023 11:04:52 +0000 (13:04 +0200)]
scripts: fix filtering of lsblk output for loopback devices

The "loop" pattern needs to be anchored at with "^" too.

Change-Id: I22c122595bd3266b53401b6824f201e5addb1023
Fixes: cc2ad962242 ("scripts: sd_fusing_rpi4: support formatting loop devices")
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agopackaging: u-boot*: Upgrade build required openssl version from 1.1 to 3
Seung-Woo Kim [Mon, 3 Jul 2023 02:20:58 +0000 (11:20 +0900)]
packaging: u-boot*: Upgrade build required openssl version from 1.1 to 3

Openssl 1.1.1 is supported until September 2023, so Tizen 8.0
upgrades Openssl 3.0.x. To meet this, change build required
openssl version. Also, required with pkgconfig.

Change-Id: Ifffd9c57db94e4d8dbe2c3179118ea3dec3703c5
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
6 months agotizen: bootscripts: vf2: remove console=tty0 from cmdline
Jaehoon Chung [Tue, 27 Jun 2023 10:05:15 +0000 (19:05 +0900)]
tizen: bootscripts: vf2: remove console=tty0 from cmdline

Remove console=tty0 from cmdline.
When it's using, kernel message is displayed to vidconsole.

Change-Id: I6b294037773a78e32908f035695b47285031d9c8
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agopackaging: u-boot-visionfive2: Add uEnv.txt file
Jaehoon Chung [Thu, 15 Jun 2023 02:18:58 +0000 (11:18 +0900)]
packaging: u-boot-visionfive2: Add uEnv.txt file

Add uEnv.txt file to use an enviornment variable when booting from
preflashed u-boot.

Change-Id: I267d0a9d695c1f17f37ec82cc8e3b1205d9e0b8b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agosamsung: tizen_visionfive2: Change logevel from 4 to 7
Jaehoon Chung [Mon, 12 Jun 2023 01:05:31 +0000 (10:05 +0900)]
samsung: tizen_visionfive2: Change logevel from 4 to 7

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>
6 months agotizen: bootscript: vf2: Support a ramdisk booting
Jaehoon Chung [Fri, 9 Jun 2023 00:03:44 +0000 (09:03 +0900)]
tizen: bootscript: vf2: Support a ramdisk booting

Support a ramdisk booting.
It will not mount a ramdisk partition directly.
Instead, it will be loading ramdisk image to ram area.

Change-Id: Iec0f3863d42b54405a55171aead0da97a0ad8d7d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoconfigs: tizen_starfive_visionfive2: Update configurations
Jaehoon Chung [Thu, 8 Jun 2023 23:25:22 +0000 (08:25 +0900)]
configs: tizen_starfive_visionfive2: Update configurations

Update configurations.
- Enable CMD_SBI and SYSRESET
- Change Prompt from "Starfive #" to "VisionFive2> "

Change-Id: I240ebaf2793f4f9614f3fe423c0afe24ece28b7c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agopackaging: u-boot-visionfive2: Add visionfive2 boot script
Jaehoon Chung [Wed, 7 Jun 2023 07:19:45 +0000 (16:19 +0900)]
packaging: u-boot-visionfive2: Add visionfive2 boot script

Add visionfive2 boot script for Tizen.

Change-Id: I113423e6b19d3d1bd41689ce1a8535ab32be3d86
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoinclude: starfive-visionfive2: Add tizen environment into starfive-visionfive2 header
Jaehoon Chung [Wed, 7 Jun 2023 05:20:32 +0000 (14:20 +0900)]
include: starfive-visionfive2: Add tizen environment into 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>
6 months agoconfigs: tizen_starfive_visionfive2: Change the device-tree path
Jaehoon Chung [Wed, 7 Jun 2023 05:19:19 +0000 (14:19 +0900)]
configs: tizen_starfive_visionfive2: Change the device-tree path

Change the device-tree path to root dir from starfive dir.

Change-Id: I0548d4910f4cfa7808e2d3a3cb71961e5b8f7d39
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agotizen: bootscript: Add visionfive2 bootscript and env file
Jaehoon Chung [Fri, 2 Jun 2023 07:29:36 +0000 (16:29 +0900)]
tizen: bootscript: Add visionfive2 bootscript and env file

Add visionfive2 bootscript and uEnv.txt file.
tizen-boot-vf2-uEnv.txt file will be used when booting from pre-flashed u-boot.

Custom U-boot will not be used tizen-boot-vf2-uEnv.txt file.
Instead, Custom u-boot will be using the generated uboot.env.

Change-Id: Ic4d2542ddd3d7312f0367c733618f8be6926fef3
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agosamsung: Add tizen_visionfive2 header
Jaehoon Chung [Fri, 2 Jun 2023 08:27:13 +0000 (17:27 +0900)]
samsung: Add tizen_visionfive2 header

Add tizen_visionfive2 header file to use tizen speicific environments.

Change-Id: Ideb153007d7351ecc5e4ddffade424f1d2f253db
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agopackaging: Add u-boot-qemu-riscv64 spec file
Łukasz Stelmach [Fri, 26 May 2023 17:44:32 +0000 (19:44 +0200)]
packaging: Add u-boot-qemu-riscv64 spec file

Change-Id: Idf0402efaf70974b09760732a29769afd8b713e7
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agoconfigs: tizen_starfive_visionfive2: Enable environment configs
Jaehoon Chung [Fri, 2 Jun 2023 03:59:34 +0000 (12:59 +0900)]
configs: tizen_starfive_visionfive2: Enable environment configs

Enable environment configs to use uboot.env file in FAT filesystem.

Change-Id: I9f6877ec810eed31ebfb9b65e71318a868cc31b7
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agopackaging: Add u-boot-visionfive2 spec file
Jaehoon Chung [Tue, 2 May 2023 04:09:13 +0000 (13:09 +0900)]
packaging: Add u-boot-visionfive2 spec file

Add u-boot-visionfive2 spec file.

Change-Id: I2d3f0fb2c3865779299a3ba2a3e03ae626d5e6eb
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: tizen: sd_fusing_rpi3/4: update print_logo
Jaehoon Chung [Mon, 22 May 2023 10:04:26 +0000 (19:04 +0900)]
scripts: tizen: sd_fusing_rpi3/4: update print_logo

To prevent a confusion, update print_logo more clarify.

Change-Id: I85f6f17168b399878d865ed4f491265452aed123
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: tizen: sf_fusing_vf2: add u-boot.itb to flash u-boot
Jaehoon Chung [Fri, 28 Apr 2023 06:49:44 +0000 (15:49 +0900)]
scripts: tizen: sf_fusing_vf2: add u-boot.itb to flash u-boot

Mainline u-boot is using u-boot.itb instead ob u-boot.img.
To flash correct u-boot image, add u-boot.itb in table.

Change-Id: I4ffe88d97b151e847475c489a2fe85ea7850bf22
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agotools: starfive: Add spl_tool of starfive
Jaehoon Chung [Fri, 28 Apr 2023 00:50:16 +0000 (09:50 +0900)]
tools: starfive: Add spl_tool of starfive

To build visionfive2 board, it needs to use spl_tool of starfive.
This files are taken from below git repo.
URL: https://github.com/starfive-tech/Tools/tree/master/spl_tool

Refer to doc/board/starfive/visionfive2.rst in u-boot repo.

Change-Id: I8e5d8e11dc5f49d84edb32979372062603f4a13c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agotizen: rpi4: Fix slot check
Marek Pikuła [Fri, 28 Apr 2023 11:26:42 +0000 (13:26 +0200)]
tizen: rpi4: Fix slot check

Change-Id: I0b1ff3ef5a90ff2d43d54bb3559266c28e95eae4
Signed-off-by: Marek Pikuła <m.pikula@partner.samsung.com>
6 months agoconfigs: Add tizen_starfive_visionfive2 defconfig
Jaehoon Chung [Tue, 25 Apr 2023 04:31:51 +0000 (13:31 +0900)]
configs: Add tizen_starfive_visionfive2 defconfig

Add tizen_starfive_visionfive2 defconfig file.
It will be used for Tizen. To maintain orignal defconfig, create a
defconfig to use tizen.

Change-Id: I361b79fb1a7c6dd2319d25a62b31ca153e26c666
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: sd_fusing_vf2: Support to flash u-boot and spl image
Jaehoon Chung [Thu, 6 Apr 2023 07:36:37 +0000 (16:36 +0900)]
scripts: sd_fusing_vf2: Support to flash u-boot and spl image

Support to flash u-boot and spl image with script.
- u-boot + opensbi : u-boot.img
- spl : u-boot-sp.bin.normal.out

It can be changed to other name in future.
If change image names, it will be changed.

Change-Id: Iba4337f9591b339c37a1207848794b92da56542a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: tizen: Add a fusing script for Visionfive2
Jaehoon Chung [Fri, 10 Mar 2023 03:48:19 +0000 (12:48 +0900)]
scripts: tizen: Add a fusing script for Visionfive2

Add a fusing script for visionFive2.
This script is for SD-Card.

Change-Id: If895466dbc8f72b86b77c5807247475c1cb63d1a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: sd_fusing_rpi3: Update sd_fusing_rpi3 version
Jaehoon Chung [Thu, 2 Mar 2023 06:33:18 +0000 (15:33 +0900)]
scripts: sd_fusing_rpi3: Update sd_fusing_rpi3 version

Update sd_fusing_rpi3 version from 2.2.2 to 2.3.0.

Change-Id: I3deb33e134e28e3031c84ef9b41a58bc0eb283c6
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: sd_fusing_rpi3: support the latest sfdisk version
Jaehoon Chung [Thu, 2 Mar 2023 05:14:01 +0000 (14:14 +0900)]
scripts: sd_fusing_rpi3: support the latest sfdisk version

In Ubunut 22.04, sfdisk version is 2.37.2 by default.
Before applied this patch, script is failed with messsage of "No space
left...".
It seems that It's caused about wrong start offset.
If sfdisk version is upper than 2.37, remove the start offset.

Change-Id: Ic6ecf839e48024cc68b051f1f05e6b4fc56332da
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: sd_fusing_rpi4: support formatting loop devices
Marek Pikuła [Wed, 18 Jan 2023 15:57:27 +0000 (16:57 +0100)]
scripts: sd_fusing_rpi4: support formatting loop devices

Change-Id: Ic6384281104ed710552119f9910cfca95ddf9a21
Signed-off-by: Marek Pikuła <m.pikula@partner.samsung.com>
6 months agoconfigs: tizen_rpi_4: disable USB_XHCI_PCI config
Jaehoon Chung [Fri, 13 Jan 2023 01:50:23 +0000 (10:50 +0900)]
configs: tizen_rpi_4: disable USB_XHCI_PCI config

Disable USB_XHCI_PCI config for usb hub on RPI4.
There is a problem on 8GiB RPi4 with 32bit image.
In future, it will be re-enabled after fixing a problem.

Change-Id: Ibd042fcd8d7a919f0d462cfdc91494413d800cae
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoconfig: tizen_rpi: Add bootargs for hdmi
Hoegeun Kwon [Fri, 18 Nov 2022 06:39:46 +0000 (15:39 +0900)]
config: tizen_rpi: Add bootargs for hdmi

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>
6 months agopackaging: remove u-boot-rpi3 spec files
Jaehoon Chung [Fri, 11 Nov 2022 05:38:25 +0000 (14:38 +0900)]
packaging: remove u-boot-rpi3 spec files

Remove u-boot-rpi3 spec files.
Since Tizen-7.0, RPi3 board doesn't support anymore.

Change-Id: I2f085e9a06550e2f4217016a50c6c65b21ad9540
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: sd_fusing_rpi4: add skip-resize option
Jaehoon Chung [Fri, 11 Nov 2022 05:29:37 +0000 (14:29 +0900)]
scripts: sd_fusing_rpi4: add skip-resize option

Add skip-resize option to test A/B update.

Change-Id: I7cea9f665b3f474987bb710994a639351389f5b4
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agopackaging: move u-boot-tools from rpi3 to rpi4
Jaehoon Chung [Tue, 8 Nov 2022 05:53:00 +0000 (14:53 +0900)]
packaging: move u-boot-tools from rpi3 to rpi4

Move u-boot-tools from rpi3 to rpi4.
RPi3 target was deprecated. To remove u-boot-rpi3 spec file, it needs to
move u-boot-tools package into rpi4.

Change-Id: I308af97d06e72e8809eb0194c001e631f915c416
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoconfigs: tizen-amlogic: sync orignal defconfig files
Jaehoon Chung [Mon, 17 Oct 2022 03:19:48 +0000 (12:19 +0900)]
configs: tizen-amlogic: sync orignal defconfig files

Sync orignal defconfig files.
- khadas-vim3/vim3l
- odroid-n2/c4

Change-Id: I513f1cc9afda87557aed712e58bc8bf0ca357dab
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agotizen: amlogic: move CONFIG_TIZEN into Kconfig
Jaehoon Chung [Mon, 17 Oct 2022 02:43:34 +0000 (11:43 +0900)]
tizen: amlogic: move CONFIG_TIZEN into Kconfig

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>
6 months agoconfigs: tizen_rpi: enable CONFIG_SYS_INIT_SP_ADDR
Jaehoon Chung [Mon, 17 Oct 2022 00:13:18 +0000 (09:13 +0900)]
configs: tizen_rpi: enable CONFIG_SYS_INIT_SP_ADDR

Enable CONFIG_SYS_INIT_SP_ADDR in rpi3/4 configuration.

Change-Id: Id4b4c269631fb58c1e24a431c6588ce9bcca43a2
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: sd_fusing_rpi4: add initialize_parameter function
Jaehoon Chung [Wed, 12 Oct 2022 01:25:57 +0000 (10:25 +0900)]
scripts: sd_fusing_rpi4: add initialize_parameter function

Add initialize_parameter function to clear previous values.
When flash the image without format, its value is remaining with
previous value.

Change-Id: I59b684bfa4ba851325902d8f769ce0c2efe67d85
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: Normalize device name
Łukasz Stelmach [Thu, 29 Sep 2022 21:06:15 +0000 (23:06 +0200)]
scripts: Normalize device name

Make sure the DEVICE holds the the real name of the block device and
not one of symbolic links that can be found in /dev/disk/by-* directories.

Change-Id: I8b3416b5de6471a15ef46748d124dbfbf80df156
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agoscripts: Fix broken message
Łukasz Stelmach [Thu, 29 Sep 2022 19:46:44 +0000 (21:46 +0200)]
scripts: Fix broken message

Change-Id: I6e9f42ef3d3147927db99406e9fd4d1fea526d13
Fixes: 267186468d ("scripts: tizen: sd_fusing_rpi4: support A/B partition")
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
6 months agoscripts: sd_fusing_rpi4: update version to 1.0.7
Jaehoon Chung [Tue, 6 Sep 2022 02:20:16 +0000 (11:20 +0900)]
scripts: sd_fusing_rpi4: update version to 1.0.7

Since 1.0.7, partition-a/b-status.info is supported.

Change-Id: I2cce9a92c88a54d73f62e1e556c85219b90f0071
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: sd_fusing_rpi4: add the partition-a/b-status.info
Jaehoon Chung [Wed, 31 Aug 2022 22:53:30 +0000 (07:53 +0900)]
scripts: sd_fusing_rpi4: add the partition-a/b-status.info

Add the partition-a/b-status.info as "ok" by default.
It can be set to "ok", "failed" or "corrupted".

Change-Id: I10e749928ad27c96eb3adaf83d5dc8f636844150
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: sd_fusing_rpi4: change a value of partition-ab-cloned from 0 to 1
Jaehoon Chung [Wed, 17 Aug 2022 03:10:19 +0000 (12:10 +0900)]
scripts: sd_fusing_rpi4: change a value of partition-ab-cloned from 0 to 1

Change a value of partition-ab-cloned from 0 to 1 by default.

Change-Id: I0879b1d9c9b969ec0663439e04f8dd4b8150e77e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agofixup! rpi: use board_early_init_r to init PCI/USB and detect boot device
Marek Szyprowski [Tue, 16 Aug 2022 11:44:45 +0000 (13:44 +0200)]
fixup! rpi: use board_early_init_r to init PCI/USB and detect boot device

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
6 months agoconfigs: amlogic: move CONFIG_SYS_MEM_TOP_HIDE to defconfig
Jaehoon Chung [Mon, 1 Aug 2022 03:35:30 +0000 (12:35 +0900)]
configs: amlogic: move CONFIG_SYS_MEM_TOP_HIDE to defconfig

Move CONFIG_SYS_MEM_TOP_HIDE to defconfig.

Change-Id: I99de23e4019d3a2fb5280d155e2c6119d930e9e7
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoconfigs: vim3/odroid: Update the missed configs about amlogic target
Jaehoon Chung [Fri, 29 Jul 2022 01:15:58 +0000 (10:15 +0900)]
configs: vim3/odroid: Update the missed configs about amlogic target

Update the missed configs about amlogic target.

Change-Id: Ibb531da60be971f17e0b56e20f8d476bec88d574
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoconfigs: tizen_rpi_3/4_defconfig: Update the missed configurations
Jaehoon Chung [Fri, 29 Jul 2022 01:09:18 +0000 (10:09 +0900)]
configs: tizen_rpi_3/4_defconfig: Update the missed configurations

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>
6 months agopackaging: update version from 2021.10 to 2022.10
Jaehoon Chung [Fri, 29 Jul 2022 00:38:50 +0000 (09:38 +0900)]
packaging: update version from 2021.10 to 2022.10

Update version from 2021.10 to 2022.19.

Change-Id: I2d96f29a32de54a90f66348cf38a558b60447570
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: sd_fusing_rpi4: remove resize2fs command
Jaehoon Chung [Mon, 25 Jul 2022 06:25:54 +0000 (15:25 +0900)]
scripts: sd_fusing_rpi4: remove resize2fs command

Remove resize2fs command about ext4 partitions.
It'll be resized at first booting time.

Change-Id: I6a255ffd847c133183383d4a93e10e437b8f040d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agosamsung: tizen_amlogic: increase ramdisk size from 8M to 32M
Jaehoon Chung [Wed, 20 Jul 2022 09:25:55 +0000 (18:25 +0900)]
samsung: tizen_amlogic: increase ramdisk size from 8M to 32M

Increase ramdisk size from 8M to 32M.

Change-Id: Ie36d169d0e815ce6a0a0b671de80a6616b9af73c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: tizen_rpi: remove unnecessary line change
Jaehoon Chung [Mon, 18 Jul 2022 06:53:33 +0000 (15:53 +0900)]
scripts: tizen_rpi: remove unnecessary line change

Remove unnecessary line change.

Change-Id: I91ab784a1e46d0145ff511b4f1012a23eeb5022d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: tizen_rpi: add the reboot_param_clear
Jaehoon Chung [Mon, 18 Jul 2022 06:14:15 +0000 (15:14 +0900)]
scripts: tizen_rpi: add the reboot_param_clear

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>
6 months agoscripts: sd_fusing_rpi4: change a name from recovery to ramdisk-recovery
Jaehoon Chung [Thu, 14 Jul 2022 02:29:38 +0000 (11:29 +0900)]
scripts: sd_fusing_rpi4: change a name from recovery to ramdisk-recovery

Change a name from recovery_a/b to ramdisk-recovery_a/b.

Change-Id: I36593eccf4e4e33989365a180951434d37599c75
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: sd_fusing_rpi4: set to norm about reboot-param by default
Jaehoon Chung [Wed, 13 Jul 2022 09:07:29 +0000 (18:07 +0900)]
scripts: sd_fusing_rpi4: set to norm about reboot-param by default

Set to norm about value of  reboot-param.bin by default.
At first booting, the below message is displayed on u-boot side.
- Failed to load 'reboot-param.bin'

Change-Id: I9cbc6f3f3634661e49318d2997b9bf2f82ecd522
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoscripts: sd_fusing_rpi4: add new partition information files
Jaehoon Chung [Wed, 13 Jul 2022 08:02:15 +0000 (17:02 +0900)]
scripts: sd_fusing_rpi4: add new partition information files

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>
6 months agoscripts: sd_fusing_rpi4: change a name from modules_a/b to module_a/b
Jaehoon Chung [Wed, 13 Jul 2022 07:34:44 +0000 (16:34 +0900)]
scripts: sd_fusing_rpi4: change a name from modules_a/b to module_a/b

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>
6 months agoconfigs: tizen_rpi_4: enable TIZEN_RPI4 config
Jaehoon Chung [Fri, 1 Jul 2022 04:48:58 +0000 (13:48 +0900)]
configs: tizen_rpi_4: enable TIZEN_RPI4 config

Enable TIZEN_RPI4 configuration.
If want to add some codes for tizen specific code, use this
configuration.

Change-Id: I33296230b29895f53d3b620f6db5137c7b76c631
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agoARM: bcm283x: Add TIZEN_RPI3/4 config
Jaehoon Chung [Fri, 1 Jul 2022 04:44:17 +0000 (13:44 +0900)]
ARM: bcm283x: Add TIZEN_RPI3/4 config

Add TIZEN_RPI3/4 config to check the tizen specific things.

Change-Id: Ie25b90046cf2bfa3e954b000afa5ae33fa41b775
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
6 months agodisk: part_efi: skip the verification when partition size is smaller
Jaehoon Chung [Fri, 1 Jul 2022 03:41:20 +0000 (12:41 +0900)]
disk: part_efi: skip the verification when partition size is smaller

In tizen, user partition is created as remained disk size.
It's a difficult to fix to constant value.
This patch is help to skip the verification if partition size is smaller than real size.

Change-Id: I7156ddd8b62aec5e931b5fa14a9ad5a262a3a646
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>