Re: [9fans] raspberry pi 4 arm64 test image

2019-08-23 Thread cinap_lenrek
made new image and kernels if anyone wants to test. http://gabe.felloff.net/usr/cinap_lenrek/9front-7341.7789bbc91c22.pi3.img.gz http://gabe.felloff.net/usr/cinap_lenrek/9pi3 http://gabe.felloff.net/usr/cinap_lenrek/9pi4 sha1sums: 1b493439cbdff6aa6e0403cc0bda158841ebac40

Re: [9fans] raspberry pi 4 arm64 test image

2019-08-22 Thread Charles Forsyth
Couldn't you even manage to try a few wines? On Thu, Aug 22, 2019 at 9:59 AM Steve Simon wrote: > hi all > > just to say i am very excited abou the pi4 port but am on holiday in > France at the moment so i cannot even help with testing. > > -Steve > > > On 22 Aug 2019, at 9:07 am, Richard

Re: [9fans] raspberry pi 4 arm64 test image

2019-08-22 Thread Steve Simon
hi all just to say i am very excited abou the pi4 port but am on holiday in France at the moment so i cannot even help with testing. -Steve On 22 Aug 2019, at 9:07 am, Richard Miller <9f...@hamnavoe.com> wrote: >> oh dear. i dont even know the expected physical memory map... >> i guess that

Re: [9fans] raspberry pi 4 arm64 test image

2019-08-22 Thread Richard Miller
> oh dear. i dont even know the expected physical memory map... > i guess that ram is continuous block at [0-0xfc00). but > some memory might be reserved... No, the framebuffer is always reserved at the top of the first 1GB, so on 2GB and 4GB units there are two separate regions. > - atags >

Re: [9fans] raspberry pi 4 arm64 test image

2019-08-21 Thread Bakul Shah
On Thu, 22 Aug 2019 01:58:39 +0200 cinap_len...@felloff.net wrote: > new kernel that should be able to deal with the two regions: > > http://felloff.net/usr/cinap_lenrek/9pi4 > > sha1sum: > > 0222a824ec04c672955560ea120fa4d8de848e79 cat '#ec/*maxmem' 0x3e60 0x4000 0xfc00 Ethernet and

Re: [9fans] raspberry pi 4 arm64 test image

2019-08-21 Thread cinap_lenrek
new kernel that should be able to deal with the two regions: http://felloff.net/usr/cinap_lenrek/9pi4 sha1sum: 0222a824ec04c672955560ea120fa4d8de848e79 -- cinap

Re: [9fans] raspberry pi 4 arm64 test image

2019-08-21 Thread cinap_lenrek
> The device tree has two entries. > > offset:0 > lenght:0x3c40 > > offset:0x4000 > length:0xbc00 excellent! that explains it. -- cinap

Re: [9fans] raspberry pi 4 arm64 test image

2019-08-21 Thread Bakul Shah
On Wed, 21 Aug 2019 21:53:42 +0200 cinap_len...@felloff.net wrote: cinap_len...@felloff.net writes: > thank you! > > i believe its just starting rio so you dont get any more output. > > interestingly, the framebuffer was set up without error as > far as the kernel is concerned. otherwise we would

Re: [9fans] raspberry pi 4 arm64 test image

2019-08-21 Thread Bakul Shah
On Wed, 21 Aug 2019 23:59:28 +0200 cinap_len...@felloff.net wrote: cinap_len...@felloff.net writes: > > The firmware on a pi4 with 2GB or 4GB RAM will only report 1GB. > > I believe you need to look at the board id (or probe for invalid > > addresses as in the teg2 kernel) to find out the real

Re: [9fans] raspberry pi 4 arm64 test image

2019-08-21 Thread cinap_lenrek
> The firmware on a pi4 with 2GB or 4GB RAM will only report 1GB. > I believe you need to look at the board id (or probe for invalid > addresses as in the teg2 kernel) to find out the real amount. oh dear. i dont even know the expected physical memory map... i guess that ram is continuous block

Re: [9fans] raspberry pi 4 arm64 test image

2019-08-21 Thread cinap_lenrek
ok, i prepared a kernel with debug prints. (i basically buffer the debug outputs in kmesg and dump them on the serial console and screen once they get initialized). http://felloff.net/usr/cinap_lenrek/9pi4 i suspect that the device tree /memory/reg property might not be a single 12 byte entry.

Re: [9fans] raspberry pi 4 arm64 test image

2019-08-21 Thread Bakul Shah
On Wed, 21 Aug 2019 21:05:20 +0100 Richard Miller <9f...@hamnavoe.com> wrote: > > ba...@bitblocks.com>: > > Trying this on pi4B4GB > > > > - no display > > The display does come up for me (using HDMI0 socket). It is an early 4k Seiki TV/Monitor. It works fine on a pi3 (running your kernel) in

Re: [9fans] raspberry pi 4 arm64 test image

2019-08-21 Thread Richard Miller
> ba...@bitblocks.com>: > Trying this on pi4B4GB > > - no display The display does come up for me (using HDMI0 socket).

Re: [9fans] raspberry pi 4 arm64 test image

2019-08-21 Thread Richard Miller
> cat '#ec/*maxmem' % cat '#ec/*maxmem' cat: can't open #ec/*maxmem: '#ec/*maxmem' file does not exist % ls '#ec' '#ec/8250.nr_uarts' '#ec/bcm2708_fb.fbdepth' '#ec/bcm2708_fb.fbheight' '#ec/bcm2708_fb.fbswap' '#ec/bcm2708_fb.fbwidth' '#ec/cma' '#ec/coherent_pool' '#ec/console'

Re: [9fans] raspberry pi 4 arm64 test image

2019-08-21 Thread Richard Miller
Back in the arm32 world, the contrib/miller/9/bcm kernel source is now stable and useable on pi4, after fixing some old emmc bugs, and thanks to cinap for spotting that no-execute bits have to be set in device space page tables to prevent speculative instruction fetches from device registers (!).

Re: [9fans] raspberry pi 4 arm64 test image

2019-08-21 Thread cinap_lenrek
thank you! i believe its just starting rio so you dont get any more output. interestingly, the framebuffer was set up without error as far as the kernel is concerned. otherwise we would get an error when trying to attach devdraw. on the bootargs prompt, enter: !rc then on the rc shell: cat

Re: [9fans] raspberry pi 4 arm64 test image

2019-08-21 Thread Richard Miller
> 512M memory: 207M kernel data, 304M user, 1828M swap The firmware on a pi4 with 2GB or 4GB RAM will only report 1GB. I believe you need to look at the board id (or probe for invalid addresses as in the teg2 kernel) to find out the real amount.

[9fans] raspberry pi 4 arm64 test image

2019-08-21 Thread cinap_lenrek
i'v made a sdcard image for the new raspberry pi 4 (also works on 3). http://gabe.felloff.net/usr/cinap_lenrek/9front-7336.bb28fe19fe44.pi3.img.gz this has support for most of the new hardware: sdcard, ethernet and usb3.0 can someone please test this on the 2GB and 4GB ram variants for me? --