platform/kernel/u-boot.git
3 years agoconfigs: Enable options for splash image in khadas-vim3_defconfig sandbox/snawrocki/kvim3_thor_progress_2
Sylwester Nawrocki [Thu, 26 Nov 2020 18:11:57 +0000 (19:11 +0100)]
configs: Enable options for splash image in khadas-vim3_defconfig

These options are needed for loading compressed BMP image and
displaying on the screen.

Change-Id: Ieeddd2e2d9ff6872297b9eb3f3d899702ee717a7
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
3 years agotizen: amlogic: add CONFIG entries for splash image loading
Sylwester Nawrocki [Thu, 26 Nov 2020 16:42:18 +0000 (17:42 +0100)]
tizen: amlogic: add CONFIG entries for splash image loading

These options are needed for decompressing the logo image file
(gzipped BMP).

Change-Id: Ieb3c35adf5007e2f795f2cecc3cf365e7a40b629
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
3 years agoconfigs: tizen_amlogic: Add default environment variables for splash image
Sylwester Nawrocki [Thu, 26 Nov 2020 18:45:01 +0000 (19:45 +0100)]
configs: tizen_amlogic: Add default environment variables for splash image

Set the splash file location, bmp image load address and logo position
on the display.

The compressed bitmap file should be installed on first mmc partition.

Change-Id: Ic1ce517460beaf318821f53ed3adbe6c41e091e8
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
3 years agopackaging: u-boot-kvim3: Add tizen logo bitmap file
Sylwester Nawrocki [Tue, 1 Dec 2020 08:28:29 +0000 (09:28 +0100)]
packaging: u-boot-kvim3: Add tizen logo bitmap file

This image will be used as u-boot splash image.

Change-Id: I262cc2219435afc7c8f208ff39b2bf7cce6a636c
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
3 years agoimages: Add tizen logo bitmap file
Sylwester Nawrocki [Tue, 1 Dec 2020 09:04:46 +0000 (10:04 +0100)]
images: Add tizen logo bitmap file

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
3 years agogitattributes: Denote *.bmp.gz files as binary
Sylwester Nawrocki [Tue, 1 Dec 2020 09:03:38 +0000 (10:03 +0100)]
gitattributes: Denote *.bmp.gz files as binary

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
3 years agoboard: w400: Add thor progress bar
Sylwester Nawrocki [Thu, 26 Nov 2020 19:55:47 +0000 (20:55 +0100)]
board: w400: Add thor progress bar

On thor connection a text notification is shown on the video console
and then graphic progress bar is drawn notifying about thor flashing
progress.

Based on patch from tizen-tm4 u-boot tree
 "bbdd221168b5 enable simple THOR download progress display"
 Author: Marek Szyprowski <m.szyprowski@samsung.com>

Change-Id: Iba4945ae26358936de1e1847d0095f97e6ab3498
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
3 years agothor: Add API for status notifications
Sylwester Nawrocki [Wed, 25 Nov 2020 17:54:28 +0000 (18:54 +0100)]
thor: Add API for status notifications

This allows to register a callback by the board code for thor status
notifications, e.g. for flashing progress updates.

Change-Id: Ic1eaad7f3f5adbca404162b745a9287d5a9ae247
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
3 years agoarm64: dts: meson: Add default timings for VPU
Sylwester Nawrocki [Fri, 27 Nov 2020 17:12:30 +0000 (18:12 +0100)]
arm64: dts: meson: Add default timings for VPU

These timings can be used as a fallback for UHD HDMI monitors since
the A311D SoC HDMI transmitter supports only up to 1920x1080 resolution.
Any supported timings found in EDID will be used instead of these default
values.

The timing data derived from patch 0220-hdmi_edid_fail_try_full_hd.patch
from https://github.com/hyphop/khadas-uboot/archive/last.zip.

Change-Id: Iff06db8b9582d4037e7bb9a42a8e9cca96cb1db0
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
3 years agovideo: meson: vpu: Add fallback to default display timings from DT
Sylwester Nawrocki [Wed, 25 Nov 2020 19:13:55 +0000 (20:13 +0100)]
video: meson: vpu: Add fallback to default display timings from DT

The HDMI transmitter supports only up to 1920x1080 resolutions and 4K
monitors might not specify detailed timings in EDID other than for their
maximum resolution, even though they work with lower resolutions like
full HD. In such case display_read_timings() will fail breaking
the video output driver initialization. To prevent this add a fallback
to default timing as specified in DT in the vpu node.

This patch allows to use 4K monitors with VIM3(L) boards.

Change-Id: I84f4b33c8408d01d3463a89e5e88c91fc95742f5
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
3 years agovideo: Fix line padding calculation for 16 and 24 bpp bitmaps
Sylwester Nawrocki [Wed, 25 Nov 2020 11:13:12 +0000 (12:13 +0100)]
video: Fix line padding calculation for 16 and 24 bpp bitmaps

The line size in the bitmap file is multiple of 4 bytes. In current code
the complement of row size to a multiple of 4 bytes is further unnecessarily
multiplied by the pixel size. This result in incorrect displaying of bitmaps
with image width which is not multiple of 4 pixels. Fix this by removing
the unnecessary multiplication.

Tested with 24BPP bitmap and XRGB32 display.

Change-Id: I9bd307780e388a70f47823444fe3ecdf910d08fb
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
3 years agopackaging: u-boot-kvim3l: add kvim3l spec file 65/248365/1
Jaehoon Chung [Thu, 26 Nov 2020 01:06:11 +0000 (10:06 +0900)]
packaging: u-boot-kvim3l: add kvim3l spec file

