On 10/08/2012 03:09, Eric Nelson wrote:
>> How difficult would it be for someone to implement a general "alias"
>> command ?
>> ie. 'alias bootto "resetmode $1 && reset"'
>>
>
> It's usually a customer that asks the "How hard would it be?" question,
> but you can almost get there like this:
>
>
On 08/09/2012 02:15 PM, Troy Kisky wrote:
On 8/9/2012 12:29 PM, Eric Nelson wrote:
On 08/09/2012 11:48 AM, Troy Kisky wrote:
On 8/9/2012 12:21 AM, Stefano Babic wrote:
On 09/08/2012 03:26, Troy Kisky wrote:
>>>
>>>
+int do_bootmmc0(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]
On 8/9/2012 2:12 PM, stefano babic wrote:
Am 09/08/2012 21:29, schrieb Eric Nelson:
Why do you not pass the mode to do_resetmode_cmd() and let this function
parse the argument, without these help functions ? Then we do not need
to add new functions if we have, for example, mmc2 or mmc3.
These
On 8/9/2012 12:29 PM, Eric Nelson wrote:
On 08/09/2012 11:48 AM, Troy Kisky wrote:
On 8/9/2012 12:21 AM, Stefano Babic wrote:
On 09/08/2012 03:26, Troy Kisky wrote:
>>>
>>>
+int do_bootmmc0(cmd_tbl_t *cmdtp, int flag, int argc, char * const
argv[])
+{
+ return do_resetmode_cmd("mmc0");
+}
Am 09/08/2012 21:29, schrieb Eric Nelson:
>>> Why do you not pass the mode to do_resetmode_cmd() and let this function
>>> parse the argument, without these help functions ? Then we do not need
>>> to add new functions if we have, for example, mmc2 or mmc3.
>>
>> These functions are requested shor
Am 09/08/2012 20:48, schrieb Troy Kisky:
>> Maybe I am searching in wrong places. Where can I find the description
>> for the feature you have implemented ?
>
> The only documentations I've found are in the freescale release of u-boot.
> cpu/arm_cortexa8/mx53/generic.c
>
> void do_switch_mfgmode
On 08/09/2012 11:48 AM, Troy Kisky wrote:
On 8/9/2012 12:21 AM, Stefano Babic wrote:
On 09/08/2012 03:26, Troy Kisky wrote:
>>>
>>>
+int do_bootmmc0(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+{
+ return do_resetmode_cmd("mmc0");
+}
+
+int do_bootmmc1(cmd_tbl_t *cmdtp, int f
On 8/9/2012 12:21 AM, Stefano Babic wrote:
On 09/08/2012 03:26, Troy Kisky wrote:
This is useful for forcing the ROM's
usb downloader to activate upon a watchdog reset.
Or, you can boot from either SD Card.
Hi Troy,
Currently, support added for MX53 and MX6Q
Signed-off-by: Troy Kisky
Note:
On 09/08/2012 03:26, Troy Kisky wrote:
> This is useful for forcing the ROM's
> usb downloader to activate upon a watchdog reset.
> Or, you can boot from either SD Card.
>
Hi Troy,
> Currently, support added for MX53 and MX6Q
> Signed-off-by: Troy Kisky
>
> Note: MX53 support untested.
It can
This is useful for forcing the ROM's
usb downloader to activate upon a watchdog reset.
Or, you can boot from either SD Card.
Currently, support added for MX53 and MX6Q
Signed-off-by: Troy Kisky
Note: MX53 support untested.
---
arch/arm/cpu/armv7/imx-common/Makefile|1 +
arch/arm/cpu
10 matches
Mail list logo