Re: [U-Boot] [PATCH v1] Document padding between GPT header and partition entries

2017-10-17 Thread Stefan Bruens
On Dienstag, 17. Oktober 2017 20:05:40 CEST you wrote: > > On 17 Oct 2017, at 19:55, Stefan Brüns > > wrote: > > > > Commit 02e43537b322 ("part_efi: support padding between the GPT > > header and partition entries") added support for deviating from > > the typical

Re: [U-Boot] [PATCH] fs: add fs_readdir()

2017-08-13 Thread Stefan Bruens
On Sonntag, 13. August 2017 23:36:57 CEST Simon Glass wrote: > Hi Rob, > > On 10 August 2017 at 12:13, Rob Clark wrote: > > On Sun, Aug 6, 2017 at 1:16 AM, Simon Glass wrote: > >> Hi Rob, > >> > >> On 3 August 2017 at 13:36, Rob Clark

Re: [U-Boot] [PATCH 8/8] fs/fat: fix case for FAT shortnames

2017-08-13 Thread Stefan Bruens
On Sonntag, 13. August 2017 12:45:28 CEST Rob Clark wrote: > Noticed when comparing our output to linux. There are some lcase bits > which control whether filename and/or extension should be downcase'd. > > Signed-off-by: Rob Clark > --- > fs/fat/fat.c | 11

Re: [U-Boot] [PATCH 6/8] fat/fs: remove a bunch of dead code

2017-08-13 Thread Stefan Bruens
On Sonntag, 13. August 2017 12:45:26 CEST Rob Clark wrote: > Spotted by chance, when trying to remove file_fat_ls(), I noticed there > were some dead users of the API. > > Signed-off-by: Rob Clark > --- > fs/fat/Makefile | 4 -- > fs/fat/file.c | 183 >

Re: [U-Boot] [PATCH 0/3] usb: xhci: Add interrupt transfer support

2017-06-29 Thread Stefan Bruens
On Donnerstag, 29. Juni 2017 08:13:41 CEST Stefan Roese wrote: > Hi Bin, > > On 29.06.2017 07:39, Bin Meng wrote: > > Hi Stefan, > > > > On Wed, Jun 28, 2017 at 8:47 PM, Stefan Roese wrote: [...] > >>> I am more concerned about > >>> the "USB device descriptor short read (expected

Re: [U-Boot] [PATCH v5 02/19] usb: dwc2: Use separate input and output buffers

2017-04-02 Thread Stefan Bruens
On Sonntag, 2. April 2017 17:43:38 CEST Simon Glass wrote: > Hi Stefan, > > On 2 April 2017 at 07:10, Stefan Bruens <stefan.bru...@rwth-aachen.de> wrote: > > On Sonntag, 2. April 2017 05:01:41 CEST Marek Vasut wrote: > >> On 04/02/2017 01:40 AM, Simo

Re: [U-Boot] [PATCH v5 02/19] usb: dwc2: Use separate input and output buffers

2017-04-02 Thread Stefan Bruens
On Sonntag, 2. April 2017 05:01:41 CEST Marek Vasut wrote: > On 04/02/2017 01:40 AM, Simon Glass wrote: > > Hi Marek, > > > > On 1 April 2017 at 14:15, Marek Vasut wrote: > >> On 04/01/2017 08:05 PM, Simon Glass wrote: > >>> On Raspberry Pi 2 and 3 a problem was noticed when

Re: [U-Boot] [PATCH v5 00/19] arm: rpi: Enable USB, Ethernet, MMC, Video driver model on Raspberry Pi

2017-04-01 Thread Stefan Bruens
On Samstag, 1. April 2017 20:05:37 CEST Simon Glass wrote: > Raspberry Pi uses a DWC2 USB controller and a SMSC USB Ethernet adaptor. > Driver model support for these is available. > > This series does the following: > - Enable CONFIG_DM_ETH and CONFIG_DM_USB on Raspberry Pi > - Convert the MMC

Re: [U-Boot] [PATCH v2 2/2] test/py: Create tests for ext4 and fat testing on sandbox

