oweals/u-boot_mod.git
8 years agoAdd information in README that TL-WR841N/D v10 and v11 are also supported
Piotr Dymacz [Tue, 27 Sep 2016 08:29:25 +0000 (10:29 +0200)]
Add information in README that TL-WR841N/D v10 and v11 are also supported

8 years agoAdd support for YunCore CPE870 (AR9341 based)
Piotr Dymacz [Sun, 25 Sep 2016 21:22:54 +0000 (23:22 +0200)]
Add support for YunCore CPE870 (AR9341 based)

8 years agoSet/unset SRAM REQ ACK bit, based on CPU and AHB clocks in DRAM setup
Piotr Dymacz [Sun, 25 Sep 2016 21:01:46 +0000 (23:01 +0200)]
Set/unset SRAM REQ ACK bit, based on CPU and AHB clocks in DRAM setup

8 years agoFix DDR2 setup on AR934x and QCA95xx
Piotr Dymacz [Sun, 25 Sep 2016 20:48:18 +0000 (22:48 +0200)]
Fix DDR2 setup on AR934x and QCA95xx

Instead of set/unset a SEL_18 bit field in DDR_CTL_CONFIG register,
without touching values of rest of the fields, the code was writing
value 0x40 (bit 6 set) into register (and clearing other fields).

This bug was causing problems with DDR2 initialization at least on
AR934{1,2} with DDR2 memory type.

8 years agoAdd information about ready snapshot images in both README
Piotr Dymacz [Sat, 24 Sep 2016 20:57:44 +0000 (22:57 +0200)]
Add information about ready snapshot images in both README

8 years agoAdd support for TP-Link TL-WR841N/D v11 (v10 clone, different GPIO LED configuration)
Piotr Dymacz [Sat, 24 Sep 2016 11:45:56 +0000 (13:45 +0200)]
Add support for TP-Link TL-WR841N/D v11 (v10 clone, different GPIO LED configuration)

8 years agoAdd support for TP-Link TL-WR841N/D v10 (v9 clone, only higher CPU clock)
Piotr Dymacz [Sat, 24 Sep 2016 11:32:37 +0000 (13:32 +0200)]
Add support for TP-Link TL-WR841N/D v10 (v9 clone, only higher CPU clock)

8 years agoInclude GPL-2.0 license text
Piotr Dymacz [Sat, 24 Sep 2016 08:09:45 +0000 (10:09 +0200)]
Include GPL-2.0 license text

Maybe this will help some companies to understand that
this project is GPL2-licensed...

8 years agoFix TP-Link TL-MR3040 GPIO definitions
Piotr Dymacz [Fri, 23 Sep 2016 22:27:10 +0000 (00:27 +0200)]
Fix TP-Link TL-MR3040 GPIO definitions

8 years agoAlways generate fsdata.c and rebuild httpd part
Piotr Dymacz [Fri, 23 Sep 2016 20:22:15 +0000 (22:22 +0200)]
Always generate fsdata.c and rebuild httpd part

8 years agoRework makefsdatac shell script
Piotr Dymacz [Fri, 23 Sep 2016 20:20:47 +0000 (22:20 +0200)]
Rework makefsdatac shell script

8 years agoSplit Comfast CF-E520N and CF-E530N profiles, build separate images for them
Piotr Dymacz [Fri, 23 Sep 2016 16:47:01 +0000 (18:47 +0200)]
Split Comfast CF-E520N and CF-E530N profiles, build separate images for them

8 years agoSplit TP-Link TL-WA801NDv2 and TL-WA830REv2 profiles, build separate images for them
Piotr Dymacz [Fri, 23 Sep 2016 16:40:20 +0000 (18:40 +0200)]
Split TP-Link TL-WA801NDv2 and TL-WA830REv2 profiles, build separate images for them

8 years agoSplit TP-Link TL-WDR3600 and TL-WDR43x0 profiles, build separate images for them
Piotr Dymacz [Fri, 23 Sep 2016 16:34:27 +0000 (18:34 +0200)]
Split TP-Link TL-WDR3600 and TL-WDR43x0 profiles, build separate images for them

8 years agoGet rid off __DATE__ and __TIME__, use value generated with date command
Piotr Dymacz [Fri, 23 Sep 2016 16:19:02 +0000 (18:19 +0200)]
Get rid off __DATE__ and __TIME__, use value generated with date command

