summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-08-23ODROID-C2: manage OTG port to run USB host when OTG cable is attacheds905_6.0.1_v5.5s905_6.0.1_v5.4s905_6.0.1_v5.3odroidc2-v2015.01Dongjin Kim1-1/+8
Change-Id: I3a929c0484637b0d53f1af84586665e99aebc5a3 Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-02-20Merge pull request #46 from kraj/kraj/odroidc2-v2015.01s905_6.0.1_v5.2s905_6.0.1_v5.1s905_6.0.1_v4.9s905_6.0.1_v4.8s905_6.0.1_v4.7s905_6.0.1_v4.6s905_6.0.1_v4.5s905_6.0.1_v4.4s905_6.0.1_v4.3s905_6.0.1_v4.2s905_6.0.1_v4.1s905_6.0.1_v4.0s905_6.0.1_v3.9s905_6.0.1_v3.8s905_5.1.1_v3.9s905_5.1.1_v3.8s905_5.1.1_v3.7s905_5.1.1_v3.6Mauro Ribeiro6-10/+75
Fix cross builds and using gcc-7+
2018-02-20drivers/gpio: Disable int-in-bool-context with gcc7Khem Raj1-0/+2
This warning when treated as error fails the build amlogic_gpio.c:69:20: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] bool dir = !!(val * BIT(bit)); ~~~~~^~~~~~~~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-02-20arch,drivers: Fix indentation warningKhem Raj2-3/+3
bl31_apis.c:62:2: error: this 'if' clause does not guard... [-Werror=misleading-indentation] Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-02-20usb: s3c-otg: remove unused variableKhem Raj1-2/+0
GCC 7 complains about this. drivers/usb/gadget/s3c_udc_otg.c:72:19: warning: 'driver_desc' defined but not used [-Wunused-const-variable=] static const char driver_desc[] = DRIVER_DESC; ^~~~~~~~~~~ based on https://github.com/u-boot/u-boot/commit/59ef20303a54305b978453d5cc88f9aea2486021 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-02-20tools/fip_create: Use HOSTCC to compileKhem Raj1-5/+4
This helps with cross compiling u-boot Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-02-20Fix build with gcc7Khem Raj1-0/+66
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-01-16Merge "Revert "ODROID-C2: adjust showlogo logic"" into odroidc2-v2015.01s905_6.0.1_v3.7Joy Cho1-21/+4
2018-01-16Merge "Revert "ODROID-C2: adjust logo display init to support all of ↵Joy Cho1-11/+1
resolutions"" into odroidc2-v2015.01
2018-01-16Revert "ODROID-C2: adjust showlogo logic"Joy Cho1-21/+4
This reverts commit 1f3ed0c9d9ae39d58983e97c15df415136136808. Change-Id: Ic341f6bc0ba41bd9fa0748a1fb4e893adf136180
2018-01-16Revert "ODROID-C2: adjust logo display init to support all of resolutions"Joy Cho1-11/+1
This reverts commit f1df1a98f85ac22d465ed05acbe4900892fbc758. Change-Id: Iea80a28cf17a48de4c7d110a2399ff133148863d
2017-12-21Merge "ODROID-C2: fix wrong u-boot env syntaxes to support custombuilt mode" ↵s905_6.0.1_v3.6Joy Cho1-6/+6
into odroidc2-v2015.01
2017-12-21ODROID-C2: update display detection in case of recovery modeJoy Cho1-0/+8
bootargs should be updated with a new modeline and display-related envs to apply each monitors spec. Change-Id: Id766314a438192109e5927f962c4cb39b70c6d5a
2017-12-21ODROID-C2: fix wrong u-boot env syntaxes to support custombuilt modeJoy Cho1-6/+6
Change-Id: I2d3883cc3cb352c74b08107b051bea0a7ce28888
2017-12-21Merge "ODROID-C2: adjust showlogo logic" into odroidc2-v2015.01Joy Cho1-4/+21
2017-12-19ODROID-C2: adjust logo display init to support all of resolutionsjoy1-1/+11
Change-Id: I58fe3426efd01a1cacf585516b9fe050fffa6e75
2017-12-19ODROID-C2: adjust showlogo logicJeongHwaCho1-4/+21
- to suppport various resolution and custombuilt mode - to support both of hdmi and dvi - to support both of Ubuntu and Android : vout for Ubuntu and vout_mode for Android : m for Ubuntu and hdmimode for Android Change-Id: I34d9aa2f08986f76545bd70c08d22770499029e6
2017-12-15Merge "ODROID-C2: change the default vout to HDMI in case of auto detection ↵Joy Cho1-1/+1
fail" into odroidc2-v2015.01
2017-12-15ODROID-C2: change the default vout to HDMI in case of auto detection failJeongHwaCho1-1/+1
Change-Id: I5c8dda1c95d3b45f078591a30e5598baa23136bc
2017-12-15ODROID-C2: add retry scheme in case of zero edid dataJeongHwaCho2-5/+23
Change-Id: Idfcf0882ee20777adb65e767ac5d605b958bac92
2017-11-20ODROID-C2: Add 480x320p60hz.s905_6.0.1_v3.5Luke Go2-0/+2
Change-Id: Iecd63ed20986e616b067ff563086e1b9064cba27
2017-08-01ODROID-C2: Fix a boot logo issue in case of display auto detections905_6.0.1_v3.4Joy Cho3-11/+35
Change-Id: I5a124d8eef71bf0e520f8f3cedbbe56419e3c16d
2017-07-04ODROID-C2: Add a command, 'showddrclk's905_6.0.1_v3.3s905_6.0.1_v3.2Joy Cho3-0/+42
This command parses the acs structure that contains the current DDR clock value and saves it in the env parameter, 'ddrclk'. Change-Id: I1739ed0c17d76fc0408d6c8eb4bbbafeed425867
2017-06-14odroid-c2: sd_fusing.sh: avoid truncating imageHeinrich Schuchardt1-3/+3
When using sd_fusing.sh to write to a file base image the image should not be truncated. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2017-06-14odroid-c2: sd_fusing.sh: fix wordingHeinrich Schuchardt1-2/+2
Use correct wording. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2017-06-01ODROID-C2: dhcp: set 'autoload' to 'no' by defaults905_6.0.1_v3.1s905_6.0.1_v3.0Dongjin Kim1-0/+4
The command 'dhcp' tries to download a boot file by default, no matter DHCP request is failed since internally it's same as BOOTP. So before starting DHCP to obtain IP address, it might be good excercise to run 'setenv autoload no'. So, this patch just does the command by default before invoking DHCP command. Change-Id: Iaf547095a2752229df19243bfd133c280fd3965c Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2017-06-01ODROID-C2: net: enable network protocols DHCP/TFTP/BOOTP/PXEDongjin Kim2-18/+43
This patch is to enable few network protocols such as BOOTP or PXE to allow ODROID-C2 to boot through network. The server must support such protocols as well as DHCP/TFTP server must be running with decent configuration. Change-Id: I94c4caa4077160427152c31180b06326f8aee62e Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2017-06-01BACKPORT: pxe: Ensure all memory access is to mapped memorySjoerd Simons1-30/+56
Properly map memory through map_sysmem so that pxe can be used from the sandbox. Tested in sandbox as well as on jetson-tk1, odroid-xu3, snow as peach-pi boards Change-Id: I53bead85eac4f08d91ff9a084352170361de36c7 Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2017-06-01BACKPORT: net: cancel timeout handler after DHCPACKStefan Brüns1-0/+1
Timeout handler should be stopped after reception of DHCPACK. If "autoload" is not set, the handler is immediately replaced by the TFTP handler, otherwise it may trigger before the next boot stage begins. Change-Id: I0f61c7d1a2b82e11754151dd0e2379e009fe66d4 Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2017-06-01BACKPORT: net: Make netretry actually do somethingJoe Hershberger1-2/+6
netretry previously would only retry in one specific case (your MAC address is not set) and no other. This is basically useless. In the DM implementation for eth it turns this into a completely useless case since an un-configured MAC address results in not even entering the NetLoop. The behavior is now changed to retry any failed command (rotating through the eth adapters if ethrotate != no). It also defaulted to retry forever. It is now changed to default to not retry Change-Id: I3592b6e3c2db0d3512b46a41cf290cd8ccbfbfde Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2017-06-01BACKPORT: net: Fix incorrect DHCP/BOOTP packets on 64-bit systemsSergey Temerkhanov3-18/+17
This commit fixes incorrect DHCP/BOOTP packet layout caused by 'ulong' type size difference on 64 and 32-bit architectures. It also renames NetReadLong()/NetCopyLong() to net_read_u32/net_copy_u32() accordingly. Change-Id: Ic62bc12069cf60aa347d1541acc9f6e8c5c576df Signed-off-by: Radha Mohan Chintakuntla <rchintakuntla@cavium.com> Signed-off-by: Sergey Temerkhanov <s.temerkhanov@gmail.com> Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2017-02-24U-boot bl301: Adjust SCPI_GET_DVFS_INFO schemes905_6.0.1_v2.8s905_6.0.1_v2.7s905_6.0.1_v2.6s905_6.0.1_v2.5s905_6.0.1_v2.4s905_5.1.1_v3.5Joy Cho1-0/+0
1. with domain '0', the max freq. of dvfs table is 1.536GHz 2. to support the existing flexible dvfs table to 2.016GHz, the domain value with setting '1' of 7th bit is reported via scpi command. Change-Id: I270b2d42331d3638e6de61da14cb8fe48093e01c
2017-02-22ODROID-C2: Add gpio wakeup functionJoy Cho2-0/+3
- using gpio number from kernel - bit [23:16] of AO_DEBUG_REG0 - chattering time for gpio power key detection : 300ms Change-Id: I8834ccccf44cf0cde2d16f603612f90e0f6f8897
2017-02-10Merge "ODROID-C2: Fix default bootargs." into odroidc2-v2015.01s905_6.0.1_v2.3s905_6.0.1_v2.2s905_6.0.1_v2.1s905_5.1.1_v3.4s905_5.1.1_v3.3s905_5.1.1_v3.2s905_5.1.1_v3.1Chris Kim1-2/+5
2017-02-10ODROID-C2: Clear osd layer during initial boot processJoy Cho1-0/+5
Change-Id: Ia155a075f6a678667cc661c7adc20bb0a867839b
2017-02-10ODROID-C2: Add YCbCr4:2:0 option of auto detection using extended_tagJoy Cho1-1/+8
Change-Id: I4af2bfd4c4c72fdaabd8ee157d0941768907d6ab
2017-02-09ODROID-C2: Fix default bootargs.codewalker1-2/+5
Change-Id: I4cf17e6657eef494cc29808a34455ab7e038e83c
2017-02-08Support auto detection of display mode based on EDIDJoy Cho6-69/+2354
http://odroid.com/dokuwiki/doku.php?id=en:c2_auto_detect_display Change-Id: I1858ccf7732d12213f17f71fc8de43be4d966597
2017-01-04ODROID-C2: Update bl301.bins905_6.0.1_v2.0s905_6.0.1_v1.7s905_6.0.1_v1.6s905_6.0.1_v1.5s905_6.0.1_v1.4s905_5.1.1_v3.0s905_5.1.1_v2.9Joy Cho1-0/+0
- Adjust vcck routine Change-Id: Ia5d90108fff105ea763dc42024b63318500e39bb
2016-12-19ODROID-C2: Update partition table for recovery.s905_6.0.1_v1.3s905_6.0.1_v1.2s905_5.1.1_v2.8codewalker1-2/+2
Change-Id: I6d1af6eb87da623b54c535d0ad9adebba57ef648
2016-11-08Merge "ODROID-C2: Adjust checking cvbs routine and remove the needless log" ↵s905_6.0.1_v1.1s905_6.0.1_v1.0s905_5.1.1_v2.7s905_5.1.1_v2.6s905_5.1.1_v2.5Joy Cho2-3/+3
into odroidc2-v2015.01
2016-11-08Merge "ODROID-C2: Add cvbs modes" into odroidc2-v2015.01Joy Cho2-0/+4
2016-11-08Merge "Revert "ODROID-C2: Remove cvbs configuration"" into odroidc2-v2015.01Joy Cho1-0/+4
2016-11-07ODROID-C2: Adjust checking cvbs routine and remove the needless logJoy Cho2-3/+3
Change-Id: Icc056b4f9ed000e2e62f415666d97b22ff1bc7da
2016-11-07Revert "ODROID-C2: Remove cvbs configuration"Joy Cho1-0/+4
This reverts commit 872060c110564ac6a10c38fe492d05670e281210. Change-Id: Ia510c50c32c4d9ecb38bae199cfefca1ff01c479
2016-10-27ODROID-C2: Add cvbs modesJoy Cho2-0/+4
Change-Id: Ia0e5dd9767c7e6c90382eed0b2c187c7f40d6584
2016-10-11ODROID-C2: Add fip_create rebuild rule in Makefiles905_5.1.1_v2.4Brian Kim1-0/+6
Pre-built fip_create executable file is only for x86_64 host system. This patch re-builds fip_create elf file if build system is not x86_64 architecture. Change-Id: I1a8fbbd01e66c7be0873b82f0fe2b61226dc03c4 Signed-off-by: Brian Kim <brian.kim@hardkernel.com>
2016-10-11ODROID-C2: Add fip_create executable file(x86_64 ELF)Brian Kim1-0/+0
Change-Id: Ia9cd59bd768827747a3bd02af38e4965c838a2f5 Signed-off-by: Brian Kim <brian.kim@hardkernel.com>
2016-10-11ODROID-C2: Add missed distclean target binaryBrian Kim1-1/+1
Change-Id: I8dcdecd07c8862283e29c0abca0fd2b6ddea2c4b Signed-off-by: Brian Kim <brian.kim@hardkernel.com>
2016-10-11ODROID-C2: Adjust bl301 build option in MakefileJoy Cho1-1/+8
Change-Id: I92ccedf7848040b95c0b54d3e13e11d03f742088