- Jun 13, 2018
-
-
Shyam Saini authored
's/environemnt/environment/' and 's/Environemnt/Environment/' Signed-off-by:
Shyam Saini <shyam@amarulasolutions.com>
-
Alex Kiernan authored
When reading the config file, or a script file, use getline rather than fgets so line lengths aren't limited by the size of a compiled in buffer (128 characters for config, 1024 for scripts). Rename 'dump' to 'line' so it's clear we're working with a line of text. Signed-off-by:
Alex Kiernan <alex.kiernan@gmail.com>
-
Adam Ford authored
The am3517-evm boards stores the environment in NAND, but after merging various configs, the board was trying to load environment variables from FAT which would ultimately fail and cause some chatter. This patch removes the ENV_IS_IN_FAT flag to eliminate the noise. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Alexey Brodkin authored
Often during debugging session it's very interesting to see what data we were dealing with. For example what we write or read to/from memory or peripherals. This change introduces functions that allow to dump binary data with one simple function invocation like: ------------------->8---------------- print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, buf, len); ------------------->8---------------- which gives us the following: ------------------->8---------------- 00000000: f2 b7 c9 88 62 61 75 64 72 61 74 65 3d 31 31 35 ....baudrate=115 00000010: 32 30 30 00 62 6f 6f 74 61 72 67 73 3d 63 6f 6e 200.bootargs=con 00000020: 73 6f 6c 65 3d 74 74 79 53 33 2c 31 31 35 32 30 sole=ttyS3,11520 00000030: 30 6e 38 00 62 6f 6f 74 64 65 6c 61 79 3d 33 00 0n8.bootdelay=3. 00000040: 62 6f 6f 74 66 69 6c 65 3d 75 49 6d 61 67 65 00 bootfile=uImage. 00000050: 66 64 74 63 6f 6e 74 72 6f 6c 61 64 64 72 3d 39 fdtcontroladdr=9 00000060: 66 66 62 31 62 61 30 00 6c 6f 61 64 61 64 64 72 ffb1ba0.loadaddr 00000070: 3d 30 78 38 32 30 30 30 30 30 30 00 73 74 64 65 =0x82000000.stde 00000080: 72 72 3d 73 65 72 69 61 6c 30 40 65 30 30 32 32 rr=serial0@e0022 00000090: 30 30 30 00 73 74 64 69 6e 3d 73 65 72 69 61 6c 000.stdin=serial 000000a0: 30 40 65 30 30 32 32 30 30 30 00 73 74 64 6f 75 0@e0022000.stdou 000000b0: 74 3d 73 65 72 69 61 6c 30 40 65 30 30 32 32 30 t=serial0@e00220 000000c0: 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00.............. ... ------------------->8---------------- Source of hexdump.c was copied from Linux kernel v4.7-rc2. Signed-off-by:
Alexey Brodkin <abrodkin@synopsys.com> Cc: Anatolij Gustschin <agust@denx.de> Cc: Mario Six <mario.six@gdsys.cc> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Cc: Stefan Roese <sr@denx.de>
-
Yevgeny Popovych authored
This causes errors when translating logical addresses to physical: btrfs_map_logical_to_physical: Cannot map logical address <addr> to physical btrfs_file_read: Error reading extent The behavior of btrfs_map_logical_to_physical() is to stop traversing CHUNK_TREE when it encounters first non-CHUNK_ITEM, which makes only some portion of CHUNK_ITEMs being read. Change it to skip over non-chunk items. Signed-off-by:
Yevgeny Popovych <yevgenyp@pointgrab.com> Cc: Marek Behun <marek.behun@nic.cz> Cc: Sergey Struzh <sergeys@pointgrab.com> Reviewed-by:
Marek Behun <marek.behun@nic.cz>
-
Neil Armstrong authored
Synchronize the Linux Device Tree for Amlogic Meson GX boards from Linux 4.17.0 This will enable USB on Amlogic Meson GXL Boards like Khadas VIM, P212 or LibreTech-CC. Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-
Seung-Woo Kim authored
After the commit 265edc03 ("fs/fat: Clean up open-coded sector <-> cluster conversions"), it is hung up writing new file to FAT16 disk with more than 19 files in armv7. It is because result value of sect_to_cluster() is not proper by casting from signed value to unsigned value. Fix the wrong casting of sect_to_cluster(). Reported-by:
Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by:
Seung-Woo Kim <sw0312.kim@samsung.com> Reviewed-by:
Lukasz Majewski <lukma@denx.de>
-
- Jun 12, 2018
-
-
Ramon Fried authored
generic.h has changed in Linux and new addtionals functions were added. This commit takes the latest and greatest from Linux (v4.17-rc5) to aid with porting drivers that utilize these functions. Signed-off-by:
Ramon Fried <ramon.fried@gmail.com>
-
Baruch Siach authored
This commit removes text that is exact duplicated of the text above. Cc: Konstantin Porotchkin <kostap@marvell.com> Signed-off-by:
Baruch Siach <baruch@tkos.co.il> Reviewed-by:
Stefan Roese <sr@denx.de>
-
Matwey V. Kornilov authored
In upstream Linux kernel, the fdtfile for this specific board is called am335x-wega-rdk.dtb Signed-off-by:
Matwey V. Kornilov <matwey.kornilov@gmail.com>
-
Matwey V. Kornilov authored
It appears that DEFAULT_LINUX_BOOT_ENV can be used to boot pcm051 board. Signed-off-by:
Matwey V. Kornilov <matwey.kornilov@gmail.com>
-
Matwey V. Kornilov authored
Signed-off-by:
Matwey V. Kornilov <matwey.kornilov@gmail.com>
-
Matwey V. Kornilov authored
Add support for distro bootcmds. Signed-off-by:
Matwey V. Kornilov <matwey.kornilov@gmail.com>
-
git://git.denx.de/u-boot-marvellTom Rini authored
-
Dennis Gilmore authored
The helios4 is built on the SolidRun Armada 38x SOM. The port os based on the ClearFog board, using information from https://github.com/helios-4/u-boot-marvell as well as dtb input from https://github.com/helios-4/linux-marvell Signed-off-by:
Dennis Gilmore <dennis@ausil.us> Signed-off-by:
Dennis Gilmore <dgilmore@redhat.com> Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Jun 11, 2018
-
-
Vinitha V Pillai authored
Added the following: 1. defconfig for LS1012AFRWY Secure boot 2. PfE Validation support Signed-off-by:
Vinitha V Pillai <vinitha.pillai@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Bhaskar Upadhaya authored
FRWY-LS1012A belongs to LS1012A family with features 2 1G SGMII PFE MAC, Micro SD, USB 3.0, DDR, QuadSPI, Audio, UART. Signed-off-by:
Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com> [yorks: rebase and fix SPDX tag] [yorks: fix board/freescale/ls1012afrdm/Kconfig] Reviewed-by:
York Sun <york.sun@nxp.com>
-
- Jun 08, 2018
-
-
Bhaskar Upadhaya authored
PPA firmware and header address may vary depending upon different boards, configure ppa firmware and header address in board specific Kconfig. Signed-off-by:
Vinitha V Pillai <vinitha.pillai@nxp.com> Signed-off-by:
Jagdish Gediya <jagdish.gediya@nxp.com> Signed-off-by:
Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Jagdish Gediya authored
Signed-off-by:
Jagdish Gediya <jagdish.gediya@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Priyanka Jain authored
As per updated hardware documentation for lsch3 based chips like LS2088A, 0.9v support has been added in possible supported SoC volatges Signed-off-by:
Priyanka Jain <priyanka.jain@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
Ran Wang authored
Signed-off-by:
Ran Wang <ran.wang_1@nxp.com> Reviewed-by:
York Sun <york.sun@nxp.com>
-
git://git.denx.de/u-boot-ubiTom Rini authored
-
git://git.denx.de/u-boot-i2cTom Rini authored
-
git://git.denx.de/u-boot-dmTom Rini authored
-
Seung-Woo Kim authored
After the commit 9b643e31 ("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>
-
Seung-Woo Kim authored
After the commit 9b643e31 ("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> Reviewed-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Seung-Woo Kim authored
If building envtools, there is env directory in tools directory. Mafe the get_default_envs.sh script exclude tools/env directory. Signed-off-by:
Seung-Woo Kim <sw0312.kim@samsung.com>
-
- Jun 07, 2018
-
-
Ramon Fried authored
Add timestamp to each iotrace record to aid in debugging of IO timing access bugs. Signed-off-by:
Ramon Fried <ramon.fried@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Ramon Fried authored
When dealing with a lot of IO regions, sometimes it makes sense only to trace a specific one. This patch adds support for region limits. If region is not set, the iotrace works the same as it was. If region is set, the iotrace only logs io operation that falls in the defined region. Signed-off-by:
Ramon Fried <ramon.fried@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Ramon Fried authored
Signed-off-by:
Ramon Fried <ramon.fried@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
Ramon Fried authored
Add WARN_ONCE definition to allow single time notification of warnings to the user. Taken from Linux kernel (4.17) with slight changes (Removed __section(.data.once)) Signed-off-by:
Ramon Fried <ramon.fried@gmail.com> [trini: Drop the musb and dwc3 compat versions] Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Simon Glass authored
The documentation says this is not implemented, but it is. Update the documentation, and clarify its operation. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Sometimes we have several sections which repeat the same entries (e.g. for a read-only and read-write version of the same section). It is useful to be able to tell these entries apart by name. Add a new 'name-prefix' property for sections, which causes all entries within that section to have a given name prefix. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
It is useful to be able to see a list of regions in each image produced by binman. Add a -m option to output this information in a '.map' file alongside the image file. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Fix a few missing comments and tidy up some existing ones. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Provide an easy way to execute a single binman test by specifying it on the command line. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This property is not documented. Add a note to the README. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
It is useful to be able to split an image into multiple sections, each with its own size and position, for cases where a flash device has read-only and read-write portions. Add support for this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
At present we set the Python path at the start of binman so we can read modules in the 'etype' directory. This is a bit messy since it affects 'import' statements through binman. Adjust the code to set the path locally, just where it is needed. Move the 'entry' module in with the other base modules to help with this. It makes more sense here anyway since it does not implement an entry type. Signed-off-by:
Simon Glass <sjg@chromium.org>
-