8 years agoAdd original U-Boot image for TP-Link TL-MR22U v1
Piotr Dymacz [Fri, 23 Sep 2016 15:56:09 +0000 (17:56 +0200)]
Add original U-Boot image for TP-Link TL-MR22U v1

8 years agoUse correct/full model names for TP-Link U-Boot dumps
Piotr Dymacz [Fri, 23 Sep 2016 15:48:20 +0000 (17:48 +0200)]
Use correct/full model names for TP-Link U-Boot dumps

8 years agoCosmetic cleanups in u-boot/lib_mips/board.c
Piotr Dymacz [Fri, 23 Sep 2016 15:41:42 +0000 (17:41 +0200)]
Cosmetic cleanups in u-boot/lib_mips/board.c

8 years agoUpdate toolchains information in README, fix some broken links
Piotr Dymacz [Wed, 21 Sep 2016 13:28:52 +0000 (15:28 +0200)]
Update toolchains information in README, fix some broken links

8 years agoSmall optimization in ap143.h
Piotr Dymacz [Sun, 18 Sep 2016 16:57:30 +0000 (18:57 +0200)]
Small optimization in ap143.h

8 years agoAdd support for YunCore AP90Q (QCA9531 based)
Piotr Dymacz [Sun, 18 Sep 2016 16:49:20 +0000 (18:49 +0200)]
Add support for YunCore AP90Q (QCA9531 based)

For this board we need a custom delay in low level GPIO init.
AP90Q contains huge capacitor on reset button line which breaks
O/C recovery mode and makes board start always with safe clocks.

8 years agoAdd support for Comfast CF-E314N (QCA9531 based)
Piotr Dymacz [Thu, 15 Sep 2016 23:16:24 +0000 (01:16 +0200)]
Add support for Comfast CF-E314N (QCA9531 based)

8 years agoGet rid of bc in top Makefile
Piotr Dymacz [Wed, 14 Sep 2016 20:13:42 +0000 (22:13 +0200)]
Get rid of bc in top Makefile

8 years agoComfast CF-E520N and CF-530N are identical, only difference is front panel
Piotr Dymacz [Fri, 9 Sep 2016 13:05:23 +0000 (15:05 +0200)]
Comfast CF-E520N and CF-530N are identical, only difference is front panel

8 years agoUse MK_STR for CONFIG_BOARD_CUSTOM_STRING
Piotr Dymacz [Fri, 9 Sep 2016 12:53:43 +0000 (14:53 +0200)]
Use MK_STR for CONFIG_BOARD_CUSTOM_STRING

8 years agoEnable defenv cmd only if flash and env cmds are defined
Piotr Dymacz [Thu, 8 Sep 2016 19:10:01 +0000 (21:10 +0200)]
Enable defenv cmd only if flash and env cmds are defined

8 years agoAdd support for reading/storing MAC address in env variable
Piotr Dymacz [Thu, 1 Sep 2016 21:21:53 +0000 (23:21 +0200)]
Add support for reading/storing MAC address in env variable

Use ethaddr variable for MAC address. If variable is not set,
try to get MAC from defined FLASH offset or if it's not there,
use fake/static one. Also, set ethaddr with MAC address from
FLASH.

If ethaddr variable is set (ex. user saved it in writable env
or defined during build), set MAC address based on its value.

8 years agoBoth supported Comfast targets use same recipe, so combine them
Piotr Dymacz [Thu, 1 Sep 2016 19:50:25 +0000 (21:50 +0200)]
Both supported Comfast targets use same recipe, so combine them

8 years agoSet autoload variable to 'no' by default
Piotr Dymacz [Thu, 1 Sep 2016 19:19:06 +0000 (21:19 +0200)]
Set autoload variable to 'no' by default

This will stop running tftpboot after receiving
dhcp/bootp configuration.

8 years agoAdd support for defining hostname, add some defaults, include it in bootp
Piotr Dymacz [Thu, 1 Sep 2016 15:37:46 +0000 (17:37 +0200)]
Add support for defining hostname, add some defaults, include it in bootp

8 years agoCleanups in net/bootp.c
Piotr Dymacz [Thu, 1 Sep 2016 15:27:41 +0000 (17:27 +0200)]
Cleanups in net/bootp.c

