Age | Commit message (Collapse) | Author |
|
The Colibri T20 uses only a subset of the LCD pins.
Only mux the used pins and don't touch the unused pins.
|
|
The crypto folder is located in NVIDIA's common but erroneously created
in Toradex' common which leads to the following error trying to build
out-of-tree (e.g. make O=~/build/test):
/home/user/gcc-linaro/bin/arm-linux-gnueabihf-gcc -g -O2 -fno-common
-ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80108000
-I/home/user/build/test/include2 -I/home/user/build/test/include
-I/home/user/Sources/u-boot-toradex.git/include -fno-builtin
-ffreestanding -nostdinc -isystem /home/user/gcc-linaro-arm-linux
-gnueabihf-2012.09-20120921_linux/bin/../lib/gcc/arm-linux-gnueabihf/
4.7.2/include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux
-mno-thumb-interwork -march=armv5 -Werror -Wall -Wstrict-prototypes
-fno-stack-protector -o /home/user/build/test/board/toradex/common/../
../nvidia/common/pmu.o ../../nvidia/common/pmu.c -c
Assembler messages:
Fatal error: can't create /home/user/build/test/board/toradex/common/
../../nvidia/common/pmu.o: No such file or directory
make[1]: *** [/home/user/build/test/board/toradex/common/../../nvidia/
common/pmu.o] Error 2
make[1]: Leaving directory `/home/user/Sources/u-boot-toradex.git/
board/toradex/common'
make: *** [/home/user/build/test/board/toradex/common/libtoradex.o]
Error 2
Fix this by correctly creating it where it is expected.
|
|
We wrongly set an obsolete define so the U-Boot environment ended up at
the wrong location on the SD card.
Add a hack introducing a short delays before doing MMC_CMD_SET_BLOCKLEN
as otherwise all 4GB Kingston or SanDisk cards I have failed.
While at it fix the USB port naming in the device tree comments to
adhere to the standard Colibri convention.
|
|
tegra: usb: Fix device enumeration problem of USB1
A known hardware issue of USB1 port where bit 1 (connect status
change) of PORTSC register will be set after issuing Port Reset
(like "usb reset" in u-boot command line).
This will be treated as an error and stops later device enumeration.
Therefore we clear that bit after Port Reset in order to proceed
later device enumeration.
Signed-off-by: Jim Lin <jilin@nvidia.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
|
|
USB: EHCI: Allow EHCI post-powerup configuration in board files
This patch allows USB to work on some hosts, which need additional frobing after
the host was powered up via regular USB powerup sequence.
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
Cc: Wolfgang Grandegger <wg@denx.de>
Cc: Jason Liu <r64343@freescale.com>
|
|
The Colibri T20's PMIC enters a sleep mode on low supply voltage < 3.0V
±2.5% (2.92...3.08V). Rising the main supply voltage again does not
bring it back to regular operation. Not even a full reset does bring
the module back. A full power cycle was required to reboot the system.
A long positive pulse on the PMICs resume pin also reboots the system
but this pin is only accessible as a test point on the module.
This patch configures the PMIC through I2C to not enter this sleep mode
plus force it to normal state upon sleep request exit should this ever
happen.
|
|
Enable CONFIG_INITRD_TAG which allows passing initrd ATAGs to the Linux
kernel required for initial RAM disk support.
|
|
The new production lot of Apalis T30 2GB V1.0C now features the new SK
Hynix H26M42003GMR rather than Hynix H26M42002GMR. Even though both
chips feature the same silicon they differ in respective eMMC firmware
and therefore have a different hardware boot partition layout.
This patch enables hardware boot partition support (via 'mmc dev [dev]
[part]' command) and handles NVIDIA's proprietary NvFlash/Fastboot\
behaviour now putting their partition table in the second boot
partition rather than the regular user area.
While at it also get rid of the spurious 'video=tegrafb' kernel boot
argument, adjust the optional ubiargs and add 'noatime' to the usbargs.
|
|
This reverts commit 31cc6903e6790835acd042d078984d98a8277eff.
|
|
Hack backlight GPIO by manually untristating respective pinmux group.
While at it add some comment to both the device-tree as well as the
gpio command that manual untristating will be required on GPIO pins.
|
|
Add some missing back slashes causing compilation failures.
|
|
Add default VESA VGA vidargs for our now modedb enabled kernel. This
allows easy specifying an alternate parallel RGB resolution.
Fix usbboot option to be more in-line with how we do optional MMC/SD
card boot on Colibri VF50/VF61. Loads the uimage kernel from the first
partition being formatted as VFAT and instructs the kernel to mount the
second partition formatted as ext3 as root file system.
While at it further checkpatchify our common board file.
|
|
Our custom handling for periodic endpoints had some bugs in it:
allocating the wrong amount of memory, setting a bit only on low-speed
devices that needs to be present on all of them, and mixing up whether
to reenable the list after changing it between error and success cases.
This patch (hopefully) fixes all of them.
BRANCH=None
BUG=None
TEST=Make sure USB keyboard support in U-Boot works.
Change-Id: I0b302007a620927f596f30a48f420eb67371f78f
Signed-off-by: Julius Werner <jwe...@chromium.org>
|
|
Add more UART configurations to the device trees allowing easy
switching of the console UART port by changing the UART base address
of the console node within the device tree e.g. for using UART2 on
Apalis T30 as follows:
console = "/serial@70006300";
To use it for Linux as well one needs to modify the debug_uartport
kernel boot argument e.g. for using UART2 on Apalis T30 as follows:
setenv setup 'setenv setupargs gpt gpt_sector=${gptoffset} igb_mac=
${ethaddr} no_console_suspend=1 console=tty1 console=ttyS0,${baudrate}n
8 debug_uartport=lsport,3 ${memargs} fbcon=map:1'
|
|
Fix Linux USB OTG1 behaviour by not enabling USBO1_EN during boot as
USB host functionality on OTG1 port is anyway broken under U-Boot.
Enabling USBO1_EN fed back via USBO1_VBUS sensing and caused the OTG
state machine to get a bogus peripheral state change rather than
staying in suspend which failed subsequent host activation.
This was especially bad on Ixora where by default the OTG1 port is
jumpered for shared host port functionality.
|
|
Fix possible uninitialised array member issue in serial number to
hexadecimal coded decimal conversion routine.
|
|
In order to be able to distinguish what hardware one is running on
change the U-Boot shell prompt to something more meaningful.
|
|
In preparation for the new Apalis T30 SKUs implement eMMC PT offset
auto detection.
The PT offset has been calculated from the .cfg eMMC partition
configuration file using virtual linearised addressing across all eMMC
regions as expected by nvflash.
Due to the lack of a region control mechanism in nvflash/.cfg flashing
utility in order to obtain the actual PT offset from the start of the
user region the size of the boot regions must be subtracted.
An eMMC device is specified to have 0 or 2 boot regions and they must
have the same size ranging from 0 to 2 MiB. The boot region size can be
queried from the device through the BOOT_SIZE_MULT field of the
response to the EXT_CSD command sequence.
Tested on initial samples of Apalis T30 1GB V1.0A,
Apalis T30 2GB V1.0B, Apalis T30 2GB V1.0C and Colibri T30 V1.1C.
|
|
In preparation for the new Apalis T30 SKUs implement memory size auto
detection based on reading the aperture register set by boot ROM from
BCT and a simple mirroring detection.
Tested on initial samples of Apalis T30 1GB V1.0A,
Apalis T30 2GB V1.0B, Apalis T30 2GB V1.0C and Colibri T30 V1.1C.
|
|
Fix possible overflow condition in serial number to hexadecimal coded
decimal conversion routine.
|
|
As we have lots of impatient managers lets decrease the default boot
delay. One can still enter the interactive U-Boot console by hitting a
key just in time of boot/reset.
Please note currently at Toradex we from the Linux team concentrate on
feature stability rather than fast booting.
|
|
Due to a unoptimised PLL X table we were only running at 400MHz during
boot.
Incorporated the PLL X table from NVIDIA's latest public U-Boot sources:
http://nv-tegra.nvidia.com/gitweb/?p=3rdparty/u-boot.git;a=blob;f=arch/arm/cpu/arm720t/tegra-common/cpu.c;h=119342e9577f6b42f93d118b81c0e931c9c9423a;hb=chromeos/v2013.01.01-tegra114#l67
And actually set up the T30 PLLs regardless of slow flag as this is
anyway exclusively used on T20.
Issue report courtesy of Mariusz Bulkowski from Draminski.
|
|
As Apalis T30 uses DVI-D aka HDMI as its default external display
interface make sure to activate the framebuffer console on there.
|
|
Forgot to actually adjust the amount of available memory in the
previous commit. Wouldn't it be nice to actually be able to use the
full 2GB?
|
|
Add initial Apalis T30 support based off our current Colibri T30
implementation:
- Updated machine ID.
- USB host USBH2 and USBH3 support. Note: USBO1 support is currently broken.
- Updated MMC and SD card support.
- Adjusted available amount of memory.
|
|
Rather than relying on hard-coded offsets actually make use of
partition table parsing implementation.
While at it bring the whole config more in-line with the Colibri T20.
|
|
Rather than relying on hard-coded offsets actually make use of
partition table parsing implementation.
|
|
As the partition table parsing offset handling relies on the global
data structure prepare the EFI GPT implementation for that.
|
|
Rather than relying on hard-coded offsets actually make use of
partition table parsing implementation.
|
|
NVIDIA's MMC/SD layout includes a partition table that can be used to
generically determine U-Boot environment, kernel, configuration block
as well as GPT offsets. As an added benefit this is completely
independent of the underlying MMC/SD card used which might differ with
various future module versions or particularly cards used for T20 SD
boot. Also handles the case of T20 SD boot where the configuration
block is still taken from NAND flash while the rest resides on the SD
card.
Initial partition table parsing courtesy of Mitja Špes from LXNAV.
|
|
There was no space for the null byte. In our case it led to the lowest
byte of the pointer mtd used by nand_init_chip being cleared, which
made the system crash when it tried to call mtd->priv->select_chip.
Signed-off-by: Daniel Glöckner <dg@emlix.com>
|
|
The Colibri T30 V1.1 modules actually use a different card detect GPIO.
|
|
After having registered the following proper machine type migrate to
actually using it.
http://www.arm.linux.org.uk/developer/machines/list.php?id=4493
While at it clean-out some obsolete Cardhu specific device-tree
nodes resp. properties and clean-up the mach-types header file as well.
|
|
|
|
|
|
This is a purely cosmetic clean-up of the common Toradex board file.
|
|
|
|
|
|
Add optional aka commented out 800x480@60 timing suitable for EDT
ET070080DH6.
|
|
Turns out our simplistic approach of just blindly enabling LAN_V_BUS
and releasing LAN_RESET_N does not prove very reliable.
Properly resetting the chip for 5 microseconds after VBUS is stable
just like we do on the Colibri T20 seems to fix the issue.
|
|
Include "colibri_" prefix in our board compatibility tables in
preparation to properly distinguish future e.g. Apalis modules.
While at it bring the device tree matching more in par with Linux
kernel 3.1.10 from NVIDIA's L4T R16-R2.
|
|
- board.c: changes required by different PMIC variant
|
|
|
|
CLK_RST_CONTROLLER_RST_CPU_CMPLX_SET/CLR_0
|
|
description in Android code. no bug visible as function is not called with run = 1
|
|
here this use did not show any adverse effects
|
|
Turns out we completely missed properly resetting the ASIX USB to FastEthernet chip which from time-to-time on certain modules caused severe Ethernet detection faults only a complete hardware reset or power-cycle could eliminate. Properly resetting the chip for 5 microseconds after VBUS is stable seems to fix the issue.
|
|
|
|
- kernel can now be up to 8MB
- cleanup, e.g. remove any NAND config
- unify with T20 file layout
|
|
If the USR partition we usually mount as root file system could not be
found which is e.g. the case for Android make sure mtdparts does not
start with a spurious coma separator the kernel would interpret as an
empty partition entry.
|