From owner-freebsd-arm@freebsd.org Fri Oct 11 18:37:26 2019 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2BDD91579B9 for ; Fri, 11 Oct 2019 18:37:26 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (n6.nabble.com [162.255.23.37]) by mx1.freebsd.org (Postfix) with ESMTP id 46qcBY0bKJz3R02 for ; Fri, 11 Oct 2019 18:37:24 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from n6.nabble.com (localhost [127.0.0.1]) by n6.nabble.com (Postfix) with ESMTP id BBCC011CB0037 for ; Fri, 11 Oct 2019 11:37:23 -0700 (MST) Date: Fri, 11 Oct 2019 11:37:23 -0700 (MST) From: =?UTF-8?Q?Klaus_K=C3=BCchemann?= To: freebsd-arm@freebsd.org Message-ID: <1570819043766-0.post@n6.nabble.com> In-Reply-To: <20191011125558.00bf845d71c27954d220edf0@bidouilliste.com> References: <20190916064640.GN96402@funkthat.com> <20190924221308.GX96402@funkthat.com> <20190925124305.3ada7b327cf73dcb611ec074@bidouilliste.com> <1570790720416-0.post@n6.nabble.com> <20191011125558.00bf845d71c27954d220edf0@bidouilliste.com> Subject: half of RAM detected Re: RockPro64 booting w/ u-boot v2019-rc3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46qcBY0bKJz3R02 X-Spamd-Bar: ++++++ X-Spamd-Result: default: False [6.99 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_QUARANTINE(1.50)[googlemail.com : No valid SPF, No valid DKIM,quarantine]; FREEMAIL_FROM(0.00)[googlemail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.99)[0.992,0]; IP_SCORE(0.00)[ip: (0.65), ipnet: 162.255.20.0/22(0.23), asn: 21624(0.04), country: US(-0.05)]; VIOLATED_DIRECT_SPF(3.50)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[37.23.255.162.list.dnswl.org : 127.0.10.0]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:21624, ipnet:162.255.20.0/22, country:US]; MIME_TRACE(0.00)[0:+]; GREYLIST(0.00)[pass,meta]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Oct 2019 18:37:26 -0000 Hi, --- only half of the RAM is detected( 4GB model) ---- root@:~ # sysctl hw.physmem hw.physmem: 2121097216 -- U-Boot TPL 2019.10 (Oct 08 2019 - 07:58:06) Trying to boot from BOOTROM Returning to boot ROM... U-Boot SPL 2019.10 (Oct 08 2019 - 07:58:06 +0000) Trying to boot from MMC1 -- root@:~ # uname -a FreeBSD 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r353427: Fri Oct 11 04:39:53 UTC 2 019 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 ---- root@:~ # dmesg ---<>--- KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2019 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 13.0-CURRENT #0 r353427: Fri Oct 11 04:39:53 UTC 2019 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm6 4 FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM 9.0.0 ) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. module firmware already present! Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) Starting CPU 4 (100) Starting CPU 5 (101) FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs arc4random: WARNING: initial seeding bypassed the cryptographic random device be cause it was not yet seeded and the knob 'bypass_before_seeding' was enabled. random: entropy device external interface MAP 7cf1d000 mode 2 pages 1 MAP 7cf26000 mode 2 pages 1 MAP 7ff40000 mode 2 pages 16 kbd0 at kbdmux0 ofwbus0: clk_fixed0: on ofwbus0 simplebus0: on ofwbus0 rk_grf0: mem 0xff320000-0xff320fff on ofwbus0 rk3399_pmucru0: mem 0xff750000-0xff75 0fff on ofwbus0 rk3399_cru0: mem 0xff760000-0xff760fff on ofwbus0 rk_grf1: mem 0xff770000-0xff77ffff on ofwbus0 clk_fixed1: on ofwbus0 regfix0: on ofwbus0 regfix1: on ofwbus0 regfix2: on ofwbus0 regfix3: on ofwbus0 regfix4: on ofwbus0 regfix5: on ofwbus0 regfix6: on ofwbus0 regfix7: on ofwbus0 simple_mfd0: mem 0xff310000-0xff310fff on ofwbus0 psci0: on ofwbus0 gic0: mem 0xfee00000-0xfee0ffff,0xfef000 00-0xfefbffff,0xfff00000-0xfff0ffff,0xfff10000-0xfff1ffff,0xfff20000-0xfff2ffff irq 18 on ofwbus0 its0: mem 0xfee20000-0xfee3ffff on gic0 rk_pinctrl0: on ofwbus0 gpio0: mem 0xff720000-0xff7200ff irq 65 on rk_pi nctrl0 gpiobus0: on gpio0 gpio1: mem 0xff730000-0xff7300ff irq 66 on rk_pi nctrl0 gpiobus1: on gpio1 gpio2: mem 0xff780000-0xff7800ff irq 67 on rk_pi nctrl0 gpiobus2: on gpio2 gpio3: mem 0xff788000-0xff7880ff irq 68 on rk_pi nctrl0 gpiobus3: on gpio3 gpio4: mem 0xff790000-0xff7900ff irq 69 on rk_pi nctrl0 gpiobus4: on gpio4 rk_i2c0: mem 0xff110000-0xff110fff irq 20 on ofwbus0 iicbus0: on rk_i2c0 rk_i2c1: mem 0xff130000-0xff130fff irq 22 on ofwbus0 iicbus1: on rk_i2c1 rk_i2c2: mem 0xff3c0000-0xff3c0fff irq 38 on ofwbus0 iicbus2: on rk_i2c2 syr8270: at addr 0x80 on iicbus2 rk_i2c3: mem 0xff3d0000-0xff3d0fff irq 39 on ofwbus0 iicbus3: on rk_i2c3 rk805_pmu0: at addr 0x36 irq 70 on iicbus2 generic_timer0: irq 2,3,4,5 on ofwbus0 Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000 rk_usb2phy0: mem 0-0xff76ffff,0-0xffff on rk_grf1 rk_usb2phy1: mem 0-0xff76ffff,0-0xffff on rk_grf1 rk_emmcphy0: mem 0-0xff76ffff,0-0xffff on rk_grf1 cpulist0: on ofwbus0 cpu0: on cpulist0 cpufreq_dt0: on cpu0 cpu1: on cpulist0 cpufreq_dt1: on cpu1 cpu2: on cpulist0 cpufreq_dt2: on cpu2 cpu3: on cpulist0 cpufreq_dt3: on cpu3 cpu4: on cpulist0 cpufreq_dt4: on cpu4 cpu5: on cpulist0 cpufreq_dt5: on cpu5 dwc0: mem 0xfe300000-0xfe30ffff irq 9 on ofwbus0 miibus0: on dwc0 rgephy0: PHY 0 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1 000baseT-FDX-master, auto rgephy1: PHY 1 on miibus0 rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1 000baseT-FDX-master, auto dwc0: Ethernet address: 3e:e5:c3:24:6e:90 rockchip_dwmmc0: mem 0xfe320000-0xfe323fff irq 11 on ofwbus0 rockchip_dwmmc0: Hardware version ID is 270a mmc0: on rockchip_dwmmc0 sdhci_fdt0: mem 0xfe330000-0xfe33ffff irq 12 on ofwbus0 rk_emmcphy0: got emmcclk clock sdhci_fdt0-slot0: Hardware doesn't specify timeout clock frequency, setting BROK EN_TIMEOUT quirk. sdhci_fdt0: 1 slot(s) allocated mmc1: on sdhci_fdt0 ehci0: mem 0xfe380000-0xfe39ffff irq 13 on ofwbus0 usbus0: EHCI version 1.0 usbus0 on ehci0 ohci0: mem 0xfe3a0000-0xfe3bffff irq 14 on ofwbus0 usbus1 on ohci0 ehci1: mem 0xfe3c0000-0xfe3dffff irq 15 on ofwbus0 usbus2: EHCI version 1.0 usbus2 on ehci1 ohci1: mem 0xfe3e0000-0xfe3fffff irq 16 on ofwbus0 usbus3 on ohci1 iic0: on iicbus0 iic1: on iicbus1 uart0: <16750 or compatible> mem 0xff180000-0xff1800ff irq 26 on ofwbus0 uart1: <16750 or compatible> mem 0xff1a0000-0xff1a00ff irq 28 on ofwbus0 uart1: console (1500000,n,8,1) syscon_generic0: mem 0xffa58000-0xffa5801f on ofwbus0 syscon_generic1: mem 0xffa5c000-0xffa5c01f on ofwbus0 syscon_generic2: mem 0xffa60080-0xffa6009f on ofwbus0 syscon_generic3: mem 0xffa60100-0xffa6011f on ofwbus0 syscon_generic4: mem 0xffa60180-0xffa6019f on ofwbus0 syscon_generic5: mem 0xffa70000-0xffa7001f on ofwbus0 syscon_generic6: mem 0xffa70080-0xffa7009f on ofwbus0 syscon_generic7: mem 0xffa74000-0xffa7401f on ofwbus0 syscon_generic8: mem 0xffa76000-0xffa7601f on ofwbus0 syscon_generic9: mem 0xffa90000-0xffa9001f on ofwbus0 syscon_generic10: mem 0xffa98000-0xffa9801f on ofwbus0 syscon_generic11: mem 0xffaa0000-0xffaa001f on ofwbus0 syscon_generic12: mem 0xffaa0080-0xffaa009f on ofwbus0 syscon_generic13: mem 0xffaa8000-0xffaa801f on ofwbus0 syscon_generic14: mem 0xffaa8080-0xffaa809f on ofwbus0 syscon_generic15: mem 0xffab0000-0xffab001f on ofwbus0 syscon_generic16: mem 0xffab0080-0xffab009f on ofwbus0 syscon_generic17: mem 0xffab8000-0xffab801f on ofwbus0 syscon_generic18: mem 0xffac0000-0xffac001f on ofwbus0 syscon_generic19: mem 0xffac0080-0xffac009f on ofwbus0 syscon_generic20: mem 0xffac8000-0xffac801f on ofwbus0 syscon_generic21: mem 0xffac8080-0xffac809f on ofwbus0 syscon_generic22: mem 0xffad0000-0xffad001f on ofwbus0 syscon_generic23: mem 0xffad8080-0xffad809f on ofwbus0 syscon_generic24: mem 0xffae0000-0xffae001f on ofwbus0 syscon_generic25: mem 0xff330000-0xff33e3d3 on ofwbus0 iicbus2: at addr 0x82 iic2: on iicbus2 iicbus3: at addr 0x44 iic3: on iicbus3 syscon_generic26: mem 0xff620000-0xff6200ff on ofwbus0 gpioc0: on gpio0 gpioc1: on gpio1 gpioc2: on gpio2 gpioc3: on gpio3 gpioc4: on gpio4 gpioled0: on ofwbus0 cryptosoft0: Timecounters tick every 1.000 msec usbus0: 480Mbps High Speed USB v2.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 480Mbps High Speed USB v2.0 usbus3: 12Mbps Full Speed USB v1.0 ugen1.1: at usbus1 uhub0 on usbus1 uhub0: on usbus1 ugen0.1: at usbus0 uhub1 on usbus0 uhub1: on usbus0 ugen3.1: at usbus3 uhub2 on usbus3 uhub2: on usbus3 ugen2.1: at usbus2 uhub3 on usbus2 uhub3: on usbus2 mmcsd0: 128GB at mmc0 50.0MHz/4 bit/256-block mmc1: No compatible cards found on bus Release APs...done CPU 0: ARM Cortex-A53 r0p4 affinity: 0 0 Instruction Set Attributes 0 = Instruction Set Attributes 1 = <> Processor Features 0 = Processor Features 1 = <0> Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]... Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16b it ASID,1TB PA> Memory Model Features 1 = <> Memory Model Features 2 = <32b CCIDX,48b VA> GEOM: mmcsd0: the secondary GPT header is not in the last LBA. Debug Features 0 = <2 CTX Breakpoints,4 Watchpoints,6 Breakpoints,P MUv3,Debug v8> Debug Features 1 = <0> Auxiliary Features 0 = <0> Auxiliary Features 1 = <0> CPU 1: ARM Cortex-A53 r0p4 affinity: 0 1 Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16b it ASID,1TB PA> CPU 2: ARM Cortex-A53 r0p4 affinity: 0 2 Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16b it ASID,1TB PA> CPU 3: ARM Cortex-A53 r0p4 affinity: 0 3 Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16b it ASID,1TB PA> CPU 4: ARM Cortex-A72 r0p2 affinity: 1 0 Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16b it ASID,16TB PA> CPU 5: ARM Cortex-A72 r0p2 affinity: 1 1 Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16b it ASID,16TB PA> WARNING: WITNESS option enabled, expect reduced performance. GEOM: diskid/DISK-1C4A96F7: the secondary GPT header is not in the last LBA. Warning: no time-of-day clock registered, system time will not be set accurately uhub2: 1 port with 1 removable, self powered uhub0: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered uhub3: 1 port with 1 removable, self powered GEOM: diskid/DISK-1C4A96F7: the secondary GPT header is not in the last LBA. random: unblocking device. lo0: link state changed to UP -- Regards Klaus -- Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-arm-f4199244.html