8 years agoFix mess with MAC address for QCA953x ethernet
Piotr Dymacz [Thu, 1 Sep 2016 11:05:04 +0000 (13:05 +0200)]
Fix mess with MAC address for QCA953x ethernet

8 years agoMake web based recovery optional, as configurable httpd command
Piotr Dymacz [Wed, 31 Aug 2016 23:36:59 +0000 (01:36 +0200)]
Make web based recovery optional, as configurable httpd command

8 years agoCleanups and minor fixes in LZMA related code
Piotr Dymacz [Wed, 31 Aug 2016 23:08:13 +0000 (01:08 +0200)]
Cleanups and minor fixes in LZMA related code

8 years agoSave more space with unused string functions, minor cleanups
Piotr Dymacz [Wed, 31 Aug 2016 23:06:41 +0000 (01:06 +0200)]
Save more space with unused string functions, minor cleanups

8 years agoMove custom button recovery mode to environment script
Piotr Dymacz [Wed, 31 Aug 2016 20:22:21 +0000 (22:22 +0200)]
Move custom button recovery mode to environment script

This allows to disable it and change easily as from now
whole recovery mode is handled in script, not hard-coded
in C. Plus, get rid of some defines, fix support for boot
without delay and some other minor changes.

8 years agoBackport echo command
Piotr Dymacz [Wed, 31 Aug 2016 20:06:39 +0000 (22:06 +0200)]
Backport echo command

8 years agoAdd two simple, custom commands: led{on,off}
Piotr Dymacz [Wed, 31 Aug 2016 16:57:37 +0000 (18:57 +0200)]
Add two simple, custom commands: led{on,off}

8 years agoBackport setexpr command, enable it by default, cleanup cmd_itest.c
Piotr Dymacz [Wed, 31 Aug 2016 16:29:27 +0000 (18:29 +0200)]
Backport setexpr command, enable it by default, cleanup cmd_itest.c

8 years agoCode style cleanups in main.c
Piotr Dymacz [Wed, 31 Aug 2016 14:04:20 +0000 (16:04 +0200)]
Code style cleanups in main.c

8 years agoFix code style/indentation in qca_dram.{c,h}, add missing semicolon
Piotr Dymacz [Wed, 31 Aug 2016 10:30:09 +0000 (12:30 +0200)]
Fix code style/indentation in qca_dram.{c,h}, add missing semicolon

8 years agoAdd support for Comfast CF-E320N v2 (QCA9531 based)
Piotr Dymacz [Wed, 31 Aug 2016 00:09:47 +0000 (02:09 +0200)]
Add support for Comfast CF-E320N v2 (QCA9531 based)

8 years agoAdd missing target for lzma host util remove in topdir Makefile
Piotr Dymacz [Wed, 31 Aug 2016 00:01:56 +0000 (02:01 +0200)]
Add missing target for lzma host util remove in topdir Makefile

8 years agoRe-enable useful features for D-Link DIR-505
Piotr Dymacz [Tue, 30 Aug 2016 23:25:13 +0000 (01:25 +0200)]
Re-enable useful features for D-Link DIR-505

As we have saved some space in image, re-enable useful features
for D-Link DIR-505, including writable environment (use second
half of the mac partition for that).

8 years agoDon't remove lzma host utility with make clean{_all}
Piotr Dymacz [Tue, 30 Aug 2016 23:16:30 +0000 (01:16 +0200)]
Don't remove lzma host utility with make clean{_all}

8 years agoAdd support for Comfast CF-E520N (QCA9531 based)
Piotr Dymacz [Tue, 30 Aug 2016 23:14:20 +0000 (01:14 +0200)]
Add support for Comfast CF-E520N (QCA9531 based)

8 years agoEnable LZMA compressed image also for Carambola 2
Piotr Dymacz [Tue, 30 Aug 2016 21:48:58 +0000 (23:48 +0200)]
Enable LZMA compressed image also for Carambola 2

8 years agoGet rid off pre-compiled lzma host util
Piotr Dymacz [Tue, 30 Aug 2016 21:32:33 +0000 (23:32 +0200)]
Get rid off pre-compiled lzma host util

Import lzma cli utility from LZMA SDK 4.65, from OpenWrt SDK.
Remove not needed code, clean rest little bit and enable
building it by default, but only for LZMA compressed images.