Add kvim3l spec file for khadas-vim3l.

Change-Id: Ie7ddaaab70a3218a81927ccef9953bdb41e4eb52
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agotizen: bootscript: create one bootscript for amlogic boards 64/248364/1
Jaehoon Chung [Wed, 25 Nov 2020 23:12:45 +0000 (08:12 +0900)]
tizen: bootscript: create one bootscript for amlogic boards

Create one bootscript for amlogic boards.
There is a common variable to use about each boards. So it can be
reused.
Remove each bootscript files. Instead, use one script file with
board_name.

Change-Id: If50529fc1f34f3ac274ce8a0955499f3e3e12d22
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agotizen: bootscript: remove vim3l boot script 33/248333/2
Jaehoon Chung [Wed, 25 Nov 2020 10:30:44 +0000 (19:30 +0900)]
tizen: bootscript: remove vim3l boot script

Remove vim3l boot sript.
Instead, use tizen-boot-khadas-vim3-64b.scr.
In future, it can be used one image after combined other amlogic script.

Change-Id: Ifa16622ca0507db6b61720d7cddd3bd66bfbb07f
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agotizen: bootscript: remove fdtfile in boot script 32/248332/1
Jaehoon Chung [Wed, 25 Nov 2020 10:19:55 +0000 (19:19 +0900)]
tizen: bootscript: remove fdtfile in boot script

Remove fdtfile in boot script file.
Move fdtfile variable from bootscript to tizen_amlogic header.

Change-Id: I7c87253eab09332e6ab73e5174bf93a95fde60f7
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agotizen: bootscript: move boot scripts under bootscript directory 31/248331/1
Jaehoon Chung [Wed, 25 Nov 2020 09:31:13 +0000 (18:31 +0900)]
tizen: bootscript: move boot scripts under bootscript directory

Move each bootscript files to tizen/bootscript directory.
It's more easier to maintain which boot script is used for tizen than now

Change-Id: I435fdf8352195091763226fdbb05b844219f5842
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agobuild: kvim3: add vim3l in build-kvim3 script 30/248330/1
Jaehoon Chung [Wed, 25 Nov 2020 09:20:58 +0000 (18:20 +0900)]
build: kvim3: add vim3l in build-kvim3 script

There is no reason not to reuse build-kvim3 script.
If one wants to build vim3 or vim3l, pass the argument as target name.
- ./build-kvim3.sh vim3 or vim3l

Change-Id: I645e52f8dc97269e2048c0a2357755029dcfe7d9
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoamlogic: w400: add tizen boot script for vim3l 29/248329/1
Jaehoon Chung [Wed, 25 Nov 2020 09:08:51 +0000 (18:08 +0900)]
amlogic: w400: add tizen boot script for vim3l

Add tizen boot script for vim3l.

Change-Id: I77503992af9bc3955ddd4fefd71ded12351f20d6
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agosamsung: tizen_amlogic: add khadas vim3l environment value 89/248289/2
Jaehoon Chung [Wed, 25 Nov 2020 03:01:20 +0000 (12:01 +0900)]
samsung: tizen_amlogic: add khadas vim3l environment value

Add khadas vim3l environment value to use thor download.

Change-Id: Ie97abfee1c48ad43c29c7539a1835593e24ecc5b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoARM: meson: Add TIZEN_KHADAS_VIM3L config 88/248288/2
Jaehoon Chung [Wed, 25 Nov 2020 02:54:23 +0000 (11:54 +0900)]
ARM: meson: Add TIZEN_KHADAS_VIM3L config

Add TIZEN_KHADAS_VIM3L config and enable it.

Change-Id: I20c431b4cc5f54f1ea8f24dbc8e94290e6047f96
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoconfigs: khadas: enable configurations relevant to Tizen 87/248287/1
Jaehoon Chung [Wed, 25 Nov 2020 02:32:58 +0000 (11:32 +0900)]
configs: khadas: enable configurations relevant to Tizen

Enable configurations relevant to Tizen.

Change-Id: I66dc227aa94ec7626558df611790a829b4bef165
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agofip: kvim3l: add the prebuilt images to make u-boot image 86/248286/1
Jaehoon Chung [Tue, 24 Nov 2020 04:44:07 +0000 (13:44 +0900)]
fip: kvim3l: add the prebuilt images to make u-boot image

Add the prebuilt images to make u-boot image.
It's from khadas opensource github.
https://github.com/khadas/u-boot.gi -b khadas-vims-v2015.01

Refer to doc/board/amlogic/khadas-vim3l.rst

Change-Id: I579d9375a682c5e737080950ae25009032c7584e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agotizen: sd_fusing_amlogic: sync with recent script for old tools 71/248271/1
Seung-Woo Kim [Wed, 25 Nov 2020 02:49:27 +0000 (11:49 +0900)]
tizen: sd_fusing_amlogic: sync with recent script for old tools

The script was not fully sync with recent sd_fusing script change
and it cayses old sfdisk size issue because not enough EXTEND_SZ
to align block offset in extended partition. Update the parts with
recent rpi fusing script and also remove duplicated data size
variable.

Change-Id: I5bd939f9a29093d9acaf76e2b4cae7b1c8ae2de0
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
3 years agoARM: meson: Temporary fix for OdroidC4 SD card reboot issue 05/248105/2
Marek Szyprowski [Fri, 20 Nov 2020 12:17:46 +0000 (13:17 +0100)]
ARM: meson: Temporary fix for OdroidC4 SD card reboot issue