2017-02-11 Thread Stefan Bruens
On Donnerstag, 5. Januar 2017 17:15:02 CET you wrote: > On 01/01/2017 02:48 PM, Stefan Bruens wrote: > > On Montag, 12. Dezember 2016 11:04:34 CET you wrote: > >> On 12/04/2016 05:52 PM, Stefan Brüns wrote: > >>> From: Stefan Brüns <stefan.bru...@rwth-aachen.de&g

Re: [U-Boot] DHCP Command Does Not Populate all DHCP Options supplied by DHCP Server

2017-02-04 Thread Stefan Bruens
On Samstag, 4. Februar 2017 20:16:20 CET d...@synoia.com wrote: > Stefan > Thanks for the reply > I suspect it is the offer response to the DHCP u-boot command. > > Options 66/67 are important in the netboot scenario. > > Regards Duncan Hare Dear Duncan, it would be good if you were more

Re: [U-Boot] DHCP Command Does Not Populate all DHCP Options supplied by DHCP Server

2017-02-04 Thread Stefan Bruens
On Samstag, 4. Februar 2017 18:38:38 CET d...@synoia.com wrote: > The u-boot DHCP Command appears to populate some DHCP options, for example: > rootpath and gateway, netamsk and ipaddress. It does not appear to populate > Bootfile Name (Option 67) and Boot Server Host Name (Option 66) > > Can

Re: [U-Boot] ERROR: can't get kernel image!

2017-01-20 Thread Stefan Bruens
On Freitag, 20. Januar 2017 11:30:47 CET Borisa Jevtic wrote: > Hi guys. > > I have come across a bulletin that blames the problem (described bellow) on > the U-Boot bootloader: > > https://e2e.ti.com/support/embedded/linux/f/354/t/73788 Please read the whole page, where it is stated:

Re: [U-Boot] [PATCH v2 2/2] test/py: Create tests for ext4 and fat testing on sandbox

2017-01-01 Thread Stefan Bruens
On Montag, 12. Dezember 2016 11:04:34 CET you wrote: > On 12/04/2016 05:52 PM, Stefan Brüns wrote: > > From: Stefan Brüns > > > > The following checks are currently implemented: > > 1. listing a directory > > 2. verifying size of a file > > 3. veryfying md5sum for

Re: [U-Boot] [PATCH] fs/ext4: Initialize group descriptor size for revision level 0 filesystems

2016-12-27 Thread Stefan Bruens
On Dienstag, 27. Dezember 2016 10:44:07 CET Kever Yang wrote: > Hi Stefan, > > With this patch, the image create by genext2fs can be mount in > U-Boot, thanks. Thanks for testing. @Tom: this is probably a candidate for u-boot 2017.01 ... > On 12/27/2016 09:35 AM, Stefan Brüns wrote: > >

Re: [U-Boot] [PATCH 2/7] ext4: determine group descriptor size for 64bit feature

2016-12-26 Thread Stefan Bruens
Hi Kever, can you test the ext4 patch I just posted? Kind regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen home: +49 241 53809034 mobile: +49 151 50412019 work: +49 2405 49936-424 ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] ext4: crash when writing a file

2016-12-11 Thread Stefan Bruens
On Dienstag, 29. November 2016 16:23:28 CET Sébastien Szymanski wrote: > On 11/29/2016 03:38 PM, Brüns, Stefan wrote: > > On Dienstag, 29. November 2016 14:10:54 CET Sébastien Szymanski wrote: > >>> Btw, which u-boot version are you using? > >> > >> I first noticed the issue on U-Boot 2016.05 so

Re: [U-Boot] [PATCH v1] fat: fatwrite: fix the command for FAT12

2016-12-10 Thread Stefan Bruens
On Freitag, 9. Dezember 2016 13:55:37 CET Philipp Skadorov wrote: > The u-boot command fatwrite empties FAT clusters from the beginning > till the end of the file. > Specifically for FAT12 it fails to detect the end of the file and goes > beyond the file bounds thus corrupting the file system. >