This finally fixes #57.

8 years agoRemove header checksum validation from bootstrap stage
Piotr Dymacz [Tue, 30 Aug 2016 21:22:16 +0000 (23:22 +0200)]
Remove header checksum validation from bootstrap stage

It doesn't make sense to check compressed image header
checksum if we just hang anyway if the checksum is not
valid. That will save some code size and speed up boot
time.

8 years agoRestore crc32 command and clean up code style in cmd_mem.c
Piotr Dymacz [Tue, 30 Aug 2016 00:38:52 +0000 (02:38 +0200)]
Restore crc32 command and clean up code style in cmd_mem.c

8 years agoSave around 1,6 KB in bootstrap with unused code
Piotr Dymacz [Mon, 29 Aug 2016 23:55:04 +0000 (01:55 +0200)]
Save around 1,6 KB in bootstrap with unused code

8 years agoShow some information about bootstrap part of the image
Piotr Dymacz [Mon, 29 Aug 2016 23:27:32 +0000 (01:27 +0200)]
Show some information about bootstrap part of the image

8 years agoFix IMG_LZMA argument support in main Makefile
Piotr Dymacz [Mon, 29 Aug 2016 22:58:39 +0000 (00:58 +0200)]
Fix IMG_LZMA argument support in main Makefile

8 years agoFix CONFIG_BOOTFILE value, use it in fw upgrade script
Piotr Dymacz [Mon, 29 Aug 2016 11:51:18 +0000 (13:51 +0200)]
Fix CONFIG_BOOTFILE value, use it in fw upgrade script

8 years agoRestore and enable by default upgrade scripts
Piotr Dymacz [Mon, 29 Aug 2016 11:35:07 +0000 (13:35 +0200)]
Restore and enable by default upgrade scripts

Include in environment new upgrade scripts as it's
easy and fast way for U-Boot/firmare upgrade using
TFTP server (should listen on 'serverip' address).

Use them under U-Boot command line with:
- run uboot_upg (for U-Boot image upgrade, file: u-boot.bin)
- run fw_upg (for firmware image upgrade, file: firmware.bin)

8 years agoFix long type support in itest command
Piotr Dymacz [Mon, 29 Aug 2016 09:02:48 +0000 (11:02 +0200)]
Fix long type support in itest command

8 years agoDefine and use image size limit in bytes instead of KB
Piotr Dymacz [Sun, 28 Aug 2016 23:39:48 +0000 (01:39 +0200)]
Define and use image size limit in bytes instead of KB

8 years agoRemove some features to make image for DIR-505 fit in 64 KB
Piotr Dymacz [Sun, 28 Aug 2016 22:39:37 +0000 (00:39 +0200)]
Remove some features to make image for DIR-505 fit in 64 KB

8 years agoCleanup board configs
Piotr Dymacz [Sun, 28 Aug 2016 22:26:03 +0000 (00:26 +0200)]
Cleanup board configs

- move common defines into separate header file
- remove old ar7240.h config
- clean up mess

8 years agoFix indentation in soc_common.h
Piotr Dymacz [Sun, 28 Aug 2016 22:08:11 +0000 (00:08 +0200)]
Fix indentation in soc_common.h

8 years agoFix indentation in QCA common header, add define for PLL/clock in FLASH offset
Piotr Dymacz [Sun, 28 Aug 2016 20:33:50 +0000 (22:33 +0200)]
Fix indentation in QCA common header, add define for PLL/clock in FLASH offset

8 years agoRework main Makefiles
Piotr Dymacz [Fri, 26 Aug 2016 10:23:40 +0000 (12:23 +0200)]
Rework main Makefiles

This includes:

1. Finally, move SOC definitions to an external header file
   and just include it in config.h

2. Unify target naming scheme and use same names in both
   Makefiles, fix names for some targets, include device
   vendor name

3. Use custom functions to reduce code size and duplicates

4. IMPORTANT: Use LZMA-compressed image version by default,
   as the difference in boot time is negligible, but size
   of the code is reduced by more than 50%

