From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f54.google.com ([209.85.128.54]) by ewsd; Sat Jun 13 22:43:41 EDT 2020 Received: by mail-wm1-f54.google.com with SMTP id c71so11359705wmd.5 for <9front@9front.org>; Sat, 13 Jun 2020 19:43:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shaposhnik-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=RHu4BWJP84FOEGGhikA3dvMxjxfSQIDriImjHEyrUAk=; b=wJLZqg2lNlKWa9h+Fw5J2iCyUQruSso0tMQiOcnj+MjDgvuloseZ1HEuPJApTrK2Ia Tqv+VWhg1rS53W2VJZSo6mK75a84WdlnNvh6sID/0+2hbMTLX0rnQV/d/4GPjBRIg2iS roejG/wjBGpaUQqCcXJRJDnZnJGA3F6eC3aApjbvkGoxZ5MpzNktF07qqGcwzqDNjC5G jtHWQ58UHwOHDvr3dceZSFxeP77vJPnhM+MTCMyVdqN4PzWFZ8Z7V5FYGSvwpOgHaen4 rzHPoMQGobiduxsqGkbn0wXm3gPnpmuix3IdLuSQdUBWtLyOkQBUKPnpDpw3imcNhq6a gWbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=RHu4BWJP84FOEGGhikA3dvMxjxfSQIDriImjHEyrUAk=; b=RKC3JPZex4aRXhEZDEGPz1vIFlJaXs6ENXTp/YoX0BHW0Zh5Rgj2IdqKu8h8EGiRdt y32TiGQvhHgi5PYWsM5C9OMYaHwfZIbIyZWe6sbAi+fhUK0hW8IHOimoL9fQeVRSL64Y OL4Gc3PXPLoZOaPP6qApir1atz6vDWPk9nKlopijs/UiQeGjvHdduLwk388nUZ1j23u9 D4Ut31qtN1OZeKC9juYRYGdtbtOf1SrG8gSD3scccuYSAigMHvor/W3OZ7BGXka8U9kJ 4ak9C5Dlq6lVVHaDom5cBB7ry7eh6AyfLkIbqpgTCsNAoTquOKLrPNf4X0jvEZka1Ppr ZcVg== X-Gm-Message-State: AOAM530CwbppWGCZ9Hs62sGv73ifsdUItMK1tSl1Ag6/9x9MRX67qHVu ME2x1dk/RUHlaLSrUpJCbMN7/FIhA35oQozQFj0xrQ== X-Google-Smtp-Source: ABdhPJyILBwnXf6aUKq7GPmhKr6DWIExA7NVv6veQ3FQQ1L9M2cFumHiqmIMDmX5/G01wgdYw7Z0BFna/AMmu002IBs= X-Received: by 2002:a7b:c74b:: with SMTP id w11mr6134813wmk.120.1592102615985; Sat, 13 Jun 2020 19:43:35 -0700 (PDT) MIME-Version: 1.0 References: <569DDC86AEC17D34C1AD81F064E51646@felloff.net> In-Reply-To: <569DDC86AEC17D34C1AD81F064E51646@felloff.net> From: Roman Shaposhnik Date: Sat, 13 Jun 2020 19:43:24 -0700 Message-ID: Subject: Re: [9front] 9front and raspberry pi 4 8gb model To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: standard hypervisor On Sat, Jun 13, 2020 at 6:56 PM wrote: > > > Btw, the following thread may be helpful: > > https://lists.denx.de/pipermail/u-boot/2020-April/405216.html > > this is probably not the issue. the xhci works fine with the 1gb and 2gb > variants. and the issue they had was that they missed flushing the > dcache for the scratchpad memory they hand to the xhci controller. > > we do flush the dcache for these regions here: > > dmaflush(1, ctlr->sbp, ctlr->nscratch*ctlr->pagesize); > dmaflush(1, ctlr->sba, ctlr->nscratch*8); Upon closer examination you may be right. That said -- in general I feel that retracing u-boot steps in supporting USB boot on RPi4 8Gb may be easier than retracing steps of the Linux kernel. Thanks, Roman.