oweals/u-boot_mod.git
9 years agoMerge branch 'update_readme'
Piotr Dymacz [Thu, 5 Nov 2015 12:52:17 +0000 (13:52 +0100)]
Merge branch 'update_readme'

9 years agoUpdate both README files, add information about different FLASH map, update instructi...
Piotr Dymacz [Thu, 5 Nov 2015 12:46:01 +0000 (13:46 +0100)]
Update both README files, add information about different FLASH map, update instruction for TFTP/UART method, add new images

9 years agoEnable loadb/loady commands by default for most of supported devices
Piotr Dymacz [Wed, 29 Apr 2015 17:49:28 +0000 (19:49 +0200)]
Enable loadb/loady commands by default for most of supported devices

9 years agoCosmetic changes in cmd_load.c, tested, working
Piotr Dymacz [Wed, 29 Apr 2015 17:48:08 +0000 (19:48 +0200)]
Cosmetic changes in cmd_load.c, tested, working

9 years agoAdd missing newline in setclk command description.
Piotr Dymacz [Wed, 29 Apr 2015 14:02:00 +0000 (16:02 +0200)]
Add missing newline in setclk command description.

9 years agoRestore support for loadb, loads and saves commands. Still needs some tests and fixes.
Piotr Dymacz [Wed, 29 Apr 2015 14:00:32 +0000 (16:00 +0200)]
Restore support for loadb, loads and saves commands. Still needs some tests and fixes.