5. Show some information about image configuration during
   building, example:

   Removing configuration...
   Preparing configuration for target: tp-link_tl-wdr3600_tl-43x0

     Device vendor/model:    TP-Link TL-WDR3600/43x0
     Custom recovery web:    no
     Image size limit:       123 KB
     Default FLASH size:     8 MB
     GPIO reset button:      16
     Button active low:      yes
     LZMA compression:       yes
     RAM-loadable only:      no

   [...]

   Copying compiled image...
   Checking size of the image...
   Preparing 123 KB image padded with 0xFF...
   Preparing final image...
   Calculating MD5 sum for the final image...

   DONE!
   Image 'bin/u-boot_mod__20160826__tp-link_tl-wdr3600_tl-43x0.bin' is ready!

6. Change final image name, include build date, proper name
   of the project (u-boot_mod) and selected target name

8 years agoRevert part of qca953x network fixes as it breaks RAM version
Piotr Dymacz [Wed, 24 Aug 2016 14:18:18 +0000 (16:18 +0200)]
Revert part of qca953x network fixes as it breaks RAM version

8 years agoCleanups in low level GPIO related code
Piotr Dymacz [Sun, 21 Aug 2016 17:02:08 +0000 (19:02 +0200)]
Cleanups in low level GPIO related code

This includes:
- shrink define names for GPIO masks
- adjust code for tabs width of 8
- fix indentations
- other minor fixes

8 years agoMerge branch 'mr13u_led_polarity_fix' into dev
Piotr Dymacz [Sun, 21 Aug 2016 09:49:26 +0000 (11:49 +0200)]
Merge branch 'mr13u_led_polarity_fix' into dev

8 years agoInclude two trivial commands: button and sleep
Piotr Dymacz [Sat, 20 Aug 2016 22:32:13 +0000 (00:32 +0200)]
Include two trivial commands: button and sleep

These simple commands might be very useful in scripts
and as we already using Hush shell type, it would be
easier to transform recovery modes into some set of
scripts instead of hard-coding them.

8 years agoFix LED polarity for the TP-LINK TL-MR13U. 118/head
Vittorio G (VittGam) [Sat, 20 Aug 2016 21:56:25 +0000 (23:56 +0200)]
Fix LED polarity for the TP-LINK TL-MR13U.

See https://dev.openwrt.org/changeset/44647 for the related OpenWrt change.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
8 years agoCosmetic cleanups in various files
Piotr Dymacz [Sat, 20 Aug 2016 20:18:12 +0000 (22:18 +0200)]
Cosmetic cleanups in various files

8 years agoUse defines for selecting commands instead of bitmask
Piotr Dymacz [Sat, 20 Aug 2016 20:04:22 +0000 (22:04 +0200)]
Use defines for selecting commands instead of bitmask

Bitmask limits number of commands which can be predefined,
so switch to the approach already used in mainline version.

8 years agoAdd support for Zbtlink ZBT-WE1526 (QCA9531 based)
Piotr Dymacz [Tue, 16 Aug 2016 20:58:52 +0000 (22:58 +0200)]
Add support for Zbtlink ZBT-WE1526 (QCA9531 based)

8 years agoMerge branch 'build_cleanups' into dev
Piotr Dymacz [Tue, 16 Aug 2016 20:28:17 +0000 (22:28 +0200)]
Merge branch 'build_cleanups' into dev

8 years agoCleanups in QCA953x eth/phy related code
Piotr Dymacz [Tue, 16 Aug 2016 17:50:30 +0000 (19:50 +0200)]
Cleanups in QCA953x eth/phy related code

Get rid of some warnings from compilator.
This also fixes #111 (don't drop broadcast packets).

8 years agoAdd function for printing command usage
Piotr Dymacz [Sun, 14 Aug 2016 14:02:42 +0000 (16:02 +0200)]
Add function for printing command usage

DRY... move duplicated code into common function. This saves
around 900 bytes in uncompressed version and around 200 bytes
in compressed one.

Also, cleanup little bit coding style in command.{c,h}

8 years agoEnable iminfo command by default for all devices
Piotr Dymacz [Sun, 14 Aug 2016 11:31:05 +0000 (13:31 +0200)]
Enable iminfo command by default for all devices

Since we support both types of image headers, we can enable
"iminfo" command by default for all devices.

Example output for image with custom TP-Link header:

uboot> imi 0x9F020000