For the proper reboot OdroidC4 requires to switch TFLASH_VDD_EN pin to
the input (high impedance?) mode. This should be handled by the proper
reset driver, but until then implement this logic in the common code.

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

3 years agotizen: amlogic: remove unused environment values 93/247993/1
Jaehoon Chung [Thu, 19 Nov 2020 03:28:29 +0000 (12:28 +0900)]
tizen: amlogic: remove unused environment values

Remove unused environment values.
It doesn't need to enter the flash mode with inform file.
If it needs to consider the flash mode, then we can use Amlogic's
scheme with secure monitor command.

Change-Id: Ia5374f7b2f411c3a48c0d469c837541875f0f84a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agosamsung: tizen_amlogic: fix wrong defined name 92/247992/1
Jaehoon Chung [Thu, 19 Nov 2020 04:28:48 +0000 (13:28 +0900)]
samsung: tizen_amlogic: fix wrong defined name

Fix wrong defined name from KVIM3 to VIM3.
It's occurred a build error on gbs system.

Change-Id: Icff90e97d3e5b3c655ac0685780281b9ad414859
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agosamsung: tizen_amlogic: increase u-boot size for raw write 53/247853/1
Jaehoon Chung [Tue, 17 Nov 2020 11:35:14 +0000 (20:35 +0900)]
samsung: tizen_amlogic: increase u-boot size for raw write

Increase u-boot size from 0x850 to 0x1000.
- From 1M to 2M.
If u-boot image is over 1064K (0x850), then it will be broken.

Change-Id: I95b8a0b074d5c4b2877b98c2e5cd4057941fda64
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agotizen: amlogic: make 'dfu_alt_info' static 49/247849/2
Marek Szyprowski [Tue, 17 Nov 2020 10:16:28 +0000 (11:16 +0100)]
tizen: amlogic: make 'dfu_alt_info' static

The data layout on the storage device is the same for both eMMC and SD
card, so after switching to the default boot MMC device, the 'dfu_alt_info'
string is static, 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 Amlogic boards.

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

3 years agotizen: amlogic: move trailing '\0' to the common place 48/247848/2
Marek Szyprowski [Tue, 17 Nov 2020 10:06:45 +0000 (11:06 +0100)]
tizen: amlogic: move trailing '\0' to the common place

To make the env setup a bit more error proof, move the required trailing
'\0' character for the 'boot_prefixes' entry to the common place.

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

3 years agotizen: amlogic: fix separators in env entries setup 47/247847/2
Marek Szyprowski [Tue, 17 Nov 2020 10:09:00 +0000 (11:09 +0100)]
tizen: amlogic: fix separators in env entries setup

The proper separator for environment entries is '\0' not '\n'.

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

3 years agotizen: amlogic: automatically set "dfu_device" env 46/247846/2
Marek Szyprowski [Tue, 17 Nov 2020 09:59:13 +0000 (10:59 +0100)]
tizen: amlogic: automatically set "dfu_device" env

Automatically set "dfu_device" to the current boot MMC device number. This
allows to call dfu/thor/ums commands without any parameters for the default
storage device.

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

3 years agodfu: mmc: use the default MMC device if entity specifies it as -1 45/247845/2
Marek Szyprowski [Tue, 17 Nov 2020 09:45:46 +0000 (10:45 +0100)]
dfu: mmc: use the default MMC device if entity specifies it as -1

Use the default MMC device set in the command line if entity specifies it
as -1. This allows to use the same dfu_alt_info string for different MMC
devices (like embedded eMMC and external SD card if data layout is the
same).

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

3 years agocmd: ums: add getting the default parameters from env 44/247844/1
Marek Szyprowski [Tue, 17 Nov 2020 09:56:34 +0000 (10:56 +0100)]
cmd: ums: add getting the default parameters from env

Add reading command parameters from the environment. The same environment
variables are used as for the "dfu" and "thor" commands. This allows to
specify USB controller ("dfu_usb_con"), device interface ("dfu_interface")
and device number ("dfu_device"). Such change allows to call "ums" without
any parameters for the default storage device.

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

3 years agocmd: ums: show device interface name in the information string 43/247843/1
Marek Szyprowski [Tue, 17 Nov 2020 09:51:20 +0000 (10:51 +0100)]
cmd: ums: show device interface name in the information string

Add interface name (i.e. 'mmc') in the information string to ease user
checking which device is exported via USB Mass Storage protocol.

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

3 years agocmd: dfu: fix using the default parameters from envirnoment 42/247842/1
Marek Szyprowski [Tue, 17 Nov 2020 09:49:20 +0000 (10:49 +0100)]
cmd: dfu: fix using the default parameters from envirnoment