Re: [U-Boot] [PATCH v2 1/2] test/py: Allow to pass u_boot_log instead of console for run_and_log

2016-12-10 Thread Stefan Bruens
On Dienstag, 6. Dezember 2016 22:47:42 CET Simon Glass wrote: > Hi Stefan, > > On 4 December 2016 at 19:52, Stefan Brüns wrote: > > The runner actually has no console dependency, only on the log provided > > by the console. Accept both u_boot_console or a

Re: [U-Boot] [PATCH 1/2] ext4: Allow reading files with non-zero offset, clamp read len

2016-11-06 Thread Stefan Bruens
On Samstag, 5. November 2016 21:22:43 CET Stephen Warren wrote: > On 11/05/2016 06:32 PM, Stefan Brüns wrote: > > Support was already implemented, but not hooked up. This fixes several > > fails in the test cases. > > > > diff --git a/fs/ext4/ext4fs.c b/fs/ext4/ext4fs.c > > > > @@ -217,21

[U-Boot] Some issues with the python tests

2016-10-18 Thread Stefan Bruens
Hi, I have started diving into the u-boot python tests. Now I have come accross two problems: 1. I would like to access the config, specifically the paths to e.g. build_dir, result_dir, ... 2. I would like to run and log system commands Now while I can do this via the u_boot_console fixture,

Re: [U-Boot] [PATCH 0/9] Switch bcm283x platform to use OF_CONTROL

2016-10-07 Thread Stefan Bruens
On Freitag, 7. Oktober 2016 16:42:40 CEST Tom Rini wrote: > On Thu, Oct 06, 2016 at 09:42:52PM -0700, Eric Anholt wrote: > > Stefan Bruens <stefan.bru...@rwth-aachen.de> writes: > > > On Donnerstag, 6. Oktober 2016 12:32:12 CEST Eric Anholt wrote: > > >> A

Re: [U-Boot] [PATCH 0/9] Switch bcm283x platform to use OF_CONTROL

2016-10-06 Thread Stefan Bruens
On Donnerstag, 6. Oktober 2016 12:32:12 CEST Eric Anholt wrote: > Alexander Graf writes: > >> Am 05.10.2016 um 18:48 schrieb Fabian Vogt : > >> > >> Hi, > >> > >> Am Mittwoch, 5. Oktober 2016, 09:54:46 CEST schrieb Stephen Warren: > >>> On 09/26/2016 06:26 AM,

Re: [U-Boot] [PATCH v3 08/10] binman: Automatically include a U-Boot .dtsi file

2016-10-05 Thread Stefan Bruens
On Mittwoch, 5. Oktober 2016 10:51:04 CEST Simon Glass wrote: > Hi Masahiro, > > On 4 October 2016 at 21:51, Masahiro Yamada > > > > We are already suffering from U-Boot specific properties like > > "u-boot,dm-pre-reloc", which make it difficult to > > simply copy DT files from the kernel tree.

Re: [U-Boot] [PATCH 3/3] test/fs: Check writes using "." (same dir) relative path

2016-09-12 Thread Stefan Bruens
On Montag, 12. September 2016 12:44:08 CEST you wrote: > On 09/11/2016 02:46 PM, Stefan Brüns wrote: > > / and /./ should reference the same file. > > > > diff --git a/test/fs/fs-test.sh b/test/fs/fs-test.sh > > > > +# Read 1MB from small file > > +${PREFIX}load host${SUFFIX} $addr

Re: [U-Boot] [PATCH 2/3] test/fs: Check ext4 behaviour if dirent is first entry in directory block

2016-09-12 Thread Stefan Bruens
On Montag, 12. September 2016 12:39:35 CEST you wrote: > On 09/11/2016 02:46 PM, Stefan Brüns wrote: > > This is a regression test for a crash happening if the first dirent > > in the block matches. Code tried to access a predecessor entry which > > does not exist. > > The crash happened for any

Re: [U-Boot] [PATCH 3/3 v2] test/fs: strip carriage-return from sandbox output