Checking image at 0x9F020000...

   Vendor/image name:    TP-LINK Technologies ver. 1.0
   Firmware version:     3.16.9
   Hardware ID:          0x8410009
   Whole image size:     3.8 MB (3932160 bytes)
   Kernel size:          706.1 kB (723022 bytes)
   Rootfs size:          2.8 MB (2883584 bytes)
   Kernel load address:  0x80002000
   Kernel entry point:   0x801856F0

   Header CRC...  skipped
   Data CRC...    skipped

And for default U-Boot image header (Multi-File image here):

uboot> imi 0x9FE80000

Checking image at 0x9FE80000...

   Image name:    MIPS OpenWrt Linux-3.3.8
   Build date:    2015-10-22 03:41:11 UTC
   Architecture:  MIPS
   OS/image type: Linux Multi-File
   Compression:   LZMA
   Data size:     1 MB (1090582 bytes)
   Load address:  0x80060000
   Entry point:   0x80060000

   Multi-Image:
   > 1 MB (1090574 bytes)

   Header CRC...  OK!
   Data CRC...    OK!

8 years agoEnable silent console feature support by default
Piotr Dymacz [Sun, 14 Aug 2016 11:06:01 +0000 (13:06 +0200)]
Enable silent console feature support by default

As we already support writable environment on most of the
devices, it makes sense to include support for silent console
by default.

It's up to the user to enable it, using "silent" environment
variable, ex. "setenv silent 1; saveenv".

8 years agoRemove CONFIG_TPLINK_IMAGE_HEADER define
Piotr Dymacz [Sun, 14 Aug 2016 08:51:21 +0000 (10:51 +0200)]
Remove CONFIG_TPLINK_IMAGE_HEADER define

8 years agoCleanups in bootm command and related code
Piotr Dymacz [Sun, 14 Aug 2016 08:33:03 +0000 (10:33 +0200)]
Cleanups in bootm command and related code

Instead of selecting supported header type (standard U-Boot image
or custom TP-Link) at compile time, from now both headers are
supported. This allows to use both image types on all devices,
which sometimes might be useful.

Other changes:

- clean up code style, use tab size = 8
- restore support for Multi-File image, used in some ZBT routers
- add new TP-Link image header definition, get rid of old one
- restore CRC checksum tests (for image header and data)
- make image header information look better, include more data
- remove bootd command, as it was only alias for boot command

8 years agoAdd support for Winbond W25Q128FW (16 MB, low voltage) FLASH chip
Piotr Dymacz [Thu, 11 Aug 2016 11:33:30 +0000 (13:33 +0200)]
Add support for Winbond W25Q128FW (16 MB, low voltage) FLASH chip

8 years agotrivial: fix typo (writting -> writing)
Piotr Dymacz [Thu, 11 Aug 2016 10:40:06 +0000 (12:40 +0200)]
trivial: fix typo (writting -> writing)

8 years agoCleaned up build process, added lzma bin for x86_64
David Thornley [Tue, 31 May 2016 07:20:44 +0000 (17:20 +1000)]
Cleaned up build process, added lzma bin for x86_64

Supplied compiled host_util for linux-x86_32 (original compiled)
and newly compiled linux-x86_64 and darwin-x86_64.

Split across different subfolders depending on HOSTOS-HOSTARCH,
made HOSTOS consistent in root Makefile.

Added LIBS_SHARED variable that is independently compiled,
as opposed to including common files in both LIBS and LIBS_BOOTSTRAP.

Cleaned up documentation (removed lzma mention in OS X build, now using macOS).

8 years agoUse CONFIG_TPLINK_IMAGE_HEADER for GL.iNet
Piotr Dymacz [Sat, 23 Jul 2016 17:01:42 +0000 (19:01 +0200)]
Use CONFIG_TPLINK_IMAGE_HEADER for GL.iNet

Fixes #114

8 years agoAdd original U-Boot images for more devices
Piotr Dymacz [Wed, 20 Jul 2016 07:24:04 +0000 (09:24 +0200)]
Add original U-Boot images for more devices