This fixes commit 3768df292a8 ("samsung: misc_init_r: insert call to
platform_setup()") after rebase, because due to other changes, that code
was never reached.

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

3 years agotizen: sd_fusing_amlogic: wait a bit before creating filesystems 88/247688/4
Marek Szyprowski [Fri, 13 Nov 2020 10:17:44 +0000 (11:17 +0100)]
tizen: sd_fusing_amlogic: wait a bit before creating filesystems

With Ubuntu 18.04 and slow SD card I've observed that partition scan
takes too much time, so the calls to create filesystems on the created
partitions fail. Partition rescan is done asynchronously so there is no
easy way to check it. Force a 2 seconds delay before creating filesystems
to avoid this issue.

This fixes the following issue:
--->8---
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
mkfs.fat 4.1 (2017-01-24)
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mkfs.vfat: unable to open /dev/sdb1: No such file or directory
mkfs.ext4: Device size reported to be zero.  Invalid partition specified, or
        partition table wasn't reread after running fdisk, due to
        a modified partition being busy and in use.  You may need to reboot
        to re-read your partition table.

mkfs.ext4: Device size reported to be zero.  Invalid partition specified, or
        partition table wasn't reread after running fdisk, due to
        a modified partition being busy and in use.  You may need to reboot
        to re-read your partition table.

mkfs.ext4: Device size reported to be zero.  Invalid partition specified, or
        partition table wasn't reread after running fdisk, due to
        a modified partition being busy and in use.  You may need to reboot
        to re-read your partition table.

mkfs.ext4: Device size reported to be zero.  Invalid partition specified, or
        partition table wasn't reread after running fdisk, due to
        a modified partition being busy and in use.  You may need to reboot
        to re-read your partition table.

mkfs.ext4: Device size reported to be zero.  Invalid partition specified, or
        partition table wasn't reread after running fdisk, due to
        a modified partition being busy and in use.  You may need to reboot
        to re-read your partition table.

mkfs.ext4: Device size reported to be zero.  Invalid partition specified, or
        partition table wasn't reread after running fdisk, due to
        a modified partition being busy and in use.  You may need to reboot
        to re-read your partition table.

mkfs.ext4: Device size reported to be zero.  Invalid partition specified, or
        partition table wasn't reread after running fdisk, due to
        a modified partition being busy and in use.  You may need to reboot
        to re-read your partition table.

mkfs.ext4: Device size reported to be zero.  Invalid partition specified, or
        partition table wasn't reread after running fdisk, due to
        a modified partition being busy and in use.  You may need to reboot
        to re-read your partition table.

End /dev/sdb format
--->8---

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

3 years agotizen: build scripts: use cross compiler from env if provided 05/247605/5
Marek Szyprowski [Thu, 12 Nov 2020 14:17:53 +0000 (15:17 +0100)]
tizen: build scripts: use cross compiler from env if provided

If user set CROSS_COMPILE env in his shell, use it instead of the
hard-coded path ("/usr/bin/aarch64-linux-gnu-") from the scripts.

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

3 years agotizen: use compressed kernel image 04/247604/5
Marek Szyprowski [Thu, 12 Nov 2020 14:14:52 +0000 (15:14 +0100)]
tizen: use compressed kernel image

To speed-up kernel load and reduce total image size, use compressed kernel
image.

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

3 years agoboard: amlogic: add proper boot device detection for params.bin load 01/247601/5
Marek Szyprowski [Thu, 12 Nov 2020 11:49:53 +0000 (12:49 +0100)]
board: amlogic: add proper boot device detection for params.bin load

Detect eMMC/SD card boot and report proper MMC device to the environment
loading code. This requires to use an empty device part in
CONFIG_ENV_FAT_DEVICE_AND_PART to let the code update the device to the
value returned by mmc_get_env_dev() function.

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

3 years agoboard: amlogic: remove prefixes in boot scripts 37/247537/1
Jaehoon Chung [Thu, 12 Nov 2020 01:07:31 +0000 (10:07 +0900)]
board: amlogic: remove prefixes in boot scripts

Remove prefixes in boot scripts. Instead, use boot_prefixes about each
boards.
Add a debug message for checking a directory.
If there is no kernel image under odroid-c4 directory, then it will
search for kernel image under /.

Change-Id: I4ca259c31bf8b8a360d9095d5039adcdf77d5590
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agosamsung: tizen_amlogic: fix directory path about thor fail 36/247436/2
Jaehoon Chung [Wed, 11 Nov 2020 02:01:29 +0000 (11:01 +0900)]
samsung: tizen_amlogic: fix directory path about thor fail

Fix directory path about thor fail.
When flash to directory, it didn't match "/" with filename.

Change-Id: I5cc65c1b8aa5741dfab5b532c070d82146444f68
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoscript: tizen: add amlogic fusning script 29/247429/2
Jaehoon Chung [Wed, 11 Nov 2020 00:53:59 +0000 (09:53 +0900)]
script: tizen: add amlogic fusning script

Add amlogic fusning script.
- VIM3, VIM3L, Odroid-N2, Odroid-C4

Change-Id: I0331840839de5f8bbbea5c4bfd188089d8f9c853
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agosamsung: tizen_amlogic: add ramdisk-recovery in dfu_alt_system 28/247428/1
Jaehoon Chung [Wed, 11 Nov 2020 00:33:03 +0000 (09:33 +0900)]
samsung: tizen_amlogic: add ramdisk-recovery in dfu_alt_system

Add ramdisk-recovery image in dfu_alt_system.
Tizen is supporting ramdisk-recovery.

Change-Id: I68eb9205d9c5d2f6980d781c16b8415eb38d9a4e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoboard: amlogic: remove DFU_ALT_BOOT_SD about alt_boot 27/247427/1
Jaehoon Chung [Wed, 11 Nov 2020 00:25:48 +0000 (09:25 +0900)]
board: amlogic: remove DFU_ALT_BOOT_SD about alt_boot

It doesn't need to set to DFU_ALT_BOOT_SD.
It's only using raw write on Amlogic board. Not need to consider what
device is selected.

Change-Id: Ie444ded409f16e60e8622611bf2135b034940ecd
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agommc: meson_gx_mmc: enable DDR_52MHz mode 78/247378/2
Jaehoon Chung [Tue, 10 Nov 2020 08:02:55 +0000 (17:02 +0900)]
mmc: meson_gx_mmc: enable DDR_52MHz mode

Enable DDR_52MHz mode.

Change-Id: I6bdebff8069f901fe7fc7fdd551d02e0ba89c60e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agommc: meson_gx_mmc: control ddr_mode bit 77/247377/1
Jaehoon Chung [Tue, 10 Nov 2020 07:44:53 +0000 (16:44 +0900)]
mmc: meson_gx_mmc: control ddr_mode bit

EMMC_CFG register has a cfg_ddr bit(BIT[2]).
It needs to set when mmc is running to ddr mode.
Otherwise, its bit should be cleared.
CFG_DDR[2] - 1: DDR mode, 0: SDR mode

Change-Id: I5b1ddc6492e9c0d90e974fa31b13eacdee6e38e3
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agotizen: add build script about amlogic board 76/247376/1
Jaehoon Chung [Tue, 10 Nov 2020 07:07:20 +0000 (16:07 +0900)]
tizen: add build script about amlogic board

It's complicated to build amlogic boards.
It will be helpful to provide the build script about each boards.

Change-Id: Iaa17e3a728ba323e2de81f6deaf1b3bf92b91ae5
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoboard: amlogic: add odroid-c4 boot script for tizen 53/247253/1 accepted/tizen/unified/20201110.125028 submit/tizen/20201110.005738
Jaehoon Chung [Mon, 9 Nov 2020 07:48:24 +0000 (16:48 +0900)]
board: amlogic: add odroid-c4 boot script for tizen

Add boot script for tizen.

Change-Id: If5c3992d710c0edda4a6641edfa07671bcc5f3a7
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agopackaging: u-boot-c4: Add u-boot-c4 spec file 52/247252/1
Jaehoon Chung [Mon, 9 Nov 2020 07:09:23 +0000 (16:09 +0900)]
packaging: u-boot-c4: Add u-boot-c4 spec file

Add u-boot-c4 spec file.

Change-Id: I7452d64821cad3ff32c87233fe7c08b825988641
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agosamsung: tizen_amlogic: remove CONFIG_SYS_PROMPT in header file 51/247251/1
Jaehoon Chung [Mon, 9 Nov 2020 06:34:21 +0000 (15:34 +0900)]
samsung: tizen_amlogic: remove CONFIG_SYS_PROMPT in header file

Remove CONFIG_SYS_PROMPT in tizen_amlogic header file.
Instead, it's enabled in each defconfigs with correct board name.

Change-Id: I8d47240e2af97bb2833f4af8720d019588a72e22
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agosamsung: tizen_amlogic: add alt_system info for odroid-c4 50/247250/1
Jaehoon Chung [Mon, 9 Nov 2020 06:16:25 +0000 (15:16 +0900)]
samsung: tizen_amlogic: add alt_system info for odroid-c4

Add alt_system information for Odroid-C4.
- Kernel will be located to /odroid-c4/ directory.

Change-Id: I4b337349e465bdd3df5864bb724f78903d4ee46c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoconfigs: odroid-c4: fix ENV_SIZE and other configs 49/247249/1
Jaehoon Chung [Mon, 9 Nov 2020 04:53:52 +0000 (13:53 +0900)]
configs: odroid-c4: fix ENV_SIZE and other configs

Fix ENV_SIZE and other configs.
- Change from 0x2000 to 0x4000
- SYS_MMC_ENV_DEV/PART set to 1.
- Enable CONFIG_TIZEN_ODROID_C4
- SYS_PROMPT is "Odroid C4>"

Change-Id: I888b3b531152663566a646f024c408c66f8d7bf3
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoconfigs: odroid-c4: support THOR protocol on Odroid-C4 48/247248/1
Jaehoon Chung [Mon, 9 Nov 2020 04:37:31 +0000 (13:37 +0900)]
configs: odroid-c4: support THOR protocol on Odroid-C4

Support THOR protocol on Odroid-C4.

Change-Id: I3e1b20139e9064dcdfd4b87af89f7ce520b0cbc2
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoboard: odroid-n2: set an alt_boot information for odroid-c4 47/247247/1
Jaehoon Chung [Mon, 9 Nov 2020 04:36:17 +0000 (13:36 +0900)]
board: odroid-n2: set an alt_boot information for odroid-c4

Set an alt_boot information for odroid-c4.

Change-Id: I4add745c1f37f31105241773361cd7dc08aed08f
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agosamsung: tizen_amlogic: add dfu_alt_boot for Odroid-C4 46/247246/1
Jaehoon Chung [Mon, 9 Nov 2020 04:34:59 +0000 (13:34 +0900)]
samsung: tizen_amlogic: add dfu_alt_boot for Odroid-C4

Add dfu_alt_boot for Odroid-C4.
Bootloader name should be u-boot-c4.bin.

Change-Id: Iea4be8183124213333722733cbc65166fdb87f5f
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoARM: meson: Add TIZEN_ODROID_C4 config 45/247245/1
Jaehoon Chung [Mon, 9 Nov 2020 04:19:02 +0000 (13:19 +0900)]
ARM: meson: Add TIZEN_ODROID_C4 config

Add TIZEN_ODROID_C4 configuration.
It's to disinguish with other amlogic boards.

Change-Id: I41eebb30a22538f53d25bf34646b796d3d608d99
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agommc: meson_gx_mmc: change a clock phase to stable value 14/247214/1
Jaehoon Chung [Mon, 9 Nov 2020 03:04:14 +0000 (12:04 +0900)]
mmc: meson_gx_mmc: change a clock phase to stable value

Core clock phase value is changed from 180' to 270'.
It's more stable than before.
- Odroidn-N2/C4 : Working fine
- VIM3 : Working fine

Before this patch, Odroid-C4 doesn't work fine with 52MHz.

Change-Id: Ica3b034a9c229b76e23cd3a5cb90fbf1f1350f34
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agofip: add the prebuilt image to use odroid-c4 13/247213/1
Jaehoon Chung [Fri, 6 Nov 2020 00:12:46 +0000 (09:12 +0900)]
fip: add the prebuilt image to use odroid-c4

Add the prebuilt image to use odroid-c4.
These files are taken from hardkernel github and built in local.
- https://github.com/hardkernel/u-boot.git -b odroidg12-v2015.01
Refer to doc/board/amlogic/odroid-c4.rst

Change-Id: If030fccddd2fcc96c051b363695ad825cca1d25b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoconfigs: enable CONFIG_SET_DFU_ALT_INFO in defconfig 08/247008/1
Jaehoon Chung [Fri, 6 Nov 2020 04:08:33 +0000 (13:08 +0900)]
configs: enable CONFIG_SET_DFU_ALT_INFO in defconfig

Enable CONFIG_SET_DFU_ALT_INFO in defconfig instead of header file.

Change-Id: I5825eb9a0d524df2c001ee51caa7f02b0fb98a74
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoconfigs: odroid-n2: fix ENV_SIZE and other configs
Jaehoon Chung [Thu, 5 Nov 2020 03:11:37 +0000 (12:11 +0900)]
configs: odroid-n2: fix ENV_SIZE and other configs

Fix ENV_SIZE and other configs.
- Change from 0x2000 to 0x4000
- SYS_MMC_ENV_DEV/PART is set to 1

Change-Id: I3048e7a2838a6ce46c8986685791309619e66028
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoconfigs: khadas-vim3: fix ENV_SIZE and other configs
Jaehoon Chung [Wed, 4 Nov 2020 01:24:42 +0000 (10:24 +0900)]
configs: khadas-vim3: fix ENV_SIZE and other configs

Fix ENV_SIZE and other configs.
- Change from 0x2000 to 0x4000
- SYS_MMC_ENV_DEV/PART is set to 1

Change-Id: I094c493e374017deeaa413404fa8445b31c255c6
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agosamsung: tizen_amlogic: add TIZEN_BOOT_PREFIX to load script
Jaehoon Chung [Mon, 2 Nov 2020 00:03:01 +0000 (09:03 +0900)]
samsung: tizen_amlogic: add TIZEN_BOOT_PREFIX to load script

Add TIZEN_BOOT_PREFIX to load a boot script.

Change-Id: Ie309ebc86baf9558070e0b56c973d7661f1d9d99
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoconfigs: meson64: relocate a config_distro_bootcmd header
Jaehoon Chung [Sun, 1 Nov 2020 23:56:31 +0000 (08:56 +0900)]
configs: meson64: relocate a config_distro_bootcmd header

Relocate a config_distor_bootcmd header before setting
CONGIT_EXTRA_ENV_SETTING.

Change-Id: I84272c9292c32c40d96693d622be31e9e7ac59c4
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoARM: meson: Kconfig: Add Tizen specific configuration
Jaehoon Chung [Sun, 1 Nov 2020 23:43:07 +0000 (08:43 +0900)]
ARM: meson: Kconfig: Add Tizen specific configuration

Add Tizen Specific configuratoin.
- Enable tizen configuration to distinguish which board is used.

Change-Id: I09329b59cb7c2c47f72198a4bebde6ee511ffc7b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoboard: amlogic: change a prefixes to search image files
Jaehoon Chung [Sun, 1 Nov 2020 23:41:13 +0000 (08:41 +0900)]
board: amlogic: change a prefixes to search image files

Change a prefixes to search image files.
- odroid-n2 : under odroid-n2 directory
- kvim3     : under vim3 directory

Change-Id: I86c2461b328e53f0b80979618acb2082bc82e9cc
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agopackaging: add directory about each targets
Jaehoon Chung [Sun, 1 Nov 2020 23:39:11 +0000 (08:39 +0900)]
packaging: add directory about each targets

Add directory about each targets.
- odroid-n2 / vim3
- The images of each targets will be located into there.

Change-Id: I2453d508975e2127fc66c500bfd1cf71b1fbd5ad
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agosamsung: tizen_amlogic: update dfu_alt_system information
Jaehoon Chung [Fri, 30 Oct 2020 11:12:07 +0000 (20:12 +0900)]
samsung: tizen_amlogic: update dfu_alt_system information

Update dfu_alt_system information.
Each files can be flashed to proper folder.

Change-Id: Ie2801e0e811ed8d191bfc70d5831c5d25d10454d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoconfigs: khadas-vim3: enable persistent env on first FAT partition
Jaehoon Chung [Fri, 30 Oct 2020 09:55:27 +0000 (18:55 +0900)]
configs: khadas-vim3: enable persistent env on first FAT partition

This allows to save the environment variables (i.e. ipaddr, serverip, and so on) on the eMMC.

Change-Id: I72d80045aa3891acc01fd41821b9a344b92a5661
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoconfigs: odroid-n2: enable persistent env on first FAT partition
Marek Szyprowski [Fri, 30 Oct 2020 09:29:10 +0000 (18:29 +0900)]
configs: odroid-n2: enable persistent env on first FAT partition

This allows to save the environment variables (i.e. ipaddr, serverip, and so on) on the eMMC.

Change-Id: I22f04cc7654ccd7e88f6c715df167cacd4b538ea
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoboard: amlogic: add a skip layout in dfu_boot_info
Jaehoon Chung [Fri, 30 Oct 2020 07:22:32 +0000 (16:22 +0900)]
board: amlogic: add a skip layout in dfu_boot_info

Add a "skip" layout in dfu_boot_info.
- kvim3 target: u-boot-n2.bin will be skipped.
- odroid-n2 target: u-boot-kvim3.bin will be skipped.

Change-Id: I2a81f88c1610d3e5a13e560a4d5cc6c2322df538
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agodfu: add DFU_SKIP layout concept
Jaehoon Chung [Fri, 30 Oct 2020 06:45:25 +0000 (15:45 +0900)]
dfu: add DFU_SKIP layout concept

Add DFU_SKIP layout concept.
If layout is "skip", it will be skipped after nothing to do.
- Add information into dfu_alt info
e.g) "u-boot.bin skip 0 0"

