From nobody Mon Jun 19 06:25:54 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ql0Bs6vggz4fkbr for ; Mon, 19 Jun 2023 06:25:57 +0000 (UTC) (envelope-from madis555@gmail.com) Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ql0Bs1czxz3L3b for ; Mon, 19 Jun 2023 06:25:57 +0000 (UTC) (envelope-from madis555@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b="Rj8/SeuQ"; spf=pass (mx1.freebsd.org: domain of madis555@gmail.com designates 2607:f8b0:4864:20::102b as permitted sender) smtp.mailfrom=madis555@gmail.com; dmarc=none Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-25eb9e82a2bso1311369a91.3 for ; Sun, 18 Jun 2023 23:25:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687155955; x=1689747955; h=cc:to:subject:message-id:date:from:references:in-reply-to:sender :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Szx96NdB+J8EeQOBoPhpSOEuE1QQHztsB/loqYkpxRA=; b=Rj8/SeuQnOxAWnNy28ekj+WcjlfjgTb6PE+CyDRCmDLaKx/tkcICMbQcCnwo90hMVc gc8q6SqBPAvmu2CfC2jtSg/mixgmsLxXbPZssnhh1dv7FaadlpqgKFu0sDmgFHUM2D3n HzuwTJaMDu4aFc7vXCQKrCnBd/mw67Siu3yMzP8aPeMJlYDmHrf40+JV7yXAHBxqpP0Y Ov0Jj/eOUNHcmX94N6vgosSqcdq/g3mkTESpsVaxqqVKVK8e/DWHS+jWsVfcPfu2AjL6 pBaWfp1mdsRDBYnO+0Uz/uWbY3ak60jmuvYDepbXuQ7f9noCuYmkmpIBoBeCJWgbrl3s v9hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687155955; x=1689747955; h=cc:to:subject:message-id:date:from:references:in-reply-to:sender :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Szx96NdB+J8EeQOBoPhpSOEuE1QQHztsB/loqYkpxRA=; b=Ppg8AnXnsjCZafN1h9rOBCOrVOP2+qwqQ6ZDTvm+IplD9C5Lk7Box6nxJ0hpLV38ln bTYHjsMW9HUUZpLbJ/jr9HE1A5dE5T2zqN1xKMOeveqhDz7o5Y/pGQLHZV5fRpmcS/jC OUQ4PseSo20o/h+IRbzXE9R3mDKpMzI0fvPpPvR9moMHGSzqX0r87zxaX0kYmKwmYDCE mKn8i0HqjifPSpj1n9qGLc/ouKFERmEENeL5hlWaU7mDzgV/MLwH3Rnzg8Q6Ezzt5dqF w4ynJ+wd+4LLkrAwz6sotHfnnDzZP7lmiOycvh+HEbovFFYdm2xvjDVbj1s4nPG6hU+u mhsQ== X-Gm-Message-State: AC+VfDxQfP1kAxql73XdjnFnBCMl0Qa77fStJPoxOkl6DAMDDvznARUR cf9ZUZZ/43lv7fHzAOEsG6KS4IwXyYZ6pw45WQ0= X-Google-Smtp-Source: ACHHUZ5PXTUBtqHpwemkD1eilCXZH4x1HKJDOa4NoKVbq4Ufym4t4LzoFlMLTGry28zvExHJUiShpPCeONpdFQ8rYqQ= X-Received: by 2002:a17:90b:4a44:b0:256:5b86:4f8c with SMTP id lb4-20020a17090b4a4400b002565b864f8cmr6786952pjb.43.1687155955165; Sun, 18 Jun 2023 23:25:55 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Received: by 2002:ac4:a585:0:b0:61f:90d:1db5 with HTTP; Sun, 18 Jun 2023 23:25:54 -0700 (PDT) In-Reply-To: <787101D6-CA5E-4E00-8C25-BDBFC7399071@edc.ro> References: <787101D6-CA5E-4E00-8C25-BDBFC7399071@edc.ro> From: Sulev-Madis Silber Date: Mon, 19 Jun 2023 09:25:54 +0300 X-Google-Sender-Auth: tmkZKkSFzzZ5XSzwi0Qn4993ELQ Message-ID: Subject: Re: Support for rockpi-s (rockchip rk3308) To: titus Cc: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="000000000000636e0905fe759b7d" X-Spamd-Result: default: False [-3.11 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_LONG(-0.98)[-0.979]; NEURAL_HAM_MEDIUM(-0.94)[-0.936]; FORGED_SENDER(0.30)[madis555@hot.ee,madis555@gmail.com]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; DMARC_NA(0.00)[hot.ee]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; BLOCKLISTDE_FAIL(0.00)[2607:f8b0:4864:20::102b:server fail]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[madis555@hot.ee,madis555@gmail.com]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102b:from]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[hot.ee]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org] X-Rspamd-Queue-Id: 4Ql0Bs1czxz3L3b X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --000000000000636e0905fe759b7d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable nah, it's emmc, sits on sd info from https://wiki.radxa.com/RockpiS/hardware/SDNAND note that they really like to name all their flash sizes as giga*bits*. so largest is 1gb in size. it's slc though. and therefore small and expensive. but with some squeezing, fbsd will do fine in that. even dual rootfs and config partitions fit in. although it's more freedom in 8g emmc sizes On Monday, June 19, 2023, titus wrote: > afaik rockpi-s have =E2=80=9Craw nand" not emmc so it won=E2=80=99t be th= at easy > > On Jun 19, 2023, at 7:18 AM, Sulev-Madis Silber wrote: > i'm keeping my eye on this. i've long wanted to have rock pi s supported in fbsd. emmc support would be nice too. i'll get few for tests i'm sure > > deserves own message but i have nanopi neo core1 lts running off just emmc here, with ugly fdt/uboot hacks. just saying, as i had to make it work on my own, i'll bring the methods out if anyone is curious > > On Thursday, June 15, 2023, titus wrote: >> Hello, >> I hacked some crude support for rockpi-s. >> SD card works >> USB works >> UART works >> Ethernet works (no media autodetect but works). >> >> I added support rk3308-cru (clock), rk3308-pinctrl, rk3308-gmac mostly b= y >> looking at the linux and openbsd code >> >> https://forums.freebsd.org/threads/adding-support-for-the-rockpi-s.80956/#p= ost-613952 >> dmesg attached >> >> -- >> >> --------------------------------------------------------------------- >> How an engineer writes a program: Starts by debugging an empty file... >> Titus Manea | Eastern Digital Inc. >> >> > --000000000000636e0905fe759b7d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable nah, it's emmc, sits on sd

