Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2018 07:57:03 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        Emmanuel Vadot <manu@bidouilliste.com>
Cc:        freebsd-arm@freebsd.org, bob prohaska <fbsd@www.zefox.net>
Subject:   Re: Timeout poll on interrupt endpoint for RPI3 with keyboard and mouse
Message-ID:  <20180930145702.GD58381@www.zefox.net>
In-Reply-To: <20180930155055.2c35693431e8dfff4eb7d7bd@bidouilliste.com>
References:  <20180929185213.GA58381@www.zefox.net> <20180930111208.5df04f5b7fb336cdfcf2fd74@bidouilliste.com> <20180930130930.GB58381@www.zefox.net> <20180930132928.GC58381@www.zefox.net> <20180930155055.2c35693431e8dfff4eb7d7bd@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 30, 2018 at 03:50:55PM +0200, Emmanuel Vadot wrote:
> 
>  Looks like the framebuffer size is too big, could you try with this :
> diff --git a/sys/arm64/include/pte.h b/sys/arm64/include/pte.h
> index acd3f81ab41c..7aa216e92b43 100644
> --- a/sys/arm64/include/pte.h
> +++ b/sys/arm64/include/pte.h
> @@ -109,7 +109,7 @@ typedef     uint64_t
> pt_entry_t;             /* page table entry */ /* 0x2 also marks an
> invalid address */ #define        L3_PAGE         0x3
>  
> -#define        PMAP_MAPDEV_EARLY_SIZE  (L2_SIZE * 4)
> +#define        PMAP_MAPDEV_EARLY_SIZE  (L2_SIZE * 8)
>  
>  #define        L0_ENTRIES_SHIFT 9
>  #define        L0_ENTRIES      (1 << L0_ENTRIES_SHIFT)
> 
> 

Copy and paste from the email didn't work, probably it's a mail formatting 
issue. Here's what happened:

root@www:/usr/src # patch < vadot.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/sys/arm64/include/pte.h b/sys/arm64/include/pte.h
|index acd3f81ab41c..7aa216e92b43 100644
|--- a/sys/arm64/include/pte.h
|+++ b/sys/arm64/include/pte.h
--------------------------
Patching file sys/arm64/include/pte.h using Plan A...
patch: **** malformed patch at line 6: pt_entry_t;             /* page table entry */ /* 0x2 also marks an

where vadot.patch contains
root@www:/usr/src # more vadot.patch
diff --git a/sys/arm64/include/pte.h b/sys/arm64/include/pte.h
index acd3f81ab41c..7aa216e92b43 100644
--- a/sys/arm64/include/pte.h
+++ b/sys/arm64/include/pte.h
@@ -109,7 +109,7 @@ typedef     uint64_t
pt_entry_t;             /* page table entry */ /* 0x2 also marks an
invalid address */ #define        L3_PAGE         0x3

-#define        PMAP_MAPDEV_EARLY_SIZE  (L2_SIZE * 4)
+#define        PMAP_MAPDEV_EARLY_SIZE  (L2_SIZE * 8)

 #define        L0_ENTRIES_SHIFT 9
 #define        L0_ENTRIES      (1 << L0_ENTRIES_SHIFT)

I tried manually editing to put the comment on one line, didn't help.
Can you put the patch someplace where I can download  it?

Thanks!

bob prohaska
 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180930145702.GD58381>