Signed-off-by: Robert Karszniewicz
---
commands/cp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/commands/cp.c b/commands/cp.c
index 54934dd..845dae6 100644
--- a/commands/cp.c
+++ b/commands/cp.c
@@ -100,13 +100,14 @@ BAREBOX_CMD_HELP_START(cp)
From: DU HUANPENG
currtly, the ctrl-u discards the whole line, in most linux
boxes, ctrl-u just erase characters before cursor to the
begginning of the line. this patch make ctrl-u to do this.
Signed-off-by: DU HUANPENG
---
lib/readline.c | 8
1 file changed, 8 insertions(+)
diff
>
> In some shells, like mksh, the default behaviour of ctrl-u is to kill the
> whole line. But then it's not called unix-line-discard, and I don't think
> mksh uses readline, either. The "standard" is probably just readline, though
> it makes me wonder where the "unix" came from…
Hi, to avoid
On 10/16/19 10:57 AM, Roland Hieber wrote:
On Wed, Oct 16, 2019 at 04:57:45AM +0800, duhuanpeng wrote:
Hi,
I find it the barebox console's ctrl-u is not working like my
linux host.
for now, the barebox's ctrl-u discard the whole line. but the
linux consle just remove characters before cursor.
>
> FWIW, in bash on both my tty2 and urxvt, Ctrl-U clears the whole line.
did you try to move your cursor in the middle of a line.
I guess my bash use this keybinds:
[1]
https://www.gnu.org/software/bash/manual/bash.html#Bindable-Readline-Commands
8.4.4 Killing And Yanking
kill-line
On 10/16/19 2:44 PM, Mihaita Ivascu wrote:
> 2018.04.0
I've v2019.09.0 and did the same steps you described and it works for me.
Can you try with a newer version?
>
> On Wed, Oct 16, 2019 at 2:41 PM Ahmad Fatoum wrote:
>>
>> On 10/16/19 2:35 PM, Mihaita Ivascu wrote:
>>> No it does not. Still
2018.04.0
On Wed, Oct 16, 2019 at 2:41 PM Ahmad Fatoum wrote:
>
> On 10/16/19 2:35 PM, Mihaita Ivascu wrote:
> > No it does not. Still no devices listed.
>
> Strange. What barebox version?
>
> >
> > Thanks,
> > Mihaita
> >
> > On Wed, Oct 16, 2019 at 1:36 PM Ahmad Fatoum
> > wrote:
> >>
On 10/16/19 2:35 PM, Mihaita Ivascu wrote:
> No it does not. Still no devices listed.
Strange. What barebox version?
>
> Thanks,
> Mihaita
>
> On Wed, Oct 16, 2019 at 1:36 PM Ahmad Fatoum wrote:
>>
>> On 10/16/19 1:28 PM, Mihaita Ivascu wrote:
>>> On Wed, Oct 16, 2019 at 11:53 AM Ahmad
No it does not. Still no devices listed.
Thanks,
Mihaita
On Wed, Oct 16, 2019 at 1:36 PM Ahmad Fatoum wrote:
>
> On 10/16/19 1:28 PM, Mihaita Ivascu wrote:
> > On Wed, Oct 16, 2019 at 11:53 AM Ahmad Fatoum
> > wrote:
> >>
> >>
> >> On 10/16/19 11:48 AM, Mihaita Ivascu wrote:
> >>> On
On 10/16/19 1:28 PM, Mihaita Ivascu wrote:
> On Wed, Oct 16, 2019 at 11:53 AM Ahmad Fatoum
> wrote:
>>
>>
>> On 10/16/19 11:48 AM, Mihaita Ivascu wrote:
>>> On Wed, Oct 16, 2019 at 11:26 AM Ahmad Fatoum
> wrote:
On 10/16/19 11:21 AM, Mihaita Ivascu wrote:
> Hello,
>
>
On Wed, Oct 16, 2019 at 11:53 AM Ahmad Fatoum wrote:
>
>
> On 10/16/19 11:48 AM, Mihaita Ivascu wrote:
> > On Wed, Oct 16, 2019 at 11:26 AM Ahmad Fatoum
> > wrote:
> >>
> >> On 10/16/19 11:21 AM, Mihaita Ivascu wrote:
> >>> Hello,
> >>>
> >>>Thanks for your answer. Yes i am able to connect
Before this, if the function bails out somewhere at a later point, this
return value will be outdated and will produce a misleading error
message down the line.
Signed-off-by: Robert Karszniewicz
---
Changes from v1:
- commit message
lib/libfile.c | 1 +
1 file changed, 1 insertion(+)
diff
On 10/16/19 11:48 AM, Mihaita Ivascu wrote:
> On Wed, Oct 16, 2019 at 11:26 AM Ahmad Fatoum wrote:
>>
>> On 10/16/19 11:21 AM, Mihaita Ivascu wrote:
>>> Hello,
>>>
>>>Thanks for your answer. Yes i am able to connect via PUTTY to the target.
>>>Then I should use some adb commands in
On Wed, Oct 16, 2019 at 11:26 AM Ahmad Fatoum wrote:
>
> On 10/16/19 11:21 AM, Mihaita Ivascu wrote:
> > Hello,
> >
> >Thanks for your answer. Yes i am able to connect via PUTTY to the target.
> >Then I should use some adb commands in order to push the new
> > barebox/firmware ? do you
Many STM32 peripherals, including I2C, SPI, USB and SDMMC use the RCC
reset controller for reset. Enable ARCH_HAS_RESET_CONTROLLER, so drivers
depending on RESET_CONTROLLER become available for selection.
Signed-off-by: Ahmad Fatoum
---
arch/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
We need reset controller support in the driver, depend on it.
---
drivers/mci/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mci/Kconfig b/drivers/mci/Kconfig
index 5b560310136a..4a71a4609763 100644
--- a/drivers/mci/Kconfig
+++ b/drivers/mci/Kconfig
@@ -156,6 +156,7 @@
On 10/16/19 11:21 AM, Mihaita Ivascu wrote:
> Hello,
>
>Thanks for your answer. Yes i am able to connect via PUTTY to the target.
>Then I should use some adb commands in order to push the new
> barebox/firmware ? do you know where I could find some examples?
fastboot device -l works
Hello,
Thanks for your answer. Yes i am able to connect via PUTTY to the target.
Then I should use some adb commands in order to push the new
barebox/firmware ? do you know where I could find some examples?
Also I have a question: purpose of this activity is for me to be
able to flash
On Wed, Oct 16 2019 at 10:57 +0200, Roland Hieber wrote:
> On Wed, Oct 16, 2019 at 04:57:45AM +0800, duhuanpeng wrote:
>> Hi,
>>
>> I find it the barebox console's ctrl-u is not working like my
>> linux host.
>> for now, the barebox's ctrl-u discard the whole line. but the
>> linux consle just
On Wed, Oct 16, 2019 at 04:57:45AM +0800, duhuanpeng wrote:
> Hi,
>
> I find it the barebox console's ctrl-u is not working like my
> linux host.
> for now, the barebox's ctrl-u discard the whole line. but the
> linux consle just remove characters before cursor.
> is the barebox ctrl-u follows
On 10/16/19 10:40 AM, Mihaita Ivascu wrote:
> Hello again,
>
>I have the target in otg peripheral mode, ADB and fastboot drivers
> installed but fastboot does not list any device. The board is detected
> in device manager
Try enabling the ACM gadget in barebox and connect with PuTTY and see
Hello again,
I have the target in otg peripheral mode, ADB and fastboot drivers
installed but fastboot does not list any device. The board is detected
in device manager
Please see attachment. Any ideas how should I proceed? Thanks for
the support.
Thanks,
Mihaita
On Wed, Oct 16,
Am 16.10.19 um 09:25 schrieb sendpa...@qq.com:
> From: DU HUANPENG
>
> currtly, the ctrl-u discards the whole line, in most linux
> boxes, ctrl-u just erase characters before cursor to the
> begginning of the line. this patch make ctrl-u to do this.
>
> Signed-off-by: DU HUANPENG
> ---
>
Thanks. I have installed ADB and fastboot drivers for Win from
https://www.getdroidtips.com/how-to-install-adb-and-fastboot-on-windows/
I have installed according to the attachment.
But is not recognized in Windows. I did reboot the system after
installation but did not add any new env variable.
From: DU HUANPENG
currtly, the ctrl-u discards the whole line, in most linux
boxes, ctrl-u just erase characters before cursor to the
begginning of the line. this patch make ctrl-u to do this.
Signed-off-by: DU HUANPENG
---
lib/readline.c | 26 --
1 file changed, 24
We have a helper for it. Let's use it.
Signed-off-by: Ahmad Fatoum
---
drivers/efi/efi-device.c | 2 +-
fs/efivarfs.c| 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/efi/efi-device.c b/drivers/efi/efi-device.c
index 305d337aabf5..68d81caf010b 100644
---
We've a number of C functions with external linkage that are only called
from assembly. -Wmissing-prototypes warns about these unless they have
a prototype that goes unused. Let's standardize on using the asmlinkage
'storage class' to mark such declarations.
As defines asmlinkage to naught
Both functions wrap the same memcmp except that one uses pointers to
GUIDs and the other passes the GUIDs by value.
The function is static inline, so it doesn't really matter which one we
keep. We'll drop efi_compare_guid because it's been used once only in the
code base so far.
Signed-off-by:
Both _relocate and efi_main are only called from assembly, but
-Wmissing-prototypes doesn't know that and warns about them.
Pre-declare prototypes to silence the warnings.
Signed-off-by: Ahmad Fatoum
---
arch/x86/mach-efi/reloc_x86_64.c | 3 +++
common/efi/efi.c | 3 +++
2 files
s/Conosle/Console/
Signed-off-by: Ahmad Fatoum
---
common/efi-guid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/efi-guid.c b/common/efi-guid.c
index 1e45ccf4d238..2bf2395e8540 100644
--- a/common/efi-guid.c
+++ b/common/efi-guid.c
@@ -52,7 +52,7 @@ const char
Hi,
Am 16.10.19 um 07:34 schrieb sendpa...@qq.com:
> From: DU HUANPENG
>
> currtly, the ctrl-u discards the whole line, in most linux
> boxes, ctrl-u just erase characters before cursor to the
> begginning of the line. this patch make ctrl-u to do this.
Cool, didnÄt know i can use ctrl-u like
31 matches
Mail list logo