2016-09-08 Thread Stefan Bruens
On Donnerstag, 11. August 2016 22:52:05 CEST you wrote: > DM added carriage-returns to every newline. Strip everything after the > 32 character long mdsum. > > Signed-off-by: Stefan Brüns > --- > test/fs/fs-test.sh | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [U-Boot] [PATCH v3 13/13] ext4: initialize full inode for inodes bigger than 128 bytes

2016-09-05 Thread Stefan Bruens
On Sonntag, 28. August 2016 22:42:38 CEST you wrote: > Make sure the the extra_isize field (offset 128) is initialized to 0 to > mark any extra data as invalid. > > Signed-off-by: Stefan Brüns > --- > fs/ext4/ext4_write.c | 12 +--- > 1 file changed, 5

Re: [U-Boot] [PATCH v3 3/4] ext4: fix endianess problems in ext4 write support

2016-08-31 Thread Stefan Bruens
Hi Michael, found two more errors, see below. Kind regards, Stefan On Montag, 29. August 2016 10:46:45 CEST Michael Walle wrote: > All fields were accessed directly instead of using the proper byte swap > functions. Thus, ext4 write support was only usable on little-endian > architectures. Fix

Re: [U-Boot] [PATCH v2 5/5] ext4: optimize direntlen loops

2016-08-28 Thread Stefan Bruens
On Dienstag, 23. August 2016 10:27:42 CEST Michael Walle wrote: > direntlen is always >= 8. Therefore, the loop condition is always true. > > Signed-off-by: Michael Walle > Suggested-by: Stefan Brüns Thinking again about it, direntlen is read

[U-Boot] [Bug] Crash when running "./sandbox/u-boot -c done"

2016-08-28 Thread Stefan Bruens
Hi everyone, although 'done' by itself is not a syntactically correct command, it should not crash u-boot. Kind regards, Stefan - (gdb) r Starting program: /home/stefan/Documents/Sources/u-boot/sandbox/u-boot -c done Missing separate debuginfos, use: zypper install glibc-

Re: [U-Boot] [PATCH] ext4: fix possible crash on directory traversal, ignore deleted entries

2016-08-28 Thread Stefan Bruens
On Freitag, 19. August 2016 15:54:51 CEST you wrote: > On Sun, Aug 14, 2016 at 05:11:04AM +0200, Stefan Brüns wrote: > > The following command triggers a segfault in search_dir: > > ./sandbox/u-boot -c 'host bind 0 ./sandbox/test/fs/3GB.ext4.img ; > > > > ext4write host 0 0 /./foo 0x10' > >

Re: [U-Boot] [RFC PATCH 3/4] ext4: fix endianess problems in ext4 write support

2016-08-14 Thread Stefan Bruens
On Freitag, 12. August 2016 15:16:20 CEST Michael Walle wrote: > All fields were accessed directly instead of using the proper byte swap > functions. Thus, ext4 write support was only usable on little-endian > architectures. Fix this. > > Signed-off-by: Michael Walle I have

Re: [U-Boot] [PATCH 7/7] usb: dwc2: Do not mix data toggle for IN and OUT endpoints, check bounds

2016-01-21 Thread Stefan Bruens
On Freitag, 22. Januar 2016 02:30:43 CET you wrote: > USB protocol allows for 16 IN and 16 OUT endpoints (USB 2.0 Spec, > 8.3.2.2 Endpoint Field). A function may have an EP 1 for both IN and OUT, > so these two should be kept separate. As EPs are either BULK or INTERRUPT > (or ISO), it is fine to

Re: [U-Boot] U-Boot Rockchip dwc_hcd question for low-speed devices

2016-01-12 Thread Stefan Bruens
On Montag, 11. Januar 2016 09:59:09 CET Simon Glass wrote: > Hi Josh, > > On 8 January 2016 at 06:27, Josh Sanford wrote: > > Thanks Simon, > > > > I've been looking through the code you referenced. So these patches are > > just standalone snippets and not yet part of any

