All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V3 0/4] introduce Rockchip rockusb
Date: Tue, 2 May 2017 12:47:38 +0200	[thread overview]
Message-ID: <20170502124738.109bdad2@jawa> (raw)
In-Reply-To: <CAJrj+DOcCrCTqsZWAwMb7vzbZm1Dh-bNxOXYwDpq+k5-rnGeug@mail.gmail.com>

Hi Eddie,

> Hi Lukasz
> 
> 2017-04-30 5:46 GMT+08:00 Lukasz Majewski <lukma@denx.de>:
> > On Sat, 29 Apr 2017 08:41:34 +0800
> > Eddie Cai <eddie.cai.linux@gmail.com> wrote:
> >
> >> rockusb is a protocol run between host pc and device. it help
> >> people get device info, flash image to device. this patch
> >> implement rockusb on device side
> >>
> >> Changes in v3:
> >> -switch back to use g_dnl code
> >> -address comment from Lukasz and Simon
> >> -fix checkpatch error
> >>
> >> Changes in v2:
> >> -switch to use usb masstorage framework
> >> -add readme for rockusb
> >>
> >> Eddie Cai (4):
> >>   usb: rockchip: add the rockusb gadget
> >>   usb: rockchip: add rockusb command
> >>   rockchip:usb: add a simple readme for rockusb
> >>   rockchip: usb: enable rockusb on rk3288 based board
> >>
> >>  arch/arm/include/asm/arch-rockchip/f_rockusb.h | 104 ++++
> >>  cmd/Kconfig                                    |  11 +
> >>  cmd/Makefile                                   |   1 +
> >>  cmd/rockusb.c                                  |  74 +++
> >>  configs/evb-rk3288_defconfig                   |   3 +
> >>  configs/fennec-rk3288_defconfig                |   2 +
> >>  configs/firefly-rk3288_defconfig               |   2 +
> >>  configs/miqi-rk3288_defconfig                  |   2 +
> >>  configs/popmetal-rk3288_defconfig              |   2 +
> >>  configs/rock2_defconfig                        |   3 +
> >>  configs/sandbox_defconfig                      |   3 +-
> >>  configs/tinker-rk3288_defconfig                |   2 +
> >>  doc/README.rockusb                             |  37 ++
> >>  drivers/usb/gadget/Makefile                    |   1 +
> >>  drivers/usb/gadget/f_rockusb.c                 | 724
> >> +++++++++++++++++++++++++ 15 files changed, 970 insertions(+), 1
> >> deletion(-) create mode 100644
> >> arch/arm/include/asm/arch-rockchip/f_rockusb.h create mode 100644
> >> cmd/rockusb.c create mode 100644 doc/README.rockusb
> >>  create mode 100644 drivers/usb/gadget/f_rockusb.c
> >>
> >
> > I've built test your patches for "rockchip" and following errors
> > emerged:
> >
> > https://travis-ci.org/lmajewski/u-boot-dfu/jobs/227226144
    ^^^^^^^^^^^^^^^^^^^^
			[1]

> >
> > Please fix those issues.
> I don't understand how you got those error.

In the last commit you have enabled the "rockchip" protocol support for
other RK boards.

Have you checked if it is possible to build those boards after your
change?

To avoid build break regressions we do use "buildman".

For this test I've build all "rockchip" devices (as marked in
boards.cfg file).

After applying your patches I've found following errors -> [1]

The buildman configuration can be read from log posted in [1].

> Here is my test branch
> git clone https://github.com/eddiecailinux/u-boot -b rockusb-v3
> i use below command to build u-boot
> CROSS_COMPILE=arm-linux-gnueabihf- make firefly-rk3288_defconfig all

But this is only for one single board -> firefly-rk3288. You also
should check if other boards are not affected by your code.

> 
> >
> >
> > Best regards,
> >
> > Lukasz Majewski
> >
> > --
> >
> > DENX Software Engineering GmbH,      Managing Director: Wolfgang
> > Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell,
> > Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email:
> > wd at denx.de


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de

  reply	other threads:[~2017-05-02 10:47 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-29  0:41 [U-Boot] [PATCH V3 0/4] introduce Rockchip rockusb Eddie Cai
2017-04-29  0:41 ` [U-Boot] [PATCH V3 1/4] usb: rockchip: add the rockusb gadget Eddie Cai
2017-04-30  3:49   ` Simon Glass
2017-05-02  8:47     ` Eddie Cai
2017-05-08 16:38       ` Simon Glass
2017-05-09  3:13         ` Eddie Cai
2017-04-29  0:41 ` [U-Boot] [PATCH V3 2/4] usb: rockchip: add rockusb command Eddie Cai
2017-04-30  3:49   ` Simon Glass
2017-05-02  8:35     ` Eddie Cai
2017-04-29  0:41 ` [U-Boot] [PATCH V3 3/4] rockchip:usb: add a simple readme for rockusb Eddie Cai
2017-04-30  3:49   ` Simon Glass
2017-05-02  8:32     ` Eddie Cai
2017-04-29  0:41 ` [U-Boot] [PATCH V3 4/4] rockchip: usb: enable rockusb on rk3288 based board Eddie Cai
2017-04-30  3:49   ` Simon Glass
2017-05-02  8:28     ` Eddie Cai
2017-04-29 21:46 ` [U-Boot] [PATCH V3 0/4] introduce Rockchip rockusb Lukasz Majewski
2017-05-02  9:22   ` Eddie Cai
2017-05-02 10:47     ` Lukasz Majewski [this message]
2017-05-03  1:59       ` Eddie Cai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170502124738.109bdad2@jawa \
    --to=lukma@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.