Seung-Woo Kim [Fri, 3 Apr 2020 07:58:36 +0000 (16:58 +0900)]
scripts: tizen: sd_fusing: Check requested device
It is possible to request flashing a device which is non-existent
or unaccessible. Especially, request can flash non-removable
storage disk that user do not really intend. To skip all the case,
Check requested device.
For non removable disk, it will ask user really intended to flash
the device.
Change-Id: I7ee3363fe4075abd7b860acf26b6cbe65e6fa68c
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Marek Szyprowski [Wed, 25 Mar 2020 09:01:48 +0000 (10:01 +0100)]
net: bcmgenet: move PHY initialization from probe() to start()
Fix random network failures on subsequent network access by forcing PHY initialization on
every network access. This also fixes sudden link drop from 100baseT to 10baseT observed
from time to time.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I5bb55ce6546dec5449afea1bef036458563f287c
Marek Szyprowski [Wed, 25 Mar 2020 09:03:40 +0000 (10:03 +0100)]
net: nfs: show file offset and improve progress display
Always align progress display to the start of the column and show downloaded
file offset.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ia5e3185110e0dbfc89046854f8d612f6428af794
Marek Szyprowski [Wed, 25 Mar 2020 09:08:16 +0000 (10:08 +0100)]
net: ping: reset stored IP once the command finishes to avoid interrupting other protocols
Reset stored ping IP address before leaving the netloop to ensure that the subsequent calls
to the netloop, especially for the other protocols, won't be interrupted by the received
ICMP_ECHO_REPLY packet.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I0d90b3a6e9481c8e8237874eff8a9a12df4190e0
Marek Szyprowski [Wed, 25 Mar 2020 09:02:03 +0000 (10:02 +0100)]
cmd/nfsdown: fix summary message
Adjust summary message format to align properly with
'ramdisk-recovery.img' file.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I1747695718585f1a91e17a41ca12948b6db99a75
Marek Szyprowski [Wed, 25 Mar 2020 08:10:11 +0000 (09:10 +0100)]
cmd/nfsdown: fix download image names for all RPi variants
There is no single CONFIG option for all RPi variants, so preprocessor has to check all of them.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I730a7f29dbf529c3da1c06f075e4c7a52089bf6c
Seung-Woo Kim [Mon, 23 Mar 2020 09:07:32 +0000 (18:07 +0900)]
cmd/nfsdown: fix wrong null check for argument in do_mmc_init()
In do_mmc_init(), there is wrong null check for argument
instead of find_mmc_device() result. Fix wrong null check.
Change-Id: Ibbd2781bed7ae1a812563a5d77b2a4c46cf66523
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Marek Szyprowski [Mon, 23 Mar 2020 08:05:39 +0000 (09:05 +0100)]
cmd/nfsdown: fix recently introduced type mismatch issues
When u-boot is configured from odroid-xu3_defconfig, the compiler reports following warnings:
In file included from include/config.h:5:0,
from include/common.h:23,
from cmd/nfsdown.c:11:
cmd/nfsdown.c: In function ‘do_nfs_down’:
include/configs/odroid_xu3.h:16:32: warning: passing argument 1 of ‘do_nfs_to_fat’ makes pointer from integer without a cast [-Wint-conversion]
#define CONFIG_SYS_SDRAM_BASE 0x40000000
^
cmd/nfsdown.c:24:27: note: in expansion of macro ‘CONFIG_SYS_SDRAM_BASE’
#define NFS_DOWNLOAD_ADDR CONFIG_SYS_SDRAM_BASE
^~~~~~~~~~~~~~~~~~~~~
cmd/nfsdown.c:429:25: note: in expansion of macro ‘NFS_DOWNLOAD_ADDR’
size = do_nfs_to_fat(NFS_DOWNLOAD_ADDR, src_path,
^~~~~~~~~~~~~~~~~
cmd/nfsdown.c:328:12: note: expected ‘void *’ but argument is of type ‘int’
static int do_nfs_to_fat(void *addr, char *file_path, char *file_name,
^~~~~~~~~~~~~
In file included from include/config.h:5:0,
from include/common.h:23,
from cmd/nfsdown.c:11:
include/configs/odroid_xu3.h:16:32: warning: passing argument 2 of ‘do_nfs_to_mmc’ makes pointer from integer without a cast [-Wint-conversion]
#define CONFIG_SYS_SDRAM_BASE 0x40000000
^
cmd/nfsdown.c:24:27: note: in expansion of macro ‘CONFIG_SYS_SDRAM_BASE’
#define NFS_DOWNLOAD_ADDR CONFIG_SYS_SDRAM_BASE
^~~~~~~~~~~~~~~~~~~~~
cmd/nfsdown.c:433:30: note: in expansion of macro ‘NFS_DOWNLOAD_ADDR’
size = do_nfs_to_mmc(mmc, NFS_DOWNLOAD_ADDR, src_path,
^~~~~~~~~~~~~~~~~
cmd/nfsdown.c:282:12: note: expected ‘void *’ but argument is of type ‘int’
static int do_nfs_to_mmc(struct mmc *mmc, void *addr, char *file_path,
^~~~~~~~~~~~~
Fix this by changing addr to unsigned long and adding needed casts.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ia78da10d04a0daf3301ddc6fa4c7b73000d33c22
Marek Szyprowski [Wed, 18 Mar 2020 07:41:36 +0000 (08:41 +0100)]
cmd/nfsdown: add support for partial image download
Add support for downloading image file in parts, so images larger than the available memory
can be flashed correctly. This allows to flash large (>1GiB) rootfs images on RPi3 or RPi4
boards.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I40437191876eb48b9ca14756106f8316a92cc546
Marek Szyprowski [Tue, 17 Mar 2020 13:03:10 +0000 (14:03 +0100)]
net: nfs: add support for partial downloads from given offset
Add support for downloading file from the given offset (in bytes) and limit the size up to given
bytes.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I9f442d375d6b37986cb7c10f93c11d265886cceb
Marek Szyprowski [Tue, 17 Mar 2020 13:50:08 +0000 (14:50 +0100)]
net: nfs: reduce the number of printed hashes during data transfer
Downloading large images (about 1GiB) prints a lots of hash characters, so it is hard to follow
what is happenings. Reduce the amount of printed progress marks by a magnitude.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I142d1c646b2232eb505301a88b1ff051ac2bc19c
Marek Szyprowski [Thu, 12 Mar 2020 13:04:56 +0000 (14:04 +0100)]
rpi3/4: enable NFS download feature
Sync RPi3/4 defconfigs and enable NFS download feature for all configs.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I35ade633d89bbd18374270362ba831d35c9a0d49
Jaehoon Chung [Mon, 24 Feb 2020 06:47:42 +0000 (15:47 +0900)]
mmc: exynos_dw_mmc: remove unused code
Remove unused code and fix wrong memory allocation.
- When rebased on v2019.10, it was applied wrong.
Change-Id: I6cc953c511d01ce42c33bf8d461e7bf5629c6428
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Marek Szyprowski [Thu, 13 Feb 2020 08:50:54 +0000 (09:50 +0100)]
config: rpi: Increase malloc buffer size
GENET ethernet driver and THORdown consume more memory than the default
4M, so increase the malloc buffer size to 16M to let them work together.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I1c4d386761699fcb72b1a76d90d50518554a2980
Jaehoon Chung [Wed, 22 Jan 2020 23:45:52 +0000 (08:45 +0900)]
mmc: bcm2835_sdhci: remove QUIRK_BROKEN_SDMA flag
Remove QUIRK_BROKEN_SDMA flag.
Change-Id: I6206ccb6ade14f51786d5603ae5207840ac51f63
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 20 Jan 2020 21:55:14 +0000 (06:55 +0900)]
samsung: tizen_rpi: add dfu setup informations
Add dfu setup informations.
- usb controller index : 0
- dfu interface : mmc(eMMC/SD)
- default dfu device : 0
After applied this patch, it will be worked with "thor" instead of "thor 0 mmc 0".
Change-Id: I32294af8531532ea86333853fb208c2c23deb33d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 20 Jan 2020 09:50:45 +0000 (18:50 +0900)]
mmc: bcm2835_sdhci: set SDHCI_QUIRK_BROKEN_SDMA flag
RPI4 is used device-tree that taken from firmware.
mmcnr@
73e00000 is enabled on device-tree, so it's probed on u-boot side.
Because it's for SDIO interface, it doesn't need to probe.
When SDMA is enabled, mmcnr's probe is always failed.
Below log is unnecessary :
sdhci_setup_cfg: Your controller doesn't support SDMA!!
mmcnr@7e30000 - probe failed: -22
Change-Id: Icb1cbebf9172d8bf6d14bd167e28eb3d570a21cd
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 20 Jan 2020 09:47:35 +0000 (18:47 +0900)]
mmc: sdhci: add quriks relevant to broken SDMA
ADd quirks relevant to broken SDMA.
If set to SDHCI_QUIRK_BROKEN_SDMA, it should be run the pio mode.
Change-Id: Iddae84fea4d1de0301b9afd45f9f55d7d3f8de74
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Mon, 6 Jan 2020 09:46:08 +0000 (18:46 +0900)]
spl: atf: cast NULL to uintptr_t explictly
The bl31_entry() requires uintptr_t for its 3rd argument but NULL
is used calling the function. Cast it explictly to avoid
int-conversion build warning.
Change-Id: I0033c1bdcb9e115745ecec67950487cb85aeaba2
Fixes:
d332415fe82f ("spl: atf: call bl31_entry function before jump to u-boot")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Thu, 19 Dec 2019 04:25:19 +0000 (13:25 +0900)]
configs: rpi_4_32b_defconfig: enable btrfs config
Enable btrfs configuration to support BTRFS on u-boot.
Change-Id: I883ab759f48724bb6bac6804d95f58a2b07b1ab5
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 19 Dec 2019 00:53:45 +0000 (09:53 +0900)]
configs: rpi_4_32b_defconfig: enable UMS configuration
Enable UMS configuration.
It can be used to usb-mass storage.
Usage: U-Boot> ums 0 mmc 0
- Then you can see block device node on your local host.
It's useful to flash or format for using Tizen.
Change-Id: Ic3a27a69a03d05691f60e764990d33d8bfef2275
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 19 Dec 2019 00:44:18 +0000 (09:44 +0900)]
samsung: tizen_rpi: fix typo about boot.scr.uimg
Fix typo about boot.scr.uimg.
- s/boot.src.uimg/boot.scr.uimg
Change-Id: I656f8f856cc918ca0239e12a709662269f6c10c9
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 16 Dec 2019 10:30:31 +0000 (19:30 +0900)]
configs: tizen_rpi: add bcm2711-rpi-4-b.dtb in dfu information
Add bcm2711-rpi-4-b.dtb in dfu information.
It's used when thor command is run.
Change-Id: I55c0397647457af94301007763b5732a28d20d42
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Matthias Brugger [Thu, 5 Dec 2019 17:53:15 +0000 (18:53 +0100)]
ARM: defconfig: Fix 32bit config for RPi4
The rpi_4_32b_defconfig states that only one DRAM bank is present. This
leads to a wrong configuration of the available DRAM. Fix this by
setting the DRAM bank config accordingly.
Fixes:
193279d784 ("RPI: Add defconfigs for rpi4 (32/64)")
Change-Id: I067ba66d80f636d6a56dfb7a14e3ee8da78829d4
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Matthias Brugger [Thu, 5 Dec 2019 17:53:14 +0000 (18:53 +0100)]
rpi: Enable DRAM bank initialization on arm64
Up to now we only update the DRAM banks when we are define
CONFIG_BCM2711. But our one binary approach uses a config that supports
BCM2837 and BCM2711. As a result we only see one gibibyte of RAM on
Raspberry Pi 4, even if it has more RAM.
Fix this by calling dram_init_banksize.
Fixes:
5694090670 ("ARM: defconfig: add unified config for RPi3 and RPi4")
Change-Id: Id7f3fec63777360d4536b836d98ad77f4b3a5a4e
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Jaehoon Chung [Mon, 16 Dec 2019 04:24:00 +0000 (13:24 +0900)]
board: rpi: remove unnecessary #ifdef CONFIG_NO_TIZEN
Remove #ifdef CONFIG_NO_TIZEN comment.
Change-Id: I0d125b66bc40f22f4a88ab7a41bfedeb5570ce4a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Matthias Brugger [Tue, 19 Nov 2019 15:01:04 +0000 (16:01 +0100)]
ARM: bcm283x: Set rpi_bcm283x_base at run-time
As part of the effort to create one binary for several bcm83x SoCs
we read the IO base address from device-tree.
Change-Id: I9816b3576a4fd6637bbf11bb6aeb6fa3bb8de456
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Matthias Brugger [Tue, 19 Nov 2019 15:01:03 +0000 (16:01 +0100)]
ARM: bcm283x: Move BCM283x_BASE to a global variable
We move the per SOC define BCM283x_BASE to a global variable.
This is a first step to provide a single binary for several bcm283x
SoCs.
Change-Id: If32915d693b26e9d3ddbbddbcac004140623afd0
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Jaehoon Chung [Thu, 5 Dec 2019 00:28:35 +0000 (09:28 +0900)]
include: samsung: tizen_rpi: separate vc_mem base/size value
Separate vc_mem base/size value according to target.
RPI4 and RPI3 have different value about vc_mem base and size.
This value has been taken from raspbian kernel image.
Change-Id: I95274e2acab9e3ef6af90759d2141428b82f86a8
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 28 Nov 2019 04:02:17 +0000 (13:02 +0900)]
scripts: tizen: sd_fusing: increase minor version information
Increase minor version information from 1.0. to 1.1.
Change-Id: I15612f6ecb73d77c58e5690e542d8e51af41257a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 18 Nov 2019 11:32:11 +0000 (20:32 +0900)]
mmc: exynos_dw_mmc: add tizen specific bind codes
Add tizen specific bind codes.
Device number is defined according to boot from SD or eMMC.
Change-Id: I05876b0600d2e19e2642fd46742183d0d8cbe5c4
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 18 Nov 2019 11:22:55 +0000 (20:22 +0900)]
samsung: odroid: add CONFIG_TIZEN_XU3 config
Add CONFIG_TIZEN_XU3 configuration.
And enable it to boot tizen specific boot.
Change-Id: I98c533a0d044ebc017fb59a00d98c32ef6af2047
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Mon, 18 Nov 2019 05:45:46 +0000 (14:45 +0900)]
scripts: tizen: sd_fusing_xu4: Fix start position of extended partitions
Older version sfdisk than 2.26 does not align the start and end
of partitions to block, and it breaks the size of paritions less
than requested. Fix start position of extended partitions by
calculation to guarantee the requested size.
Change-Id: I2e5a6c72550f71f213c2d7352b537c1b12d13670
Ref: http://man7.org/linux/man-pages/man8/sfdisk.8.html
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Fri, 15 Nov 2019 10:46:40 +0000 (19:46 +0900)]
scripts: tizen: sd_fusing_rpi3: Fix start position of extended partitions
Older version sfdisk than 2.26 does not align the start and end
of partitions to block, and it breaks the size of paritions less
than requested. Fix start position of extended partitions by
calculation to guarantee the requested size.
Change-Id: I6d5bae06e4cd871075259d406d349c4ac63fab40
Ref: http://man7.org/linux/man-pages/man8/sfdisk.8.html
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Sun, 17 Nov 2019 23:52:42 +0000 (08:52 +0900)]
samsung: tizen_rpi: change rebootparam address
Change rebootparam address from 0x02700000 to 0x02100000.
0x02700000 is used as ramdisk_addr_r.
Change-Id: Iee69f582b44cbcf7cbcd9c29c5b2bd0efbaf349c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 12 Nov 2019 05:35:18 +0000 (14:35 +0900)]
rpi: tizen-boot: rpi4-32b; sync boot script with rpi3-32b
Sync boot script with rpi3-32b.
It's fixed wrong statement and condition check.
Change-Id: I3179f1fa9909443bbe8b1711232396f042228877
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Dongwoo Lee [Fri, 3 May 2019 06:08:01 +0000 (15:08 +0900)]
rpi: tizen-boot: rpi3-32b: Enable custom network configuration
To apply custom network configuration, this patch adds ip_opt to
bootcmd.
Fixes:
653d68709c27 ("rpi: tizen-boot: rpi3-32b: pass network arguments on flash mode")
Change-Id: I42d113f2c1591d62602128bc2e75a464d7cefebc
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Seung-Woo Kim [Mon, 29 Apr 2019 06:25:36 +0000 (15:25 +0900)]
rpi: tizen-boot: rpi3-32b: support to enter the flash mode with command
Support to enter the flash mode with command.
- Refer to below command:
U-boot> run tfm
Note: this applies, to rpi3-32b from rpi3, the commit
cf212f48a110
("config: tizen_rpi: support to enter the flash mode with command").
Change-Id: I3a801aed172557385abd8651c811708f1f27feec
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Mon, 29 Apr 2019 06:23:27 +0000 (15:23 +0900)]
rpi: tizen-boot: rpi3-32b: pass network arguments on flash mode
To setup network environment for flash manager, this patch makes
passing parameters such as 'ipaddr', 'netmask', and 'gateway' through
kernel bootcmd. Those parameters can be assigned by user-self before
using flash mode.
Note: this is applying below patches from rpi3 to rpi3-32b:
f6f75b5bb37d ("rpi: tizen-boot: rpi3: pass network arguments on flash mode")
e2e0f18b9f3e ("rpi: tizen-boot: rpi3: remove dhcp as default network configuration")
Change-Id: I8de2c8f26f0a5c276ac32e46a83d8fc71eb1e7fd
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Mon, 29 Apr 2019 06:16:53 +0000 (15:16 +0900)]
rpi: tizen-boot: rpi3-32b: fix to use setenv for bootmode
Fix to use setenv for bootmode instead of assignment for remaining
part from the commit
5c008029d782 ("config: tizen_rpi: move env
values from boot script to tizen_rpi.h").
Change-Id: I2ae5d58706bc1e5a8c39ee2952bf3ca2355054ec
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Mon, 11 Nov 2019 02:36:50 +0000 (11:36 +0900)]
configs: rpi: remove lcd from console output
From RPI3, log printing to lcd video console causes slow down of
uart rx getc called and fifo overrun occured from uart rx because
rpi3 mini uart has small h/w fifo. Remove lcd from console output.
It's changed from lcd to videoconsole.
Change-Id: I1d96ceab2ee796b4757032400c659fe40ab2f08d
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Fri, 8 Nov 2019 01:48:55 +0000 (10:48 +0900)]
packaging: u-boot: remove u-boot-tools package
Remove u-boot-tools package in u-boot.spec. For armv7l, The
u-boot-tools rpm is also building from u-boot-rpi3-32b.spec, so
no need duplicated packaging.
Change-Id: I7280e3add4079c66e1c8340f739b067427e49a58
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Thu, 7 Nov 2019 21:28:25 +0000 (06:28 +0900)]
packaging: u-boot-xu3: remove u-boot-tools package
Remove u-boot-tools package in u-boot-xu3.spec.
u-boot-tools is also building from u-boot-rpi3-32b.spec.
So it's created duplicated rpm on download.tizen.org.
- u-boot-tools-2019.10-38.1.armv7l.rpm
- u-boot-tools-2019.10-39.1.armv7l.rpm
Change-Id: I5c1e83935d4c37f8bff3f2bcf53283b3a7cc116c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 7 Nov 2019 09:02:20 +0000 (18:02 +0900)]
board: rpi: not read ram_size from device-tree
This patch is workaround to boot u-boot for tizen.
In future, it will be fixed.
Change-Id: Ic0d40dff1e61df2721f99f13bef5823fa08f5401
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 7 Nov 2019 06:32:05 +0000 (15:32 +0900)]
packaging: rpi4-32: add rpi4 32bit spec file
Add rpi4 32bit spec file.
Change-Id: I5e2b18275d0e92ec2294f19cd0f56dffe412691d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 6 Nov 2019 07:25:20 +0000 (16:25 +0900)]
configs: tizen: change from boardname to board_name
In board/samsung/common/misc.c, it's set to board's name as board_name.
If it's used to boardname, it can't set to correct board's name.
This is caused the broken kernel booting on U3 board.
Change-Id: I3172254bd700309c3b8cd4420739ee214b411570
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 6 Nov 2019 07:02:08 +0000 (16:02 +0900)]
configs: tizen: enable CONFIG_DISTRO_DEFAULT
Enable CONFIG_DISTRO_DEFAULT configuration.
When it's enabled, some configurations are enabled by default.
Change-Id: I16675f84c5285a1df6e88a9ba294e6cef3230fbd
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 6 Nov 2019 01:49:14 +0000 (10:49 +0900)]
fdtdec: support multi device-tree when OF_SEPARATE is enabled
When CONFIG_OF_SEPARATE is enabled, it needs to call get_board_fdt() for
supporting multi device-tree.
Change-Id: I8345789b55eb7f55d0805e8f164552f72dc6d6ef
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 6 Nov 2019 01:48:37 +0000 (10:48 +0900)]
configs: tizen_defconfig: update defconfig for exynos4 series
tizen_defconfig is for trats2/u3 board - exynos4 series.
Update tizen_defconfig to use latest u-boot version.
Some configuratioins needs to move from include/configs/ to configs/.
Change-Id: I768687416577a0930596073091c92735821d829d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 4 Nov 2019 11:50:44 +0000 (20:50 +0900)]
mmc: dw_mmc: increase timeout value in data_transfer function
Increase timeout value in data_transfer function.
1000 value is too short to transfer data.
When it's set to 1000, it's occurred "mmc write failed" during thor
download.
In future, it needs to fix correct value.
Change-Id: I3e18eb1480fbdb33c0f8732ce271d1445568379f
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 10 Oct 2019 08:23:57 +0000 (17:23 +0900)]
packaging: rpi3-32b: fix wrong build arguments
It's changed from env to envtools.
And enviroment's value is built-in.
(RPI3 is using uboot.env, not params.bin.)
Change-Id: Ib2f0839627f182086fcef540cdd3e370de2a3e82
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 10 Oct 2019 05:14:52 +0000 (14:14 +0900)]
packaging: update version to 2019.10 and BuildRequires
Update version to 2019.10 for using u-boot v2019.10.
And Latest u-boot is required upper version than gcc 6.0.
If using lower versioni than 6.0, it will be failed to build.
Change-Id: Id7587a1bab5997e8d0a9869c8bfe3b7af2930934
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 27 Sep 2019 10:14:21 +0000 (19:14 +0900)]
samsung: tizen_rpi: fix dfu information to use THOR
Fix dfu information to use THOR.
Change-Id: I9564871a46f02a2042c68f93476c3b9582a6744e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 27 Sep 2019 10:13:24 +0000 (19:13 +0900)]
rpi: add dfu functions to use thor
Add dfu functions to use thor.
Change-Id: Ia59960dc05c3680ccef5b6fdc9108bb0be249fb4
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 23 Sep 2019 06:54:39 +0000 (15:54 +0900)]
samsung: tizen_rpi: remove CONFIG_DFU_ALT_INFO
Remove CONFIG_DFU_ALT_INFO for fixing build error.
It will be redefined in future.
Change-Id: I74fa2c6a92ebaee3de4f47edc71c23ddc0269e63
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Marek Szyprowski [Mon, 16 Sep 2019 11:31:06 +0000 (13:31 +0200)]
config: enable THOR download support on Raspberry Pi4 boards
Change-Id: Icd9091c5670653a551d05aaabf6cc5f1bf0243f6
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Marek Szyprowski [Mon, 16 Sep 2019 10:37:31 +0000 (12:37 +0200)]
config: enable DFU over USB on Raspberry Pi4 boards
Enable support for DFU over USB. This requires to enable USB gadget,
DWC2 UDC OTG driver and DFU command.
Change-Id: I5487120ce86d1188c2b999a74e2112e754a18868
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Marek Szyprowski [Tue, 24 Sep 2019 08:50:34 +0000 (10:50 +0200)]
fat: write: fix broken write at non-zero file offset
Handling of the start file offset was broken in the current code. Although
the code skipped the needed clusters, it then tried to continue write with
current cluster set to EOF, what caused assertion. It also lacked adjusting
filesize in case of writing at the end of file and adjusting in-cluster
offset for partial overwrite.
This patch fixes all those issues.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I24cf908407ef951920291e560db28e603799ae77
Marek Szyprowski [Fri, 13 Sep 2019 11:54:08 +0000 (13:54 +0200)]
fat: write: fix broken write to fragmented files
The code for handing file overwrite incorrectly assumed that the file on
disk is always contiguous. This resulted in corrupting disk structure
every time when write to existing fragmented file happened. Fix this
by adding proper check for cluster discontinuity and adjust chunk size
on each partial write.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Change-Id: Ic32563cd9e1fc34efd153d94ecd34de4de80e8b2
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 16 Sep 2019 11:33:02 +0000 (20:33 +0900)]
samsung: tizen_rpi: fix wrong bootargs parameter
It needs to add whitespace between vc_mem size and vc_mem base.
Change-Id: Iecc5885427d0678da4960f6f40e5368fd92a286d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 16 Sep 2019 02:06:59 +0000 (11:06 +0900)]
board: rpi: add tizen boot script for rpi4
Add tizen boot script for rpi4 32bit.
Change-Id: Ib497cebb6dc3ef62ecd7164c886cd3e41f5e848c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 16 Sep 2019 01:09:02 +0000 (10:09 +0900)]
spl: atf: call bl31_entry function before jump to u-boot
Call bl31_entry function before jump to u-boot in board_init_r.
This patch is added because of Dignsys's ATF patches.
In future, if find generic solution with fit-images node, will be
reverted.
Change-Id: I2a506207674aed8180d542a659d389c479d13b63
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 10 Sep 2019 10:11:13 +0000 (19:11 +0900)]
samsung: tizen_rpi: change kernel and bootparam loading address
Change kernel and bootparam loading address.
ramdisk/script/fdt address are changed at latest mainline.
So tizen kernel loading address also needs to change.
As comment, rebootparam address is ramdisk_addr_r.
But 0x3a62b000 is not ramdisk_addr_r.
Fixed to rebootparam_addr as correct ramdisk_addr_r.
Change-Id: I5fc5aadbc5ffe94e7917eb5e41370937ea48850b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Marek Szyprowski [Wed, 14 Aug 2019 08:00:33 +0000 (10:00 +0200)]
configs: odroid_xu3: remove obsolete OdroidXU3-lite workaround
All Tizen Exynos Linux kernels (v4.14 and even older v4.1) support
OdroidXU3-lite board and provides proper dtb file for it, so this
workaround is no longer needed. It may even cause overheating issues,
because 'real' XU3 board uses higher CPU frequencies, which are no
available on the 'lite' board.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I203ed164741e3281a8923a979e8e077905fb681f
Jaehoon Chung [Mon, 8 Jul 2019 23:43:56 +0000 (08:43 +0900)]
packaging: rpi3: separate rpi3 spec file for 32bit
Separate rpi3 spec file for 32bit.
QB system can't parse the macro like %ifarch and %define.
This patch is for building aarch64 architecture on QB system.
Change-Id: Ia81bd81bf439feea2baf2de7dfeed8840a7ff683
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 24 Jun 2019 02:03:52 +0000 (11:03 +0900)]
samsung: tizen_rpi: change loglevel from 7 to 4
Change logelvel from 7 to 4.
If someone want to see full log, change loglevel on u-boot console.
Refer to below command on u-boot
- edit opts
After changing loglevel, enter "saveenv" command.
Change-Id: I9044e70d1f064922e7a9f255ef2db63e158864fb
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 17 May 2019 01:08:39 +0000 (10:08 +0900)]
scripts: tizen: update script version information
Update script version information to check latest version.
It's helpful to debug script problem.
Change-Id: I4cfc5293cbbf8a3d75b516b547d71cb02c5fa089
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Dongwoo Lee [Mon, 13 May 2019 07:33:18 +0000 (16:33 +0900)]
serial: bcm283x_mu: Refactor RX buffer
This patch changes maximum count of reading rx fifo by following
emprical test, and applies circular queue to buffer.
Change-Id: Id498ea9c0c22014f00af2b45ad64ad4c6e69a021
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Dongwoo Lee [Wed, 8 May 2019 12:03:47 +0000 (21:03 +0900)]
serial: bcm283x_mu: Support RX buffer
Since mini uart has very small rx fifo, writing long string can
cause overrun. To prevent this, this patch appiles buffer for rx
process.
Change-Id: Ic5bd37875567fe51eb5491b8867f39c1a78de6b9
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 5 Aug 2019 10:09:38 +0000 (19:09 +0900)]
rpi3: move SPL_TEXT_BASE into rpi_3_defconfig
Move SPL_TEXT_BASE into rpi_3_defconfig.
And enable SPL_FS_FAT config to fix build error.
Change-Id: Ibecd91813d2a85c5c970a124882d217af81c7dfe
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 5 Aug 2019 07:02:55 +0000 (16:02 +0900)]
configs: tizen: enable CONFIG_BOARD_TPYES
Enable CONFIG_BOARD_TYPES.
Change-Id: Id9d5c7685ef7b852bf6c9c173e45a17fb03d350c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 5 Aug 2019 07:00:00 +0000 (16:00 +0900)]
board: samsung: add set_board_revision()
Add set_board_revision() function.
When build with tizen_defconfig, it can't refer to set_board_revision().
This function is taken from odroid.c.
Change-Id: I84897de5077860c0a1c81ad60e289e6cc8dcd05a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 14 Mar 2019 08:14:27 +0000 (17:14 +0900)]
configs: rpi: enable MMC_BCM2835 configuration
Enable MMC_BCM2835 configuration.
Change-Id: Ic5cd05df99fc86157efd686ec6f5f69fd090ec72
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 5 Mar 2019 07:02:05 +0000 (16:02 +0900)]
configs: samsung: tizen_rpi: change SPL_ATF_TEXT_BASE to 0x08400000
Change SPL_ATF_TEXT_BASE form 0x8000 to 0x08400000.
In fit_spl_atf.its, it was defined to 0x08400000.
Change-Id: I4aa13f329ed61930f779f2b179fe8200073b9919
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 5 Mar 2019 02:14:17 +0000 (11:14 +0900)]
configs: samsung: tizen_rpi: add CONFIG_SPL_ATF_TEXT_BASE
Add CONFIG_SPL_ATF_TEXT_BASE as 0x8000.
Change-Id: I01c7488e81b0d27d9e35d86ff2910e531201ca75
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Sun, 3 Mar 2019 23:30:09 +0000 (08:30 +0900)]
config: samsung: tizen_rpi: remove redefined configuratins
Remove redefined configurations.
It was already defined in rpi header.
Change-Id: I3a5fc90b5f8176ab723dfce53a9c67e0cceab18b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 26 Feb 2019 06:45:25 +0000 (15:45 +0900)]
rpi: tizen-boot: rpi3: remove unnecessary comment
Remove unnecessary comment.
Change-Id: I8eebe6b7e24101556ee444d0cebc75edb0d8e454
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 25 Feb 2019 05:01:16 +0000 (14:01 +0900)]
config: tizen_rpi: move some bootarg values to tizen_rpi header
Some bootargs values can be located to tizen_rpi header.
Because it's used same value in script of rpi3 and rpi3 32b.
Change-Id: I73d2d473d624f2ffa37f1fe0ed959ff098bb9247
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 22 Feb 2019 08:08:23 +0000 (17:08 +0900)]
config: tizen_rpi: support to enter the flash mode with command
Support to enter the flash mode with command.
- Refer to below command:
U-boot> run tfm
Change-Id: Ie5835573cdefb3ccfe3b67d3d20a4e301672251c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Fri, 22 Feb 2019 05:57:54 +0000 (14:57 +0900)]
config: tizen_rpi: move env values from boot script to tizen_rpi.h
Some environment values are used with same value.
It can be moved to tizen_rpi header.
Change-Id: I679491fc03e0381df94025044e80e476f0953db2
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 20 Feb 2019 05:43:35 +0000 (14:43 +0900)]
configs: rpi: move from rpi to tizen_rpi about tizen specific config
Tizen specific configs can be located to tizen_rpi header.
It's more easier to maintain config relevant to tizen.
Change-Id: I6aff98fd9cc4ed1d812ba217c655ce5e0ea59035
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 19 Feb 2019 05:21:20 +0000 (14:21 +0900)]
config: tizen_rpi: add tizen_rpi header file for tizen
Add the tizen_rpi header file for tizen.
It can be included tizen specific configuration for rpi boards.
Someone wants to change loglevel, follow the below command :
U-Boot> edit opts
edit : loglevel=7
- Change the loglevel value what you want.
Change-Id: I60157dd380a447ce1757921810e0b942be3d2843
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Dongwoo Lee [Fri, 1 Feb 2019 04:44:54 +0000 (13:44 +0900)]
rpi: tizen-boot: rpi3: remove dhcp as default network configuration
If there is no ip setup on environmental variable, dhcp is used as
default. But, in this case, if dhcp server is not set on connected
network neither, kernel waits dhcp server for a long time (about 3
minutes). So this patch removes dhcp option. After this, tfm handles
unconfigured network.
Change-Id: I513503d2ba81b2342c42967fc1b8cb74f17ce215
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Dongwoo Lee [Wed, 12 Dec 2018 08:19:40 +0000 (17:19 +0900)]
rpi: tizen-boot: rpi3: pass network arguments on flash mode
To setup network environment for flash manager, this patch makes
passing parameters such as 'ipaddr', 'netmask', and 'gateway' through
kernel bootcmd.Those parameters can be assigned by user-self before
using flash mode.
Change-Id: Ifda261598978b4cc985fe43e2e612fd58c49fdd1
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Jaehoon Chung [Mon, 17 Dec 2018 22:57:02 +0000 (07:57 +0900)]
samsung: platform_boot: increase space for kernel from 8MiB to 16MiB
This patch is based on "samsung: common: increase space for kernel from
8MiB to 16MiB".
Tizen is using platform_boot header file, not autocmd.cmd.
Change-Id: I5d245a51bf975d4a1ca51f6dbf6dba1ab8ef72fd
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Marek Szyprowski [Thu, 13 Dec 2018 12:53:08 +0000 (13:53 +0100)]
samsung: common: increase space for kernel from 8MiB to 16MiB
v4.14 kernel for Odroid easily exceeds 8MiB, thus loading kernel with the
default configuration corrupts previously loaded dtb. Increase ${fdtaddr}
to 0x41000000 to avoid this issue, what gives about 16MiB space for kernel.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I33e897d259f4428602fdd476db3cc0adf700f33c
Jaehoon Chung [Mon, 12 Nov 2018 02:27:09 +0000 (11:27 +0900)]
packaging: added a comment how to build with gbs for rpi3
Added a comment how to build with gbs for rpi3.
If there is no comment for this, it's difficult to know how to make
u-boot image with gbs system.
(There is dependent on arm-trusted-firmware-rpi3 repository.)
Change-Id: Iee14253dd011c171104273d7285fff969e68e077
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Fri, 5 Oct 2018 08:14:51 +0000 (17:14 +0900)]
scripts: sd_fusing_xu4: remove not necessary tmp variable and comment
Remove not necessary tmp variable and comment.
Note: it is partial revert of the commit
e560d71f0d64 ("scripts:
odroid-xu4: add ramdisk.img flashing support") to flash ramdisk.img
at the last time. Almost all of revert is done with the commit
de355221bf93 ("scripts: sd_fusing_xu4: add the ramdisk partition")
but there was remaining variable and comment.
Change-Id: I1b28fa8ab5852fefa1d83b68b498e89ddafe5660
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Mon, 1 Oct 2018 04:05:49 +0000 (13:05 +0900)]
scripts: sd_fusing_xu4: add the ramdisk partition
Add the ramdisk partition as number 7.
Change-Id: Ie3a833bbe85fe27e0f751a426e09f8e4616fd09b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 1 Oct 2018 04:00:43 +0000 (13:00 +0900)]
board: samsung: exynos5-dt: modify the get_dfu_alt_system information
If there is a partition7, set to dfu_alt_system_2.
Otherwise, just use the dfu_alt_system.
(It's relevant to thor download.)
- change from getenv() to env_get().
Change-Id: I1ff7b5a6c97ad7eed2b6cd489260cfdc902c2a73
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 1 Oct 2018 03:55:57 +0000 (12:55 +0900)]
config: odroid-xu3: add dfu_alt_system information version 2
Add the dfu_alt_system information version 2.
It's used to flash a ramdisk.img at partition 7.
If there is no partition 7, it will load from mmcbootpart as mmcblk0p1.
Change-Id: I2830a950ab87e80c66e4d5dc134c12523011252e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Fri, 21 Sep 2018 07:59:42 +0000 (16:59 +0900)]
scripts: tizen: change modules parition size as 32MB
Currently, odroid boot image has 20MB modules.img and exact 20MB
modules partition size causes thor flash failure because it is in
extended parition. Change modules partition size as 32MB.
Change-Id: I1c383f359acf3d415c823ff991901a55e647dfd6
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Thu, 20 Sep 2018 06:50:03 +0000 (15:50 +0900)]
rpi: tizen-boot: rpi3/rpi3-32b: add dwc_otg option like raspbian cmdline
From raspbian cmdline.txt, from kernel related otpion, there is
dwc_otg.lpm_enable=0 which is not in Tizen u-boot booting script.
Add dwc_otg option line raspbian.
Change-Id: I37a723f63bae288f9d9d3e0b88adca01398f3c22
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 12 Sep 2018 04:28:26 +0000 (13:28 +0900)]
config: rpi3: update dtb file names in dfu_alt_info
There are wrong dtb file names. Update the wrong dtb file names
and add rpi 3 b plus model dtb.
Change-Id: I61f8833c08443ad8514b6f3bd785653baf609960
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Mon, 3 Sep 2018 02:48:13 +0000 (11:48 +0900)]
rpi: tizen-boot: rpi3/rpi3-32b: set dt filename by its model
To identify rpi3 b model and rpi3 b+ model, set dt filename by
its model.
Note: Tizen uses raspbian vendor kernel, so raspbian dt name is
used instead of mainline file name set by booting.
Change-Id: I84dc4a38e5f21527912749eee28d784245123340
Reference:
7fe77226aa29 ("rpi: Add identifier for the new RPi3 B+")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Thu, 10 May 2018 04:13:00 +0000 (13:13 +0900)]
rpi: tizen-boot: rpi2: Add boot param for support flash mode
This patch adds support for flash bootmode. If boot-param.bin is
set to 'dwnl', bootmode will be set to flash to invoke flash-init.
Change-Id: I17bda3435176c992d9b457bec14f5aded804f0dc
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Thu, 10 May 2018 04:13:00 +0000 (13:13 +0900)]
rpi: tizen-boot: rpi3-32b: Add boot param for support flash mode
This patch adds support for flash bootmode. If boot-param.bin is
set to 'dwnl', bootmode will be set to flash to invoke flash-init.
Change-Id: I41955d2b2dd08edd23897df4e458ca8f59eaf9a5
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Dongwoo Lee [Thu, 5 Apr 2018 05:40:01 +0000 (14:40 +0900)]
rpi: tizen-boot: Add boot parameter for support flash mode
This patch adds support for flash bootmode. If boot-param.bin is set
to 'dwnl', bootmode will be set to flash to invoke flash-init.
Change-Id: I5fe1554c4ad431f6275c0118d25a36e1f3a8ffc4
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Seung-Woo Kim [Tue, 8 May 2018 05:41:32 +0000 (14:41 +0900)]
rpi: tizen-boot: rpi2: set console in cmdline as u-boot environment
The console in cmdline will be used by kernel as printk console
and tizen-boot script always sets console with UART device. Set
console in cmdline as u-boot environment value console and set
default uart if nothing is set.
Change-Id: I36f58c0532e0a10efb7844c14caeb21258c9b792
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 8 May 2018 05:39:09 +0000 (14:39 +0900)]
rpi: tizen-boot: rpi3: set console in cmdline as u-boot environment
The console in cmdline will be used by kernel as printk console
and tizen-boot script always sets console with UART device. Set
console in cmdline as u-boot environment value console and set
default uart if nothing is set.
Change-Id: I0d2743d445de8c8cf4bd43600fbc8c28a07cd0ea
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>