Re: [U-Boot] [PATCH v3 2/5] usb: dwc2: Use shared wait_for_bit

2015-12-27 Thread Stefan Bruens
On Sonntag, 27. Dezember 2015 18:28:09 CET Mateusz Kulikowski wrote: > Use existing library function to poll bit(s). > > Signed-off-by: Mateusz Kulikowski It might be useful to have not only a relative timeout, but also an absolute timeout. For dwc2, the timeout

Re: [U-Boot] [PATCH 2/2 v2] usb: musb: Fix hub port number for SPLIT transactions

2015-12-21 Thread Stefan Bruens
On Monday 21 December 2015 21:27:01 Marek Vasut wrote: > On Monday, December 21, 2015 at 08:33:31 PM, Hans de Goede wrote: > > This patch needs to be re-spun to apply on top of the compile fixed [patch > > 1/2] of this set. With that done this patch is: > > > > Reviewed-by: Hans de Goede

Re: [U-Boot] [PATCH] net: Fix delay in net_retry test

2015-12-21 Thread Stefan Bruens
Hi Joe, On Monday 21 December 2015 16:50:52 Joe Hershberger wrote: > Hi Stefan, > > On Mon, Dec 21, 2015 at 4:31 PM, Joe Hershberger wrote: > > Introduced in 45b4773 (net/arp: account for ARP delay, avoid duplicate > > packets on timeout) > > > > Check the arp timeout

Re: [U-Boot] [PATCH] usb: Move determination of TT hub address/port into seperate function

2015-12-19 Thread Stefan Bruens
On Friday 18 December 2015 11:00:19 Hans de Goede wrote: > Hi, > > On 18-12-15 02:11, Stefan Brüns wrote: > > Start split and complete split tokens need the hub address and the > > downstream port of the first HS hub (device view). > > > > The core of the function was duplicated in both

Re: [U-Boot] [PATCH] usb: Alloc buffer for USB descriptor dynamically

2015-12-19 Thread Stefan Bruens
On Saturday 19 December 2015 13:29:38 Simon Glass wrote: > Hi Stafan, > > On 19 December 2015 at 08:23, Stefan Bruens > > <stefan.bru...@rwth-aachen.de> wrote: > > On Friday 18 December 2015 15:41:10 Simon Glass wrote: > >> Hi, > >> > >>

Re: [U-Boot] [PATCH 5/6] usb: dwc2: add support for SPLIT transactions

2015-12-19 Thread Stefan Bruens
On Tuesday 15 December 2015 20:36:02 Stephen Warren wrote: > On 12/12/2015 09:17 PM, Stefan Brüns wrote: > > In contrast to non-SPLIT transfers each transaction has to be submitted > > as an individual chunk. Handling of ACK/NAk/NYET handshakes depends on > > transaction (non-SPLIT/SSPLIT/CSPLIT),

Re: [U-Boot] [PATCH] usb: Alloc buffer for USB descriptor dynamically

2015-12-19 Thread Stefan Bruens
On Friday 18 December 2015 15:41:10 Simon Glass wrote: > Hi, > > On 17 December 2015 at 18:07, Stefan Brüns wrote: > > The configuration descriptor includes all interface, endpoint and > > auxiliary descriptors (e.g. report, union) so 512 bytes may not be enough. >

Re: [U-Boot] [PATCH 3/6] usb: dwc2: determine TT hub address and port for split transactions

2015-12-16 Thread Stefan Bruens
On Tuesday 15 December 2015 20:17:32 Stephen Warren wrote: > On 12/12/2015 09:17 PM, Stefan Brüns wrote: > > Start split and complete split tokens need the hub address and the > > downstream port of the first HS hub (device view). > > Code copied from host/ehci_hcd.c > > Rather than cut/paste

Re: [U-Boot] [PATCH 1/6] usb: dwc2: avoid out of bounds access