9 years agoAdd all supported baud rates in top config. TODO: fix AR934x support (need new serial...
Piotr Dymacz [Tue, 28 Apr 2015 22:12:32 +0000 (00:12 +0200)]
Add all supported baud rates in top config. TODO: fix AR934x support (need new serial driver)

9 years agoPrint all available baud rates if selected is not supported
Piotr Dymacz [Tue, 28 Apr 2015 22:08:12 +0000 (00:08 +0200)]
Print all available baud rates if selected is not supported

9 years agoUpdate list of supported baud rates in new AR933x serial driver.
Piotr Dymacz [Tue, 28 Apr 2015 21:39:34 +0000 (23:39 +0200)]
Update list of supported baud rates in new AR933x serial driver.

9 years agoSwitch to target function name for clocks reading
Piotr Dymacz [Tue, 28 Apr 2015 18:18:14 +0000 (20:18 +0200)]
Switch to target function name for clocks reading

9 years agoMove serial_init function, that solves problems with support for configurable baudrat...
Piotr Dymacz [Tue, 28 Apr 2015 17:50:00 +0000 (19:50 +0200)]
Move serial_init function, that solves problems with support for configurable baudrates in compressed version

9 years agoDon't enable RTS/CTS by default in new AR933x UART driver, because we are not able...
Piotr Dymacz [Tue, 28 Apr 2015 14:59:57 +0000 (16:59 +0200)]
Don't enable RTS/CTS by default in new AR933x UART driver, because we are not able to control GPIO17 (LED6) after that... it looks like another mistake in datasheet.

9 years agoRemove unused, old UART driver and clean Makefile in cpu/mips/ar7240
Piotr Dymacz [Tue, 28 Apr 2015 13:10:57 +0000 (15:10 +0200)]
Remove unused, old UART driver and clean Makefile in cpu/mips/ar7240

9 years agoFunction ar933x_40MHz_xtal should be inline
Piotr Dymacz [Tue, 28 Apr 2015 13:08:51 +0000 (15:08 +0200)]
Function ar933x_40MHz_xtal should be inline

9 years agoSwitch to new UART driver and allow to use more baudrates on Dragino2 board for test...
Piotr Dymacz [Sun, 19 Oct 2014 20:19:44 +0000 (22:19 +0200)]
Switch to new UART driver and allow to use more baudrates on Dragino2 board for test purposes. This changes break code on boards with compressed, 64 KB U-Boot image.

9 years agoNew and better AR933x UART driver, with support for baudrate switch, used it upstrem...
Piotr Dymacz [Sun, 19 Oct 2014 20:15:00 +0000 (22:15 +0200)]
New and better AR933x UART driver, with support for baudrate switch, used it upstrem U-Boot version, not yet released for this SoC

9 years agoMove ar7240_sys_frequency function to external, new file: ar933x_clocks.c
Piotr Dymacz [Sun, 19 Oct 2014 20:11:07 +0000 (22:11 +0200)]
Move ar7240_sys_frequency function to external, new file: ar933x_clocks.c

9 years agoNew AR933x SoC registers definitions
Piotr Dymacz [Sun, 19 Oct 2014 20:09:08 +0000 (22:09 +0200)]
New AR933x SoC registers definitions

9 years agoMake U-Boot image upgrade scripts in environment variables compatible with bigger...
Piotr Dymacz [Tue, 28 Apr 2015 12:42:08 +0000 (14:42 +0200)]
Make U-Boot image upgrade scripts in environment variables compatible with bigger images

9 years agoRemove fake, software FLASH protection command and related function... we really...
Piotr Dymacz [Tue, 28 Apr 2015 12:28:40 +0000 (14:28 +0200)]
Remove fake, software FLASH protection command and related function... we really don't need it and all it does is just increase final image size

9 years agoAdd missing echo commands in update scripts, stored in environment variables
Piotr Dymacz [Tue, 28 Apr 2015 10:46:45 +0000 (12:46 +0200)]
Add missing echo commands in update scripts, stored in environment variables

9 years agoMake custom command "defenv" compatible with environment variables block stored not...
Piotr Dymacz [Tue, 28 Apr 2015 10:25:28 +0000 (12:25 +0200)]
Make custom command "defenv" compatible with environment variables block stored not at FLASH sector boundary.

9 years agoRestore FLASH protection related command and function, they are needed for writable...
Piotr Dymacz [Tue, 28 Apr 2015 10:24:38 +0000 (12:24 +0200)]
Restore FLASH protection related command and function, they are needed for writable environment variables support

9 years agoEnable more commands and writable environment support on almost all supported devices...
Piotr Dymacz [Tue, 28 Apr 2015 09:51:01 +0000 (11:51 +0200)]
Enable more commands and writable environment support on almost all supported devices, excluding D-Link DIR-505.
On rest devices, we will store environment variables in second FLASH sector, at offset 0x9F01EC00 and limit environment block size to 4 KB (should be enough, can be extended with reduced U-Boot image size).

Simple map of new FLASH organization for TP-Link/GS-Oolite/GL.iNet devices:

0x9F000000 Start of FLASH, start of U-Boot image, 1st 64 KB FLASH sector
..........
0x9F010000 Start of 2nd 64 KB FLASH sector
..........
0x9F01EC00 End of U-Boot image (up to 123 KB), start of 4 KB environment variables block
..........
0x9F01FC00 End of environment variables block, start of 1 KB block with MAC address, model number, WPS pin
..........
0x9F020000 End of MAC block, start of 3rd 64 KB FLASH sector, start of firmware image
..........

D-Link DIR-505 has ART data in second sector, starting from 0x9F011000, which gives us only 4 KB of additional space.
Maybe we can fit environment variables block in the same sector where is stored MAC address, but first we need to find more space for U-Boot image.

9 years agoFix line endings (Win->Unix) in u-boot/include/configs/db12x.h
Piotr Dymacz [Tue, 28 Apr 2015 07:08:21 +0000 (09:08 +0200)]
Fix line endings (Win->Unix) in u-boot/include/configs/db12x.h

9 years agoTemporary remove DHCP feature on D-Link DIR505, so that the final image is smaller...
Piotr Dymacz [Tue, 28 Apr 2015 06:24:16 +0000 (08:24 +0200)]
Temporary remove DHCP feature on D-Link DIR505, so that the final image is smaller than 64 KB.

9 years agoExtend maximum U-Boot image size up to 123 KB (1 KB is reserved for additional data...
Piotr Dymacz [Mon, 27 Apr 2015 22:22:43 +0000 (00:22 +0200)]
Extend maximum U-Boot image size up to 123 KB (1 KB is reserved for additional data in second sector, in rest 4 KB we will store writable environment) for TP-Link, GS-Oolite and GL.iNet devices, that will allow to include more commands, including environment support.

9 years agoAllow to upload in web failsafe mode U-Boot images which are not multiple of FLASH...
Piotr Dymacz [Mon, 27 Apr 2015 17:38:23 +0000 (19:38 +0200)]
Allow to upload in web failsafe mode U-Boot images which are not multiple of FLASH erase sector size (like Nx64KB). Backup data from FLASH before U-Boot upgrade - that will allow to extend U-Boot image size on all TP-Link devices.

9 years agoUse U-Boot max. image size definition from top Makefile in configs
Piotr Dymacz [Tue, 14 Oct 2014 21:58:10 +0000 (23:58 +0200)]
Use U-Boot max. image size definition from top Makefile in configs

9 years agoChange name of U-Boot max. image size definition in top Makefile
Piotr Dymacz [Tue, 14 Oct 2014 21:56:48 +0000 (23:56 +0200)]
Change name of U-Boot max. image size definition in top Makefile

9 years agoAdd more files in top .gitignore
Piotr Dymacz [Mon, 27 Apr 2015 11:12:18 +0000 (13:12 +0200)]
Add more files in top .gitignore

9 years agoMerge branch 'pull-request-56'
Piotr Dymacz [Sun, 26 Apr 2015 17:18:48 +0000 (19:18 +0200)]
Merge branch 'pull-request-56'

9 years agoimport slightly stripped top .gitignore from mainline U-Boot 56/head
Antony Pavlov [Mon, 20 Apr 2015 13:00:11 +0000 (16:00 +0300)]
import slightly stripped top .gitignore from mainline U-Boot

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
9 years agotreewide: drop executable file attrib for non-executable files
Antony Pavlov [Mon, 20 Apr 2015 12:25:20 +0000 (15:25 +0300)]
treewide: drop executable file attrib for non-executable files

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
9 years agou-boot-update: fix small typo
Piotr Dymacz [Fri, 21 Nov 2014 00:49:55 +0000 (01:49 +0100)]
u-boot-update: fix small typo

10 years agoAdd u-boot-update script, used in last release, in dedicated OpenWrt BB images
Piotr Dymacz [Fri, 21 Nov 2014 00:23:28 +0000 (01:23 +0100)]
Add u-boot-update script, used in last release, in dedicated OpenWrt BB images

10 years agoSuffix for RAM and silent console images versions, indentation fix 2014-11-19
Piotr Dymacz [Wed, 19 Nov 2014 08:35:23 +0000 (09:35 +0100)]
Suffix for RAM and silent console images versions, indentation fix

10 years agoRemove SNTP from ap121, that will allow to build images with silent console
Piotr Dymacz [Wed, 19 Nov 2014 08:34:10 +0000 (09:34 +0100)]
Remove SNTP from ap121, that will allow to build images with silent console

10 years agoMerge pull request #36 from villagetelco/master
Piotr Dymacz [Mon, 8 Sep 2014 01:43:18 +0000 (03:43 +0200)]
Merge pull request #36 from villagetelco/master

Added html files for Village Telco

10 years agoMerge branch 'master' of github.com:pepe2k/u-boot_mod
Piotr Dymacz [Mon, 8 Sep 2014 01:35:58 +0000 (03:35 +0200)]
Merge branch 'master' of github.com:pepe2k/u-boot_mod

10 years agoSupport for Village Telco Mesh Potato 2 (which is based on Dragino 2 hardware)
Piotr Dymacz [Mon, 8 Sep 2014 01:34:28 +0000 (03:34 +0200)]
Support for Village Telco Mesh Potato 2 (which is based on Dragino 2 hardware)

10 years agoInformation about Village Telco MP2 in README
Piotr Dymacz [Mon, 8 Sep 2014 01:08:21 +0000 (03:08 +0200)]
Information about Village Telco MP2 in README

10 years agoSupport for GL-CONNECT GL.iNet router
Piotr Dymacz [Mon, 8 Sep 2014 00:30:49 +0000 (02:30 +0200)]
Support for GL-CONNECT GL.iNet router

10 years agoInformation about GL.iNet in README
Piotr Dymacz [Sun, 7 Sep 2014 23:41:02 +0000 (01:41 +0200)]
Information about GL.iNet in README

10 years agoFix line endings in db12x.c
Piotr Dymacz [Sun, 7 Sep 2014 23:17:14 +0000 (01:17 +0200)]
Fix line endings in db12x.c

10 years agoInitial support for RAM version of this U-Boot modification (tested, working).
Piotr Dymacz [Sun, 7 Sep 2014 22:53:59 +0000 (00:53 +0200)]
Initial support for RAM version of this U-Boot modification (tested, working).
Usage: uncomment 13 line in top Makefile, build image for selected model, load image to address 0x80100000 and execute it from there.
DO NOT use RAM version images for booting from FLASH - that will brick your device! RAM version DOES NOT contain low level initialization (clocks, PLL, etc.).

10 years agoSmall, cosmetic changes in header print output in mkimage
Piotr Dymacz [Sat, 6 Sep 2014 00:35:30 +0000 (02:35 +0200)]
Small, cosmetic changes in header print output in mkimage

10 years agoSmall, cosmetic changes in Makefiles
Piotr Dymacz [Sat, 6 Sep 2014 00:35:05 +0000 (02:35 +0200)]
Small, cosmetic changes in Makefiles

10 years agoMerge branch 'ar9341_mem_init_fix'
Piotr Dymacz [Fri, 5 Sep 2014 23:05:59 +0000 (01:05 +0200)]
Merge branch 'ar9341_mem_init_fix'

10 years agoThis should solve problems with some DDR1 memories on AR934x
Piotr Dymacz [Fri, 5 Sep 2014 13:25:05 +0000 (15:25 +0200)]
This should solve problems with some DDR1 memories on AR934x

10 years agoAdded html files for Village Telco 36/head
Steve Song [Thu, 14 Aug 2014 11:21:30 +0000 (08:21 -0300)]
Added html files for Village Telco

10 years agoMerge pull request #32 from hackruu/patch-1
Piotr Dymacz [Tue, 15 Jul 2014 18:01:23 +0000 (20:01 +0200)]
Merge pull request #32 from hackruu/patch-1

Update README.md

10 years agoMerge pull request #34 from ljani/patch-1
Piotr Dymacz [Tue, 15 Jul 2014 17:59:49 +0000 (19:59 +0200)]
Merge pull request #34 from ljani/patch-1

Add instructions for flashing with OpenWRT

10 years agoAdd instructions for flashing with OpenWRT 34/head
Jani [Tue, 15 Jul 2014 17:56:34 +0000 (20:56 +0300)]
Add instructions for flashing with OpenWRT

These instructions assume a TP-Link product, but try warn about using other devices

10 years agoUpdate README.md 32/head
hackruu [Wed, 2 Jul 2014 20:52:21 +0000 (00:52 +0400)]
Update README.md

Short notes about using net console on other OSes.

10 years agogrammar 30/head
Roger [Wed, 18 Jun 2014 16:54:58 +0000 (11:54 -0500)]
grammar

10 years agofix numbering
Roger [Wed, 18 Jun 2014 16:53:14 +0000 (11:53 -0500)]
fix numbering

10 years agoformatting
Roger [Wed, 18 Jun 2014 16:52:27 +0000 (11:52 -0500)]
formatting

10 years agofix grammar
Roger [Wed, 18 Jun 2014 16:49:08 +0000 (11:49 -0500)]
fix grammar

10 years agoadd dd-wrt instructions from @nutterbg
Roger [Wed, 18 Jun 2014 16:30:22 +0000 (11:30 -0500)]
add dd-wrt instructions from @nutterbg

10 years agoUse BIT13 from BOOT_STRAP register for memory recognition
Piotr Dymacz [Tue, 3 Jun 2014 22:45:06 +0000 (00:45 +0200)]
Use BIT13 from BOOT_STRAP register for memory recognition

10 years agoSimple websites, without logo and repository link, only for fw update
Piotr Dymacz [Thu, 20 Mar 2014 20:37:23 +0000 (21:37 +0100)]
Simple websites, without logo and repository link, only for fw update

10 years agoDifferent IP addresses for Dragino 2
Piotr Dymacz [Thu, 20 Mar 2014 16:45:55 +0000 (17:45 +0100)]
Different IP addresses for Dragino 2

10 years agoDon't need that...
Piotr Dymacz [Thu, 20 Mar 2014 15:02:08 +0000 (16:02 +0100)]
Don't need that...

10 years agodefenv cmd shouldn't be repeatable
Piotr Dymacz [Thu, 20 Mar 2014 14:59:06 +0000 (15:59 +0100)]
defenv cmd shouldn't be repeatable

10 years agoflash -> FLASH
Piotr Dymacz [Thu, 20 Mar 2014 14:58:15 +0000 (15:58 +0100)]
flash -> FLASH

10 years agoMake defenv cmd compatible with env size smaller than env sector size
Piotr Dymacz [Thu, 20 Mar 2014 14:48:52 +0000 (15:48 +0100)]
Make defenv cmd compatible with env size smaller than env sector size

10 years agoToo many space characters in cmd list
Piotr Dymacz [Thu, 20 Mar 2014 13:40:25 +0000 (14:40 +0100)]
Too many space characters in cmd list

10 years agoSimpler command name for resetting env variables
Piotr Dymacz [Thu, 20 Mar 2014 13:35:42 +0000 (14:35 +0100)]
Simpler command name for resetting env variables

10 years agoSimpler command names for O/C
Piotr Dymacz [Thu, 20 Mar 2014 11:47:29 +0000 (12:47 +0100)]
Simpler command names for O/C

10 years agoMake Carambola 2 use only half of the FLASH sector for storing env variables, so...
Piotr Dymacz [Thu, 20 Mar 2014 11:37:53 +0000 (12:37 +0100)]
Make Carambola 2 use only half of the FLASH sector for storing env variables, so the clocks/PLL configuration can be safety stored at the end of the same sector

10 years agoMerge branch 'hush_shell_restore'
Piotr Dymacz [Thu, 20 Mar 2014 10:31:03 +0000 (11:31 +0100)]
Merge branch 'hush_shell_restore'

10 years agoSmall fixes
Piotr Dymacz [Thu, 20 Mar 2014 10:30:45 +0000 (11:30 +0100)]
Small fixes

10 years agoScripts in env variables for simple U-Boot and firmware upgrade
Piotr Dymacz [Wed, 19 Mar 2014 23:24:26 +0000 (00:24 +0100)]
Scripts in env variables for simple U-Boot and firmware upgrade

10 years agoMake itest command enabled by default
Piotr Dymacz [Wed, 19 Mar 2014 19:33:30 +0000 (20:33 +0100)]
Make itest command enabled by default

10 years agoRestore itest command
Piotr Dymacz [Wed, 19 Mar 2014 19:20:46 +0000 (20:20 +0100)]
Restore itest command

10 years agoRemove unnecessary code...
Piotr Dymacz [Wed, 19 Mar 2014 19:12:26 +0000 (20:12 +0100)]
Remove unnecessary code...

10 years agoMake Hush shell the default command interpreter
Piotr Dymacz [Wed, 19 Mar 2014 17:22:22 +0000 (18:22 +0100)]
Make Hush shell the default command interpreter

10 years agoMerge branch 'wr720nv3ch_memory_init_fix'
Piotr Dymacz [Wed, 19 Mar 2014 14:51:22 +0000 (15:51 +0100)]
Merge branch 'wr720nv3ch_memory_init_fix'

10 years agoRestore boot/bootd and echo commands
Piotr Dymacz [Wed, 19 Mar 2014 13:39:51 +0000 (14:39 +0100)]
Restore boot/bootd and echo commands

10 years agoFix serial baud rate calculation 22/head
zwhfly [Wed, 19 Mar 2014 11:27:30 +0000 (19:27 +0800)]
Fix serial baud rate calculation

This commit fixes this issue: https://github.com/pepe2k/u-boot_mod/issues/21.

10 years agoFix memory init for WR720N v3 CH
Piotr Dymacz [Wed, 19 Mar 2014 10:54:18 +0000 (11:54 +0100)]
Fix memory init for WR720N v3 CH

10 years agoAdd missing Hush shell code in other files
Piotr Dymacz [Wed, 19 Mar 2014 10:01:45 +0000 (11:01 +0100)]
Add missing Hush shell code in other files

10 years agohush.o in Makefile
Piotr Dymacz [Tue, 18 Mar 2014 18:16:04 +0000 (19:16 +0100)]
hush.o in Makefile

10 years agoRestore Hush shell files from original sources
Piotr Dymacz [Tue, 18 Mar 2014 18:11:26 +0000 (19:11 +0100)]
Restore Hush shell files from original sources

10 years agoFix RAM test (end address was wrong, now it depends on actual RAM size)
Piotr Dymacz [Sat, 22 Feb 2014 19:21:12 +0000 (20:21 +0100)]
Fix RAM test (end address was wrong, now it depends on actual RAM size)

10 years agoAllow to build images with disabled U-Boot console output
Piotr Dymacz [Mon, 10 Feb 2014 21:19:55 +0000 (22:19 +0100)]
Allow to build images with disabled U-Boot console output

10 years agoDont show boot delay info if boot delay is 0s
Piotr Dymacz [Sun, 9 Feb 2014 23:25:42 +0000 (00:25 +0100)]
Dont show boot delay info if boot delay is 0s

10 years agoSST 25VF064C chip is not supported - it needs some additional operations before erase...
Piotr Dymacz [Sun, 9 Feb 2014 21:02:37 +0000 (22:02 +0100)]
SST 25VF064C chip is not supported - it needs some additional operations before erase/program actions (need access to this chip to make it working)

10 years agoSmall changes in Makefile
Piotr Dymacz [Sun, 9 Feb 2014 14:29:26 +0000 (15:29 +0100)]
Small changes in Makefile

10 years agoMerge branch 'support_for_dragino2'
Piotr Dymacz [Mon, 3 Feb 2014 22:53:47 +0000 (23:53 +0100)]
Merge branch 'support_for_dragino2'

10 years agoInfo about Dragino 2 in README
Piotr Dymacz [Mon, 3 Feb 2014 22:41:36 +0000 (23:41 +0100)]
Info about Dragino 2 in README

10 years agoDisable U-Boot and ART upgrade for Dragino 2
Piotr Dymacz [Mon, 3 Feb 2014 22:24:46 +0000 (23:24 +0100)]
Disable U-Boot and ART upgrade for Dragino 2

10 years agoNew defines which allow to disable U-Boot and/or ART upgrade in web failsafe mode
Piotr Dymacz [Mon, 3 Feb 2014 22:24:06 +0000 (23:24 +0100)]
New defines which allow to disable U-Boot and/or ART upgrade in web failsafe mode

10 years agoRestore WAN/LAN activity/link LEDs before kernel loading
Piotr Dymacz [Mon, 3 Feb 2014 21:04:02 +0000 (22:04 +0100)]
Restore WAN/LAN activity/link LEDs before kernel loading

10 years agoSmall fixes
Piotr Dymacz [Mon, 3 Feb 2014 20:48:44 +0000 (21:48 +0100)]
Small fixes

10 years agoPLL/clocks configuration offset in FLASH
Piotr Dymacz [Mon, 3 Feb 2014 18:09:57 +0000 (19:09 +0100)]
PLL/clocks configuration offset in FLASH

10 years agoUse only half of the FLASH sector for Dragino 2 environment
Piotr Dymacz [Mon, 3 Feb 2014 17:45:51 +0000 (18:45 +0100)]
Use only half of the FLASH sector for Dragino 2 environment

10 years agoDedicated web pages for Dragino 2
Piotr Dymacz [Mon, 3 Feb 2014 16:25:56 +0000 (17:25 +0100)]
Dedicated web pages for Dragino 2

10 years agofsdata.c need to be removed during clean
Piotr Dymacz [Mon, 3 Feb 2014 15:38:46 +0000 (16:38 +0100)]
fsdata.c need to be removed during clean