Change-Id: I96af2630ffabe87b71e514cad7bcc3513f221159
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoboard: amlogic: remove CONFIG_ prefix about dfu information
Jaehoon Chung [Fri, 30 Oct 2020 03:00:03 +0000 (12:00 +0900)]
board: amlogic: remove CONFIG_ prefix about dfu information

Remove CONFIG_ prefix about dfu information.

Change-Id: I733ff160fa98ac0f70b8d76a0f17fb1d463724f5
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agopackaging: add amlogic boards spec files
Jaehoon Chung [Thu, 29 Oct 2020 23:10:38 +0000 (08:10 +0900)]
packaging: add amlogic boards spec files

Add amlogic boards spec files.
- u-boot-kvim3 : Khadas VIM3
- u-boot-n2 : Odroid N2

Change-Id: I77da10475a692be348be094df592141f1e6d4088
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoboard: amlogic: add set_dfu_alt_info in odroid-n2.c
Jaehoon Chung [Tue, 27 Oct 2020 08:13:22 +0000 (17:13 +0900)]
board: amlogic: add set_dfu_alt_info in odroid-n2.c

Add set_dfu_alt_info in odroid-n2.c.

Change-Id: Ic705a38a221af7dfcdb5a67321739c84a79f61df
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoconfigs: khadas-vim3: enable FAT_WRITE config
Jaehoon Chung [Tue, 26 May 2020 07:22:32 +0000 (16:22 +0900)]
configs: khadas-vim3: enable FAT_WRITE config

