Timeout poll on interrupt endpoint for RPI3 with keyboard and mouse

bob prohaska fbsd at www.zefox.net
Sun Sep 30 14:57:08 UTC 2018


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 at 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 at 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
 




More information about the freebsd-arm mailing list