8 years agoFix RAM version (don't initialize DDR controller)
Piotr Dymacz [Wed, 15 Jun 2016 09:24:53 +0000 (11:24 +0200)]
Fix RAM version (don't initialize DDR controller)

8 years agoUpdate README
Piotr Dymacz [Wed, 15 Jun 2016 09:12:26 +0000 (11:12 +0200)]
Update README

8 years agoChange remaining /bin/echo to echo in Makefile
Piotr Dymacz [Wed, 15 Jun 2016 09:05:20 +0000 (11:05 +0200)]
Change remaining /bin/echo to echo in Makefile

8 years agoImprovements to build process for OSX build support
David Thornley [Tue, 31 May 2016 01:21:44 +0000 (11:21 +1000)]
Improvements to build process for OSX build support

Requires updated bash and gnu coreutils, gnu-sed via brew.
Added HostOS platform sanity check (only linux and osx supported/tested)
Makefile and u-boot/Makefile forces SHELL to bash which addresses issues with cross platform "echo" and nullifies previous workaround /bin/echo (for -e and -n).
Added documentation for building on OS X

8 years agoRemove some old defines from Makefile
Piotr Dymacz [Tue, 14 Jun 2016 21:35:06 +0000 (23:35 +0200)]
Remove some old defines from Makefile

8 years agoDefine CONFIG_PCI only for boards which use PCIe bus
Piotr Dymacz [Tue, 14 Jun 2016 21:23:25 +0000 (23:23 +0200)]
Define CONFIG_PCI only for boards which use PCIe bus

8 years agoAdd info about Wallys DR531 in README
Piotr Dymacz [Tue, 14 Jun 2016 20:29:40 +0000 (22:29 +0200)]
Add info about Wallys DR531 in README

8 years agoRemove some old and not needed anymore defines from configs
Piotr Dymacz [Tue, 14 Jun 2016 19:32:51 +0000 (21:32 +0200)]
Remove some old and not needed anymore defines from configs

8 years agoAdd support for Wallys DR531 (QCA9531 v2)
Piotr Dymacz [Tue, 14 Jun 2016 19:24:52 +0000 (21:24 +0200)]
Add support for Wallys DR531 (QCA9531 v2)

8 years agoIntroduce new, common PCIe setup code for QC/A WiSoCs
Piotr Dymacz [Tue, 14 Jun 2016 19:16:52 +0000 (21:16 +0200)]
Introduce new, common PCIe setup code for QC/A WiSoCs

New code setups PCIe PLL and resets PCIe controller.
For now, it was tested only on real hardware based
on QCA9531 and AR9344.

For information purposes, include also new line in
board info message, with vendor and device ID of
device/s connected on PCIe bus/es.

8 years agotrivial: drop executable file attribute on source files
Piotr Dymacz [Tue, 14 Jun 2016 19:12:34 +0000 (21:12 +0200)]
trivial: drop executable file attribute on source files

8 years agoDrop old PCI/E related code
Piotr Dymacz [Tue, 14 Jun 2016 18:53:58 +0000 (20:53 +0200)]
Drop old PCI/E related code

8 years agoAdd PCIe and reset related registers/bit fields for QCA, plus minor fixes
Piotr Dymacz [Tue, 14 Jun 2016 17:48:34 +0000 (19:48 +0200)]
Add PCIe and reset related registers/bit fields for QCA, plus minor fixes

8 years agoRework PLL/clock related registers/bit fields in common QCA header
Piotr Dymacz [Sun, 12 Jun 2016 14:17:12 +0000 (16:17 +0200)]
Rework PLL/clock related registers/bit fields in common QCA header

8 years agoSetup GPIO_OUT register before GPIO_OUT_FUNCx and GPIO_IN_ENx in low level GPIO init
Piotr Dymacz [Fri, 3 Jun 2016 10:30:41 +0000 (12:30 +0200)]
Setup GPIO_OUT register before GPIO_OUT_FUNCx and GPIO_IN_ENx in low level GPIO init

8 years agoIgnore null character when waiting for autoboot abort
Piotr Dymacz [Thu, 31 Mar 2016 09:30:35 +0000 (11:30 +0200)]
Ignore null character when waiting for autoboot abort

8 years agoCosmetic cleanups in QC/A LSUART driver
Piotr Dymacz [Thu, 31 Mar 2016 09:19:47 +0000 (11:19 +0200)]
Cosmetic cleanups in QC/A LSUART driver

8 years agoAdd missing timer_init function in init sequence for not compressed U-Boot version
Piotr Dymacz [Wed, 30 Mar 2016 18:24:43 +0000 (20:24 +0200)]
Add missing timer_init function in init sequence for not compressed U-Boot version