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>
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 [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>
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 [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 [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, 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 [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: 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: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>
Jaehoon Chung [Mon, 25 Feb 2019 10:57:16 +0000 (19:57 +0900)]
packaging: spec: update u-boot version to v2019.01
Update u-boot version to v2019.01.
- This branch is based on sandbox/jaehoon/rebase-v2018.03.
Change-Id: I100e24eaa361f61b66d3b81e6529e9790c6786b4
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 25 Feb 2019 10:38:09 +0000 (19:38 +0900)]
usb: gadget: f_thor: fix wrong type format
Fix wrong type format about buidling wanring.
Change-Id: I161651ffa9427611ef4e095bebca095d6bbf153d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Mon, 4 Jun 2018 07:04:51 +0000 (16:04 +0900)]
cmd: add missing line breaks for pr_err()
After the commit
9b643e312d52 ("treewide: replace with error() with
pr_err()"), there are some pr_err() with no line break. Add missing
line breaks.
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
[sw0312.kim: cherry-pick from mainline to fix error log]
Change-Id: I8aa616cb4c1e6d4ab250ba89cb75214f33488a6f
Seung-Woo Kim [Fri, 25 May 2018 05:21:01 +0000 (14:21 +0900)]
gadget: f_thor: Fix memory leaks of usb request and its buffer
There are memory leaks of usb request and its buffer for ep0,
in_ep, and out ep. Fix memory leaks of usb request and its buffer.
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
[sw0312.kim: fix conflict about int_ep from thor_eps_setup()]
Change-Id: I606d039d53847d0e0850c5bcbceca451bdbb1c02
Jaehoon Chung [Tue, 8 May 2018 10:57:15 +0000 (19:57 +0900)]
packaging: change from 'env' to 'envtools' for building envtool
Change a name from "env" to "envtools" for building envtools.
(Fix the compile error during obs/gbs system.)
Change-Id: I5717142528d88993134f1219dba2bb0a7e928efe
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 8 May 2018 10:09:20 +0000 (19:09 +0900)]
packaging: change from env_common to built-in for generating param.bin
environemnt codes had moved to env directory from common.
It's changed to get the default environment from build-in.o.
Change-Id: I15f8c0115fab426ed35547e0063d3361385d1712
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 3 May 2018 12:09:10 +0000 (21:09 +0900)]
packaging: change the version infomation from 2017.03 to 2018.03
Upadte the U-boot version information to v2018.03.
Change-Id: I357b173a68f80b9879e2e9acc9c665df30e7e9d9
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 12 Feb 2018 05:47:19 +0000 (14:47 +0900)]
config: rpi3: enable the configurations relevant to NFSDOWN
Enable the configurations relevant to nfsdown command for rpi3.
Change-Id: Ic050057e75f4e92b1507ca84c642ba3c798ba6fc
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Tue, 23 Jan 2018 01:31:45 +0000 (10:31 +0900)]
rpi: tizen-boot: add rpi3 32bit script
Add rpi3 32bit tizen-boot script.
For 32bit, kernel dt image should be loaded to $fdt_addr instead of
$fdt_addr_r and kernel image name is zImage instead of Image. Also,
boot command should be bootz instead of booti.
Change-Id: Ia7a942837dd7a9ed398567f82aa89a81784a7591
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 23 Jan 2018 01:24:23 +0000 (10:24 +0900)]
rpi: tizen-boot: Rename tizen-boot script for rpi3
The tizen-boot script is for rpi3 64bit mode. Rename the script for
rpi3 to support other rpi board family.
Change-Id: Ic05c2bf94deb9381460c0de4e4a31a31c8f615b6
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Mon, 15 Jan 2018 07:48:21 +0000 (16:48 +0900)]
rpi: tizen-boot: add note about kernel size limitation.
There is kernel size limitation to support ramdisk. Add note
about the size limitation.
Change-Id: I77366008ee2a3649b9d9c366c756206784c240cb
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Thu, 11 Jan 2018 04:54:20 +0000 (13:54 +0900)]
rpi: tizen-boot: change the kernel loading address
Tizen kernel image can be over than 16MB.
It should be overlapped with other image address.
To avoid this behavior, change to 0x02d00000 from 0x01000000.
Change-Id: I8cf142c55d6afedd1186f58181251df39d1e9cc5
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Thu, 11 Jan 2018 03:51:51 +0000 (12:51 +0900)]
scripts: tizen: call sync before umount
After writing files on mounted directory, umount can fail with busy
state. Call sync before umount to clear the busy state instead of
sleep.
Change-Id: I7985ab3688a64b072c9a992957acdf124f925a34
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 9 Jan 2018 05:39:57 +0000 (14:39 +0900)]
rpi: tizen-boot: Add earlycon option to bootargs
Add earlycon option to show early uart message. Also, remove
unnecessary earlyprintk option in bootargs.
Change-Id: Ie0d88914b7ee5bbd2bf7a67db37b772b1a937454
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Łukasz Stelmach [Mon, 16 Oct 2017 08:43:12 +0000 (10:43 +0200)]
rpi: support flashing an image of the INFORM partition
Change-Id: I3a48b84454eccc1b5382f47930d40fd55f67ac6d
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Łukasz Stelmach [Tue, 10 Oct 2017 11:11:54 +0000 (13:11 +0200)]
rpi: Read the value of RSTS register
RSTS register allows passing information from OS too bootloader upon
reboot.
Change-Id: I2fa04fa0e63e5c81f78901c06ca8884f7e89f8e8
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Łukasz Stelmach [Thu, 21 Sep 2017 08:20:38 +0000 (10:20 +0200)]
rpi: tizen-boot: enable runtime customisation of bootargs with ${opts}
Facilitate development of kernel and low level system components, by
making it easier for developers to add kernel command line arguments
via the ${opts} u-boot environment variable.
Change-Id: I4883cc5d29e4edaaa9ed17a3801808672ad66661
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Jaehoon Chung [Fri, 22 Sep 2017 15:48:47 +0000 (00:48 +0900)]
rpi: tizen-boot: remove the ramdiskdev variable
'ramdiskdev' can be replaced to 'mmcrootdev'.
It should be used the same device.
Change-Id: I9951f955e591a9761fba537b282fa4748d5dc2f5
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Junghoon Kim [Thu, 14 Sep 2017 11:57:24 +0000 (20:57 +0900)]
rpi: tizen-boot: modify the parameter check logic
Modify the parameter check logic to support all cases of reboot commands
including "reboot", "reboot fota", "reboot recovery", and undefined reboot
parameter.
Change-Id: I00c7cec03bdd8d9364bda3e8c7142a76ed9b4bd9
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
Jaehoon Chung [Wed, 30 Aug 2017 08:39:04 +0000 (17:39 +0900)]
rpi3: tizen-boot: Add the ethernet macaddr
Add the smsc95xx.macaddr for using the unique macaddr.
Change-Id: I5d74c2d44372ca19d4776c3dd12504f888500748
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Wed, 23 Aug 2017 09:22:22 +0000 (18:22 +0900)]
rpi3: tizen-boot: remove duplicated kernel image loading
There are unnecessary duplicated kernel image loading steps in
tizen-boot script. Remove the duplicated loading.
Change-Id: I9f6b98f870dcfb5503513e3ca481335531fc0b96
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Fri, 11 Aug 2017 13:23:16 +0000 (22:23 +0900)]
rpi3: tizen-boot: Disable to display the log from HDMI
"console=tty1" is provided that displayed the log from HDMI.
After finishing the kernel booting, it should not be displayed from HDMI.
(when applied this patch.)
There is no requirement about using HDMI serial log.
Disable the log from HDMI.
Change-Id: I7c6576ba15f6a183ab8c82ca5b2114f9cc1e604c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 8 Aug 2017 06:14:03 +0000 (15:14 +0900)]
rpi: tizen-boot: add the 'ramdisksize' as 12MB for ramdisk-recovery
Size of Ramdisk-recovery is 12MB.
It needs to load the 12MB, not 8MB.
Add the 'ramdisksize' as 12MB for ramdisk-recovery.
Change-Id: Idc9111a5b0d7ef150376ee241d39129e114ce368
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 3 Aug 2017 07:47:23 +0000 (16:47 +0900)]
scripts: sd_fusing_rpi3: add the sleep before umounting
When umounting "mnt_tmp", it's appeared "device is busy".
To ensure the unmounting, add the "sleep 1" before unmounting.
Change-Id: Ibab0700f7ef112591576b53c5706b8f850821742
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Junghoon Kim [Tue, 25 Jul 2017 06:36:18 +0000 (15:36 +0900)]
rpi: tizen-boot: check reboot parameter to determine booting mode
The "reboot-param.bin" file is used for passing reboot parameter. For
example, the word "upgr" means that target should be booted with upgrade
mode.
Check the contents of "reboot-param.bin" file to determine booting mode.
Change-Id: I62a6598f84c677c251df3559da9dd58a545e859c
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
Junghoon Kim [Wed, 26 Jul 2017 05:22:33 +0000 (14:22 +0900)]
scripts: sd_fusing_rpi3.sh: add inform partition support
To implement Tizen upgrade solution, reboot parameter should be
delivered into u-boot so that u-boot can jump to proper partition. But,
new SoC on RPI3 does not support any specific registers (e.g., INFORM
register of Exynos) to store reboot parameter upon SW reset.
Add inform partition and make "reboot-param.bin" file for passing reboot
parameter.
Change-Id: Ic98df1b4ad4aeab9152d3ad5007b97a0e20d8be7
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
Junghoon Kim [Wed, 26 Jul 2017 05:18:49 +0000 (14:18 +0900)]
scripts: sd_fusing_rpi3.sh: fix typo in ramdisk-recovery partition
Fix typo in ramdisk-recovery partition description.
Change-Id: Iaecd73bd2443ed30484159d69f9b90e44ea8966b
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
Jaehoon Chung [Tue, 25 Jul 2017 02:02:04 +0000 (11:02 +0900)]
scripts: tizen: move the fusing scripts to tizen directory
Move the tizen specific scripts to tizen directory.
Change-Id: I50f004ac078cd7f610e78d668acc94f2aa6b5e0e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 25 Jul 2017 01:59:18 +0000 (10:59 +0900)]
scripts: rpi3: add the fusing script for rpi3
Add the fusing script for rpi3.
Move from kernel git repository to u-boot repository.
Change-Id: I12d83aa9f5347fb07b4e4bd04471fa800cea9e8d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 6 Jul 2017 02:13:20 +0000 (11:13 +0900)]
rpi: tizen-boot: check whether there is an init file in sbin directory
Check the "init" file in sbin directory.
If there is the "init" file, it should be ramdisk image.
Change-Id: Ic827f42c783668832f7d9201132fee0185d953c5
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 28 Jun 2017 11:46:00 +0000 (20:46 +0900)]
rpi: tizen-boot: support the booting without ramdisk image
If there is not ramdisk image, target can't be booted.
This modification is supported that target can be booted anyway.
NOTE: Assume that ramdisk partition has "sbin".
If want to mount the MMC device, you have to clear the ramdisk
partition.
Change-Id: Ibae4fd7216d0aa7ca11e92842c099dfc5212b714
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Gonzha Dmitriy Evgenevich [Wed, 31 May 2017 18:33:59 +0000 (21:33 +0300)]
Turn off ASan build
Turn off ASan in case of ASan build for u-boot, u-boot-xu3
and u-boot-rpi3 packages
Change-Id: I1a3714f47eb14da53fac8a14e179d90ffa416b7f
Jaehoon Chung [Thu, 20 Apr 2017 03:42:46 +0000 (12:42 +0900)]
packaging: add the u-boot-rpi3 spec file
To build the u-boot for rpi3, add the u-boot-rpi3 spec file.
This spec file should be built to arm64 processor.
Change-Id: I0088cf6a58169e84034a321fdf0ee99904bce997
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 27 Mar 2017 09:36:16 +0000 (18:36 +0900)]
script: add the boot_script for rpi3
Add the boot_script for rpi3.
It will load this boot script from ditro_bootcmd.
Usage:
$./tools/mkimage -A arm64 -T script -C none -n "Tizen RPI3 u-boot helper"
-d ./board/raspberrypi/rpi/tizen-boot.scr ./boot.scr.uimg
Change-Id: Ia468ee8ce4368c3776b8b9b48fb0d91c1d01db08
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 10 Apr 2017 10:39:51 +0000 (19:39 +0900)]
net: nfs: fix the regression when nfs_read_reply() is called
When nfs_read_reply() is called, it should be stucked in memcpy().
size of rpc_pkt.u.reply() might be too bigger.
Change from 'sizeof(rpc_pkt.u.reply)' to 'len'.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Mon, 10 Apr 2017 11:14:02 +0000 (20:14 +0900)]
TPL: TM2: f_thor: fix wrong size caused by casting s32 to u64
Currently, in arm64 environment, thor download for a file more than
2GB size is failed because requested file size is not properly set.
It is because of assignment of a signed value to a bigger unsigned
type for the size of a file. So this patch fixes wrong size casting.
This also fixes to print debug information about the requested file
size with casted variable.
Change-Id: Id0e67035be05b0df346a8bb0ea17b5ba3e40e8f2
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Mon, 14 Nov 2016 07:05:05 +0000 (16:05 +0900)]
packaging: squash patches from upstream to HEAD~10
This patch fixes to squash patches from upstream to HEAD - 10
patches into only one patch. This can reduce too many patch files
in source package.
Change-Id: Ie7bc3ef1ca8fb4406d74f9b7dcffdcdef26b8ca5
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Dongwoo Lee [Mon, 7 Nov 2016 05:34:15 +0000 (14:34 +0900)]
usb: xhci: Limit transfer length of a single TD
This is workaround solution for timed out error and babble error while
transfering data exceeding 0x3F01FF bytes on xhci host. Actually, this
size equals to value that the maximum number of TRBs per TD times the
maximum size of transfer buffer on TRB. Thus, huge transfer request is
splitted in order to limit the size of data in a single TD.
Even though the single I/O request is splitted into multiple requests,
the transfer speed has affected insignificantly: 22.6 --> 22.3 MiB/s.
Change-Id: I85a17910587b70807f075dd40634a0da817cea2f
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Lukasz Majewski [Thu, 12 May 2016 11:26:52 +0000 (13:26 +0200)]
TPL: TM2: image: Support for displaying image when download mode has been enabled
This hacks relies on sboot to configure display path (decon, dsi, mic,
panel). It only decompress appended image to framebuffer at 0x67000000 and
triggers decon update.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Lukasz Majewski [Thu, 12 May 2016 11:25:43 +0000 (13:25 +0200)]
TPL: TM2: f_thor: Allow to download 4GB images
This commit fixes 2GB file size limit for thor downloader.
The application on host side sends the downloaded file size as 32-bit
unsigned value. But the thor implementation on U-Boot side interpreted
this as signed value. This caused an error for files with size greater
than 2GB.
This commit fixes the data types in code, which allows to send file
of size 4GB.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
[m.szyprowski: ported from tizen.org and fixed 64bit issues]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Przemyslaw Marczak [Tue, 10 Nov 2015 11:29:18 +0000 (12:29 +0100)]
f_thor: allow to download 4GB images
This commit fixes 2GB file size limit for thor downloader.
The application on host side sends the downloaded file size as 32-bit
unsigned value. But the thor implementation on U-Boot side interpreted
this as signed value. This caused an error for files with size greater
than 2GB.
This commit fixes the data types in code, which allows to send file
of size 4GB.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Przemyslaw Marczak [Thu, 12 Jun 2014 08:20:59 +0000 (10:20 +0200)]
thor:cmd: get the default command arguments from environment
This change adds support to getting the default DFU cmd line
arguments from the environment.
DFU and THOR uses the same command line arguments,
so the DFU command environment setup can be used also with THOR.
Change-Id: I2e0984c909147c13191f6d6646d094c9f02c392a
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Przemyslaw Marczak [Thu, 13 Nov 2014 10:40:02 +0000 (11:40 +0100)]
samsung: misc_init_r: insert call to platform_setup()
This change adds call of platform_setup() to check or set active
platform configuration.
Another change is setup environment variable: ${platname},
from board name in set_board_info().
Change-Id: I355736bf40f8fa3697ce0b4546f7702d2e54a0f9
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Przemyslaw Marczak [Mon, 24 Mar 2014 14:26:10 +0000 (15:26 +0100)]
lib: tizen: add battery interactive charger screens
New images:
- battery frame: 200x380px, 16bpp,
batery level area in frame: 170x300px
- battery bar: 160x50px, 16bpp, grey and red,
(for 5 bars in battery frame with 8px interelement gap)
- charge screen; charge screen clean images: 128x120px, 16bpp
- charge screen indicator; vertical and horizontal
indicator clean images: 8x8px, 16bpp
Library functions:
For battery screen:
- draw_battery_screen() - draw empty battery frame
- draw_battery_state() - fill battery frame with charge bars
to a given percent
For charge animation:
- draw_charge_screen() - draw a small phone connected to a cable
(under the battery)
- clean_charge_screen() - cleans above screen
- draw_charge_animation() - display an animation with
a point running on a cable
(on a charge screen)
For low battery state and no charger connected:
- draw_connect_charger_animation() - draw and clean charge
screen respectively
Library is ready to use gzipped images
but this commit adds only bmp images.
Changes for v2015.10-rc5:
- correct usage of removed typedef 'bmp_image_t'
Change-Id: I25a527b07b809b9105b6d4d8c29aa01e47224134
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Chanho Park [Fri, 10 Jan 2014 01:48:52 +0000 (10:48 +0900)]
packaging: Adding .spec file for u-boot project
Change-Id: I5dd90f728a9f0f951afda5634f2509cbb3eccc95
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
Przemyslaw Marczak [Wed, 2 Apr 2014 14:13:59 +0000 (16:13 +0200)]
lib: tizen: thor screen update
Now cable connection message is displayed on thor screen.
When cable is connected then only unneeded lcd console lines are overwritten.
Main changes:
- add new function: draw_thor_connected()
- update function draw_thor_screen()
- usb: gadget: thor:
- move call to draw_thor_screen(),
- add call to draw_thor_connected()
other change:
- remove draw_thor_init_screen() function
Changes for v2015.04-rc1:
- Replace <lcd.h> to <lcd_console.h>
Changes for v2015.10-rc5
- correct usage of removed typedef 'bmp_image_t'
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Inha Song [Fri, 11 Oct 2013 08:50:24 +0000 (17:50 +0900)]
usb: thor: add screen support
cmd_thordown.c:
- add libtizen header
- change error handling for thor init
- add call to draw_thor_fail_screen() on error
f_thor.c:
- thor_init(): return -EINTR on ctrl+c or if power key was pressed 3 times
- thor_rx_data(): return -EINTR when pressed ctrl+c on data receiving
- add display simple info screen before cable is not connected
- add display download screen when connection is established
- update download progress bar if data receiving
Change-Id: Ia89ef48c6c2faa5eda5dda5c5b3951e675eec03b
Signed-off-by: Inha Song <ideal.song@samsung.com>
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Przemyslaw Marczak [Fri, 7 Feb 2014 14:03:41 +0000 (15:03 +0100)]
libtizen: add download logo and download progress bar
Added features:
- add screen with exit info if no cable is connected
- download logo with progress bar after after THOR init
- downlaod failure screen on error
- PIT version, U-boot version on download screen
- function for update progess bar when downloading is going on
Signed-off-by: Hyungwon Hwang <human.hwang@samsung.com>
Signed-off-by: Inha Song <ideal.song@samsung.com>
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Lukasz Majewski [Mon, 16 Feb 2015 16:40:25 +0000 (17:40 +0100)]
common: lcd: extend lcd api by function lcd_get_position_cursor()
Changes for v2015.04-rc1:
- Moving lcd console related code to lcd_console.c
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Sylwester Nawrocki [Wed, 2 Dec 2020 08:36:29 +0000 (09:36 +0100)]
gitattributes: Set binary attribute for *.gz and *.png files
After commit ("1f35137 Add .gitattributes for line endings") all files
have text attribute set and we need such change to ensure content of
the *.gz and *.png files remains unmodified.
$ git check-attr -a -- *.gz *.png
*.gz: binary: set
*.gz: diff: unset
*.gz: merge: unset
*.gz: text: unset
*.gz: eol: lf
*.png: binary: set
*.png: diff: unset
*.png: merge: unset
*.png: text: unset
*.png: eol: lf
Change-Id: Ie7b1d48761c01c045bdcdae3b0ac66e64af79326
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Tom Rini [Mon, 2 Oct 2023 14:39:59 +0000 (10:39 -0400)]
Prepare v2023.10
Signed-off-by: Tom Rini <trini@konsulko.com>
Tom Rini [Mon, 2 Oct 2023 14:35:27 +0000 (10:35 -0400)]
configs: Resync with savedefconfig
Rsync all defconfig files using moveconfig.py
Signed-off-by: Tom Rini <trini@konsulko.com>
Bhupesh Sharma [Fri, 15 Sep 2023 18:14:41 +0000 (23:44 +0530)]
MAINTAINERS: ufs: Change Bhupesh's email address
Set my current personal email in the MAINTAINERS file.
Signed-off-by: Bhupesh Sharma <bhupesh.linux@gmail.com>
Tom Rini [Fri, 29 Sep 2023 14:40:34 +0000 (10:40 -0400)]
Merge tag 'u-boot-at91-fixes-2023.10-b' of https://source.denx.de/u-boot/custodians/u-boot-at91
Second set of u-boot-atmel fixes for the 2023.10 cycle:
Two small fixes , one for an array not initialized and the second one
fixes an error case when a DT property is missing for the atmel NAND
driver.
Francois Berder [Sun, 24 Sep 2023 09:58:54 +0000 (11:58 +0200)]
clk: at91: Fix initializing arrays
Arrays are not cleared entirely because ARRAY_SIZE
returns the number of elements in an array, not the size
in bytes.
This commit fixes the calls to memset by providing the
array size in bytes instead of the number of elements
in the array.
Signed-off-by: Francois Berder <fberder@outlook.fr>
Tom Rini [Fri, 29 Sep 2023 11:49:57 +0000 (07:49 -0400)]
Merge tag 'doc-2023-10-rc5-3' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request doc-2023-10-rc5-3
Documentation:
* describe that partition numbers are hexadecimal in load command
* remove obsolete half sentence in tools/binman/binman.rst
Tom Rini [Fri, 29 Sep 2023 11:49:24 +0000 (07:49 -0400)]
Merge branch '2023-09-28-assorted-minor-fixes'
- Fixes for two board builds and a script fix for many TI platforms
Heinrich Schuchardt [Tue, 19 Sep 2023 10:02:22 +0000 (12:02 +0200)]
binman: doc: Remove incomplete sentence
This is the difference between version 1 and 2 of Massimo's patch:
binman: doc: fix reference tag placement for Logging section
v2: https://lore.kernel.org/u-boot/
20230913161633.999542-1-massimo.pegorer+oss@gmail.com/
v1: https://lore.kernel.org/u-boot/
20230909135235.21242-1-massimo.pegorer+oss@gmail.com/
Fixes:
0f40e23fd22 ("binman: add documentation for binman sign option")
Signed-off-by: Massimo Pegorer <massimo.pegorer+oss@gmail.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Massimo Pegorer <massimo.pegorer+oss@gmail.com>
Mickaël Tansorier [Fri, 15 Sep 2023 22:11:53 +0000 (00:11 +0200)]
doc: usage: load: document part as hexadecimal
`part` option is in hexadecimal, so information is missing in usage
documentation.
Callgraph for `part` parsing is :
do_load -> fs_set_blk_dev -> part_get_info_by_dev_and_name_or_num ->
blk_get_device_part_str -> hextoul (This is why it is hexadecimal)
Signed-off-by: Mickaël Tansorier <mickael.tansorier@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Simon Glass <sjg@chromium.org>
Jan Kiszka [Wed, 27 Sep 2023 17:22:04 +0000 (19:22 +0200)]
configs: iot2050: Disable CONFIG_CONSOLE_MUX
We only have serial as console option, and leaving this on turns on
SYS_CONSOLE_IS_IN_ENV which is also not true for these devices, leaving
an ugly
In: No input devices available!
Out: No output devices available!
Err: No error devices available!
behind.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Eduard Strehlau [Mon, 25 Sep 2023 16:32:59 +0000 (13:32 -0300)]
smegw01: Fix inverted CONFIG_SYS_BOOT_LOCKED logic
CONFIG_SYS_BOOT_LOCKED means that a restricted boot environment will
be used. In this case, hab_auth_img_or_fail should be called to prevent
U-Boot to continue running when the fitImage authentication fails.
Fix the logic accordingly.
Additionally, select CONFIG_SYS_BOOT_LOCKED by default.
Signed-off-by: Eduard Strehlau <eduard@lionizers.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
Manorit Chawdhry [Mon, 25 Sep 2023 06:23:42 +0000 (11:53 +0530)]
env: ti: ti_common.env: Fix get_overlaystring for FIT Image
After the refactor with conf- nodes in fitImage, overlaystring wasn't
didn't handle the new conf- nodes in FIT Booting. Fix get_overlaystring
to handle conf- nodes.
Fixes:
837833a724b7 ("environment: ti: Add get_fit_config command to get FIT config string")
Reported-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Reviewed-by: Andrew Davis <afd@ti.com>
Alexander Dahl [Fri, 22 Sep 2023 09:08:56 +0000 (11:08 +0200)]
mtd: nand: raw: atmel: Add error handling when rb-gpios missing
Adapt behaviour to Linux kernel driver.
The return value of gpio_request_by_name_nodev() was not checked before,
and thus in case 'rb-gpios' was missing in DT, rb.type was set to
ATMEL_NAND_GPIO_RB nevertheless, leading to output like this for
example (on sam9x60-curiosity with the line removed from dts):
NAND: Could not find valid ONFI parameter page; aborting
device found, Manufacturer ID: 0xc2, Chip ID: 0xdc
Macronix NAND 512MiB 3,3V 8-bit
512 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 64
atmel-nand-controller nand-controller: NAND scan failed: -22
Failed to probe nand driver (err = -22)
Failed to initialize NAND controller. (error -22)
0 MiB
Note: not having that gpio assigned in dts is possible, the driver does
not override nand_chip->dev_ready() then and a generic solution is used.
Fixes:
6a8dfd57220d ("nand: atmel: Add DM based NAND driver")
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Reviewed-by: Eugen Hristev <eugen.hristev@collabora.com>
Acked-by: Michael Trimarchi <michael@amarulasolutions.com>
Tom Rini [Tue, 26 Sep 2023 13:45:41 +0000 (09:45 -0400)]
Merge https://source.denx.de/u-boot/custodians/u-boot-riscv
+ Fix VisionFive2 booting issue by providing the correct FDT.
Heinrich Schuchardt [Thu, 7 Sep 2023 11:21:28 +0000 (13:21 +0200)]
riscv: set fdtfile on VisionFive 2
Multiple revisions of the StarFive VisionFive 2 board exist. They can be
identified by reading their EEPROM.
Linux uses two differently named device-tree files. To load the correct
device-tree we need to set $fdtfile to the device-tree file name that
matches the board revision.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Tested-by: Milan P. Stanić <mps@arvanta.net>
Tom Rini [Sun, 24 Sep 2023 21:15:31 +0000 (17:15 -0400)]
Merge tag 'u-boot-imx-
20230923' of https://source.denx.de/u-boot/custodians/u-boot-imx
Fixes for 2023.10
-----------------
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/17831
Tom Rini [Sun, 24 Sep 2023 21:15:15 +0000 (17:15 -0400)]
Merge tag 'dm-pull-23sep23' of https://source.denx.de/u-boot/custodians/u-boot-dm
trace: correct format of flyrecord
minor bug fixes
Eduard Strehlau [Wed, 20 Sep 2023 10:49:08 +0000 (07:49 -0300)]
smegw01: Use CONFIG_SYS_LOAD_ADDR for loading fitImage
Set CONFIG_SYS_LOAD_ADDR=0x88000000 and use this address for
loading fitImage.
Also pass the standard CONFIG_BOOTFILE option to indicate
the fitImage file.
Signed-off-by: Eduard Strehlau <eduard@lionizers.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
Fabio Estevam [Tue, 12 Sep 2023 15:11:00 +0000 (12:11 -0300)]
imx7: Disable CAAM Job Ring 0
Trying to boot a fitImage after a successful hab_auth_img operation
causes the following error:
## Loading kernel from FIT Image at
88000000 ...
Using 'conf-imx7d-smegw01.dtb' configuration
Trying 'kernel-1' kernel subimage
Description: Linux kernel
Type: Kernel Image
Compression: uncompressed
Data Start: 0x8800010c
Data Size: 9901752 Bytes = 9.4 MiB
Architecture: ARM
OS: Linux
Load Address: 0x80800000
Entry Point: 0x80800000
Hash algo: sha256
Hash value: 28f8779bbf010780f16dd3d84ecb9b604c44c5c2cf7acd098c264a2d3f68e969
Verifying Hash Integrity ... sha256Error in SEC deq
CAAM was not setup properly or it is faulty error!
The reason for this error is that the BootROM uses the CAAM Job Ring 0,
so disable its node in U-Boot to avoid the resource conflict.
imx8m dtsi files also have the Job Ring 0 disable since the following
kernel commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch?h=v6.5&id=
dc9c1ceb555ff661e6fc1081434600771f29657c
For a temporary solution, disable the Job Ring 0 in imx7s-u-boot.dtsi.
Reported-by: Eduard Strehlau <eduard@lionizers.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>
Fabio Estevam [Thu, 7 Sep 2023 01:47:27 +0000 (22:47 -0300)]
imx: hab: Explain that ivt_offset is optional
The ivt_offset parameter is optional for both hab_auth_img_or_fail
and hab_auth_img commands.
Document it in their usage texts to make it clearer.
Signed-off-by: Fabio Estevam <festevam@denx.de>
Fabio Estevam [Thu, 7 Sep 2023 01:47:26 +0000 (22:47 -0300)]
imx: hab: Improve the hab_auth_img_or_fail usage text
Split the hab_auth_img_or_fail usage text in two sentences to make it
clearer.
Signed-off-by: Fabio Estevam <festevam@denx.de>
Eduard Strehlau [Thu, 7 Sep 2023 01:47:25 +0000 (22:47 -0300)]
imx: hab: Allow hab_auth_img_or_fail to be called without ivt_offset
Since commit
ea91031b2232 ("imx: hab: extend hab_auth_img to calculate
ivt_offset"), it is possible to call the hab_auth_img command without the
last ivt_offset argument.
Currently, calling hab_auth_img_or_fail without the last
ivt_offset parameter causes a failure and the command usage text is shown.
Fix this problem by adjusting the argc logic to allow
calling hab_auth_img_or_fail with only the address and size parameters.
This way, both hab_auth_img and hab_auth_img_or_fail have the same
behavior with respect to the allowed number of command parameters.
Signed-off-by: Eduard Strehlau <eduard@lionizers.com>
Signed-off-by: Fabio Estevam <festevam@denx.de>