info from https://wiki.radxa.com/RockpiS/hardware/SDN= AND

note that they really like to name all their flash sizes as = giga*bits*. so largest is 1gb in size. it's slc though. and therefore s= mall and expensive. but with some squeezing, fbsd will do fine in that. eve= n dual rootfs and config partitions fit in. although it's more freedom = in 8g emmc sizes

On Monday, June 19, 2023, titus <titus@edc.ro> wrote:
> afaik rockpi-s have = =E2=80=9Craw nand" not emmc so it won=E2=80=99t be that easy
>> On Jun 19, 2023, at 7:18 AM, Sulev-Madis Silber <madis555@hot.ee> wrote:
> i'm keeping m= y eye on this. i've long wanted to have rock pi s supported in fbsd. em= mc support would be nice too. i'll get few for tests i'm sure
&g= t;
> deserves own message but i have nanopi neo core1 lts running off= just emmc here, with ugly fdt/uboot hacks. just saying, as i had to make i= t work on my own, i'll bring the methods out if anyone is curious
&g= t;
> On Thursday, June 15, 2023, titus <titus@edc.ro> wrote:
>> Hello,
>> I hacked s= ome crude support for rockpi-s.
>> SD card works
>> USB w= orks
>> UART works
>> Ethernet works (no media autodetect= but works).
>>
>> I added support rk3308-cru (clock), rk= 3308-pinctrl, rk3308-gmac mostly by
>> looking at the linux and op= enbsd code
>>
>> https://forums.fr= eebsd.org/threads/adding-support-for-the-rockpi-s.80956/#post-613952>> dmesg attached
>>
>> --
>>
>>= ---------------------------------------------------------------------
&= gt;> How an engineer writes a program: Starts by debugging an empty file= ...
>> =C2=A0Titus Manea=C2=A0 <titus@edc.ro>=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 Eastern Digital Inc= .
>>
>>
> --000000000000636e0905fe759b7d--