2015-12-16 Thread Stefan Bruens
On Wednesday 16 December 2015 11:29:14 Marek Vasut wrote: > > > + if (!in && xfer_len) { > > > > Do zero-length memcpy or flush_dcache_range actually cause an issue? > > I believe they should not, based on how they are implemented. I think that's correct, it is just a minor

Re: [U-Boot] [PATCH 2/6] usb: dwc2: Handle NAK during CONTROL DATA and STATUS stage

2015-12-16 Thread Stefan Bruens
On Tuesday 15 December 2015 20:07:26 Stephen Warren wrote: > On 12/12/2015 09:17 PM, Stefan Brüns wrote: > > A function is allowed to return NAKs during the DATA stage to control > > data flow control. NAKs during the STATUS stage signal the function > > is still processing the request. > > For

Re: [U-Boot] [PATCH 1/7] usb: increase USB descriptor buffer size

2015-12-13 Thread Stefan Bruens
On Sunday 13 December 2015 05:49:24 Marek Vasut wrote: > On Sunday, December 13, 2015 at 05:47:18 AM, Stefan Brüns wrote: > > The configuration descriptor includes all interface, endpoint and > > auxiliary descriptors (e.g. report, union) so 512 may not be enough. > > > > Signed-off-by: Stefan

Re: [U-Boot] Rpi Uboot not working ; USB keyboard undetected

2015-12-07 Thread Stefan Bruens
On Thursday 26 November 2015 12:25:14 Hans de Goede wrote: > Hmm, I'm not familiar with the rpi usb controller, but AFAIK the rpi uses > an onboard usb-2 hub, when talking to usb-1 devices attached to a usb-2 > hub you must address the tt in the first usb-2 hub upstream of the > usb-1 device. See

Re: [U-Boot] Rpi Uboot not working ; USB keyboard undetected

2015-11-25 Thread Stefan Bruens
On Wednesday 25 November 2015 16:55:54 Sumeet Jauhar wrote: > Hello All, > > I am new to Rpi and for a project I need to install Uboot for Rpi. For > starters I installed Raspbian-jessie to the pi and it worked fine. Now I am > attempting to use uboot but I don't succeed. I am trying to follow

Re: [U-Boot] Login to Linux system over LCD console on Raspberry Pi.

2015-11-25 Thread Stefan Bruens
On Friday 20 November 2015 08:52:54 Martin Orgonas wrote: > Hello, > > I have Raspberry Pi Model B+ V1.2. > I would like to use official Raspbian OS with U-Boot. > When Raspberry Pi turn on then U-Boot starts and run Raspbian kernel.img. > But i do not have anything kernel boot message on LCD

Re: [U-Boot] [PATCH] net: Increase the size of the net_boot_file_name buffer

2015-10-03 Thread Stefan Bruens
On Thursday 01 October 2015 16:27:11 Wolfgang Denk wrote: > Dear Jacob, > > In message <1443622325-30792-1-git-send-email-j-stiff...@ti.com> you wrote: > > The net_boot_file_name buffer is used as storage for the bootfilename > > command line argument to network boot commands such as tftp and

Re: [U-Boot] [PATCH] smsc95xx: Use zero length packets when RX fifo is empty

2015-09-13 Thread Stefan Bruens
On Tuesday 08 September 2015 08:56:12 Joe Hershberger wrote: > On Mon, Sep 7, 2015 at 10:12 PM, Stefan Brüns > > wrote: > > Using NAKs on empty RX fifo for bulk in transfers is the right choice > > for a interrupt driven model, but U-Boot uses polling and expects an

[U-Boot] Can someone upload u-boot 2015.10-rc2 to ftp://ftp.denx.de/pub/u-boot/ ? (NT)

2015-09-05 Thread Stefan Bruens
Thx, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen home: +49 241 53809034 mobile: +49 151 50412019 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] doc: Fix inconsistent filename in PXE config example

2015-09-03 Thread Stefan Bruens
On Sunday 30 August 2015 19:10:59 Stefan Brüns wrote: > The default config includes base.menu, not linux.list > > Signed-off-by: Stefan Brüns > --- > doc/README.pxe | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/doc/README.pxe