Enable FAT_WRITE configuration.

Change-Id: I5226a34965ef402639865fffbb8f24ba4c7449e1
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agosamsung: tizen_amlogic: add kvim3_linux.dtb into dfu_info
Jaehoon Chung [Tue, 26 May 2020 06:55:13 +0000 (15:55 +0900)]
samsung: tizen_amlogic: add kvim3_linux.dtb into dfu_info

Add kvim3_linux.dtb in dfu_inf.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoconfigs: khadas-vim3: enable configs relevant to video
Jaehoon Chung [Tue, 26 May 2020 04:15:51 +0000 (13:15 +0900)]
configs: khadas-vim3: enable configs relevant to video

Enable configs relevant to video.
- Before enabled this, it was occurred panic during kernel booting.

Change-Id: I97fe4d440c057a04f92ea16c3551072b74ae0ce7
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoconfigs: khadas-vim3: enable configs relevant to thor command
Jaehoon Chung [Tue, 26 May 2020 04:00:16 +0000 (13:00 +0900)]
configs: khadas-vim3: enable configs relevant to thor command

Enable configs relevant to thor command.

Change-Id: Ib77bf6ae5f5878dfcadb680af6d2017c983e4400
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoarm: dts: meson-khadas-vim3: disable sdio interface
Jaehoon Chung [Tue, 26 May 2020 03:35:55 +0000 (12:35 +0900)]
arm: dts: meson-khadas-vim3: disable sdio interface

