From owner-freebsd-arm@freebsd.org Thu Jan 21 10:00:18 2021 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 04FE44F0B16 for ; Thu, 21 Jan 2021 10:00:18 +0000 (UTC) (envelope-from olevole@olevole.ru) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DLyYr4pxBz3h9q for ; Thu, 21 Jan 2021 10:00:15 +0000 (UTC) (envelope-from olevole@olevole.ru) Received: by mail-ed1-x52a.google.com with SMTP id b21so1711137edy.6 for ; Thu, 21 Jan 2021 02:00:15 -0800 (PST) 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=ZdCsTn5Jx7QMrlWGrLFtObu+iLap51cQaEAgfwPxUdI=; b=pU33MJ2z0DAe/5+L3J5j/isVbxMNeZlg55gOG3x34v91Nd0QhyKGnNXi0+Pl/febyO 3zJsUqEqA515VyyhNU8bcovf63zYgMdnSmzU0eLdtaC1CZKXhkF75yC07pCaauZok6xM clh0JaFuDqGc5rcjHX+Cz3/jS1LeXWm/Iz4wBta4NwPh3XZp1sHDcAlSBRhlGFTQBxkk dx/1DxnoNDNh0N2advlRp/RlCrUGhnXxr45QAXD0JzNje96uC3NsEh97+GwigeGIbmLb QYCytkBV4MRqrYOTbcKkzUk+yXo1FioahEGPhdjHFKWohJNz1iqDvJA3Uo5F4hZSPKEO 4m4Q== X-Gm-Message-State: AOAM532F5ZIVxYTX+X/vXDxqWTGAd3TlAHwKFF2cYvRYNVoG0wgNuZsM LprOPaGnhEi6o7F0VWLlbkFIQGIDZvjDKklQXrVlqVJppe5eKIDZ X-Google-Smtp-Source: ABdhPJylk/OqyrnQZevJCJdrLyyVw7vTMeV1ME2Q3VnNqzs2KZkkXUbiC5PQb3jCVWeOXzAsCuon3SumIJw8yqHfWw4= X-Received: by 2002:a05:6402:31bb:: with SMTP id dj27mr10483387edb.285.1611223214176; Thu, 21 Jan 2021 02:00:14 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Oleg Ginzburg Date: Thu, 21 Jan 2021 13:00:02 +0300 Message-ID: Subject: Re: FreeBSD on RPI4B: shows an incorrect value of RAM To: freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 4DLyYr4pxBz3h9q X-Spamd-Bar: - X-Spamd-Result: default: False [-1.74 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[olevole-ru.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::52a:from:127.0.2.255]; DMARC_NA(0.00)[olevole.ru]; NEURAL_SPAM_SHORT(0.56)[0.556]; DKIM_TRACE(0.00)[olevole-ru.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52a:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::52a:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2021 10:00:18 -0000 > The UEFI/ACPI ( RPI_EFI.fd ) means of booting has the UEFI defaults being to restrict to 3 GiByte of RAM. Thanks Mark for the informative answer! I disabled the option 'Limit RAM to 3 GB' and now my FreeBSD feels good. https://www.bsdstore.ru/trash/IMG_20210121_123742.jpg https://www.bsdstore.ru/trash/IMG_20210121_124352.jpg On Thu, Jan 21, 2021 at 1:25 AM Oleg Ginzburg wrote: > Hello maillist, > > Recently became the owner of an RPI4-B board. Latest FreeBSD snapshot ( > FreeBSD-13.0-CURRENT-arm64-aarch64-RPI-20210107-f2b794e1e90-255641.img ) > boots successfully. However, for some reason, the system only sees 3.1 > gigabytes. > This model has 8 GB of RAM. Any ideas? > > https://www.bsdstore.ru/trash/IMG_20210121_000558.jpg > https://www.bsdstore.ru/trash/IMG_20210120_224751.jpg > > ps: booted from SD via RPI_EFI.fd ( > https://github.com/pftf/RPi4/releases/tag/v1.22 ), config.txt: > > disable_splash=1 > arm_64bit=1 > enable_uart=1 > uart_2ndstage=1 > enable_gic=1 > armstub=RPI_EFI.fd > #disable_commandline_tags=1 > #disable_overscan=1 > #device_tree_address=0x1f0000 > #device_tree_end=0x200000 > #dtoverlay=miniuart-bt > >