Disable sdio interface for WiFi.
U-boot doesn't support Wifi.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoboard: amlogic: add the boot script for vim3
Jaehoon Chung [Tue, 26 May 2020 02:41:30 +0000 (11:41 +0900)]
board: amlogic: add the boot script for vim3

Add the boot script for vim3.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agofip: kvim3: add prebuilt firmware files for VIM3
Jaehoon Chung [Mon, 25 May 2020 08:27:28 +0000 (17:27 +0900)]
fip: kvim3: add prebuilt firmware files for VIM3

Add prebuilt firmware files for VIM3.
- https://github.com/khadas/u-boot.git -b khadas-vims-v2015-01

Change-Id: Id8d87bfc702c8f3d05909088ae3a6daea0e1c7ef
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agofip: move files to n2 directory
Jaehoon Chung [Mon, 25 May 2020 06:49:47 +0000 (15:49 +0900)]
fip: move files to n2 directory

Move files to n2 directory.

Change-Id: Ifef7645fa876069a933462e647c6d839d92ab7bb
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoboard: amlogic: tizen-boot-odroid-n2: change a loading address
Jaehoon Chung [Sun, 10 May 2020 22:37:04 +0000 (07:37 +0900)]
board: amlogic: tizen-boot-odroid-n2: change a loading address

Change a loading address to prevent the overwritten image.
When Kernel image is increased, it's overwriting ramdisk area.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoboard: amlogic: fix build warning and add fdt/initrd_high
Jaehoon Chung [Sun, 10 May 2020 22:37:01 +0000 (07:37 +0900)]
board: amlogic: fix build warning and add fdt/initrd_high

Fix build warning and add fdt_high/initrd_high.
(it's taken from Hardkernel u-boot.)

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoconfigs: odroind-n2: enable FAT_WRITE config
Jaehoon Chung [Sun, 10 May 2020 22:36:57 +0000 (07:36 +0900)]
configs: odroind-n2: enable FAT_WRITE config

Enable FAT_WRITE config.
It's used when kernel image is flashed to vfat partition.

Change-Id: Ifd0812cb402b57f2e573354c3dc02fdb3b266895
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoinclude: tizen_amlogic: fix hardcoding about device number
Jaehoon Chung [Sun, 10 May 2020 22:36:53 +0000 (07:36 +0900)]
include: tizen_amlogic: fix hardcoding about device number

devnmu will be set to correct value at booting time.
SD   - devnum : 0
eMMC - devnum :1

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agousb: gadget: f_thor: use small packet and store unit size for N2
Jaehoon Chung [Sun, 10 May 2020 22:36:50 +0000 (07:36 +0900)]
usb: gadget: f_thor: use small packet and store unit size for N2

Use samll packet size and store unit size for Odroid-N2.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoinclude: tizen_amlogic: set dfu buf/max file size
Jaehoon Chung [Sun, 10 May 2020 22:36:47 +0000 (07:36 +0900)]
include: tizen_amlogic: set dfu buf/max file size

Set dfu buf/max file size.
And changed image names for amlogic.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoconfigs: odrond-n2: enable THOR configurations
Jaehoon Chung [Sun, 10 May 2020 22:36:44 +0000 (07:36 +0900)]
configs: odrond-n2: enable THOR configurations

Enable THOR configurations.

Change-Id: Iea9914004f98e15dd2436a63ea6d6ea04efdacff
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoboard: w400: add dfu functions to set dfu's information
Jaehoon Chung [Sun, 10 May 2020 22:36:40 +0000 (07:36 +0900)]
board: w400: add dfu functions to set dfu's information

Add dfu function to set dfu's information.
It's Tizen specific functions.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoconfigs: odroid-n2: enable configs relevant to video
Jaehoon Chung [Sun, 10 May 2020 22:36:35 +0000 (07:36 +0900)]
configs: odroid-n2: enable configs relevant to video

Enable configs relevant to video.

Change-Id: Ib5a7c75c74d6cd644b0dab50b3f80e9d64237cc9
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years ago[WIP] meson: board-g12a: add COFNIG_TIZEN about reserved memory
Jaehoon Chung [Sun, 10 May 2020 22:36:32 +0000 (07:36 +0900)]
[WIP] meson: board-g12a: add COFNIG_TIZEN about reserved memory

Add CONFIG_TIZEN about reserved-memory for secure monitor.
- This is for using only Hardkernel's kernel.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agosamsung: tizen_amlogic: add CONFIG_SYS_MEM_TOP_HIDE
Jaehoon Chung [Sun, 10 May 2020 22:35:48 +0000 (07:35 +0900)]
samsung: tizen_amlogic: add CONFIG_SYS_MEM_TOP_HIDE

Add CONFIG_SYS_MEM_TOP_HIDE as 0x08000000.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoboard: amlogic: tizen-board-odroid-n2: add earlycon into bootargs
Jaehoon Chung [Sun, 10 May 2020 22:35:44 +0000 (07:35 +0900)]
board: amlogic: tizen-board-odroid-n2: add earlycon into bootargs

Add earlycon into bootargs.
N2 - aml-uart,0xff803000

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agosamsung: tizen_amlogic: change SYS_PROMPT value
Jaehoon Chung [Sun, 10 May 2020 22:35:40 +0000 (07:35 +0900)]
samsung: tizen_amlogic: change SYS_PROMPT value

Change SYS_PROMPT value from "=>" to "Odroid N2>".

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoboard: amlogic: tizen-boot-odorid-n2: update kernel address
Jaehoon Chung [Sun, 10 May 2020 22:35:19 +0000 (07:35 +0900)]
board: amlogic: tizen-boot-odorid-n2: update kernel address

Update kernel address.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoconfigs: tizen_amlogic: add tizen specific haeder for amlogic
Jaehoon Chung [Sun, 10 May 2020 22:35:15 +0000 (07:35 +0900)]
configs: tizen_amlogic: add tizen specific haeder for amlogic

Add Tizen specific header for amlogic.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agoamlogic: w400: add tizen-boot odroid-n2 script
Jaehoon Chung [Sun, 10 May 2020 22:34:55 +0000 (07:34 +0900)]
amlogic: w400: add tizen-boot odroid-n2 script

Add tizen-boot-odroid-n2 boot script.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agofip: add Amlogic prebuilt firmware files for Odroid-N2
Jaehoon Chung [Sun, 10 May 2020 22:34:24 +0000 (07:34 +0900)]
fip: add Amlogic prebuilt firmware files for Odroid-N2

Add amlogic prebilt firmware files for Odroind-N2.
It needs to make u-boot.bin.

Change-Id: I39b3b1145f4f9006632e97702db4e56cea651952
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
3 years agofip: set all file in fip dir as binary
Seung-Woo Kim [Thu, 29 Oct 2020 11:41:20 +0000 (20:41 +0900)]
fip: set all file in fip dir as binary

Change-Id: I44175d8d7f778f59649abb7d2310ace1346bf8b5
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>