From nobody Mon Jun 19 04:18:15 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 4QkxMd0935z4ffdK for ; Mon, 19 Jun 2023 04:18:21 +0000 (UTC) (envelope-from madis555@gmail.com) Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (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 4QkxMb1KYqz3Fvg for ; Mon, 19 Jun 2023 04:18:19 +0000 (UTC) (envelope-from madis555@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20221208 header.b=PBs+Sft9; spf=pass (mx1.freebsd.org: domain of madis555@gmail.com designates 2607:f8b0:4864:20::836 as permitted sender) smtp.mailfrom=madis555@gmail.com; dmarc=none Received: by mail-qt1-x836.google.com with SMTP id d75a77b69052e-3fde82c8ca7so20241541cf.3 for ; Sun, 18 Jun 2023 21:18:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687148297; x=1689740297; 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=2QXnYf5lkG5/9QMPoEoeGyQaeaQWBQlDktuP5TvyyOA=; b=PBs+Sft9fydcy0AuokfsgDmfdvSt1GWMfDNG8heND51Swk3SYQzI8rAZ75XS8izW1S 9oOhDAc6GFOdGIzvJGZDovFCK3AzVH8Zvne8PBmPBcIJxb3bycmqlRX5QtxaYzoOn++s vxBfXiU0GYSsbhSz4tgFHjUkgw6RCO4/kEEreUv3MFbOkwj8cboQMbFvXiJu9JGAZlyl gdIvoOsDsSUoqK1Os6y6NjC4N4g5n0JBYjZgYRE7TsVZI3x39QjnEY//ISsRlaGGKL0W kmUqbzfMu7u6s5alp3Oq9lSfwvD0S7dZOUUtw6SXfSSWevUu/Vwen+t9MEm0uAXirgwq 53zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687148297; x=1689740297; 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=2QXnYf5lkG5/9QMPoEoeGyQaeaQWBQlDktuP5TvyyOA=; b=SMfnRDGzYBcu7fLer7N9mixdai7ZbAyePTd188hWg8cQNYWvOlPlo+cM7autrYqqqL tgVIk4BMBmlEyIQAw2ydzVIZ0SH05riMFV8/IxwhtTHGmeBAUrI+aZ7i7MktDR/QZWaJ 9T9iihvBSsORP4cIWvWL5OwioV1rFqAoO27nCMY5N9EfS4BEn+wK5QH8FYpORJzUvrVE oziJlSb6PPEM/pMXvk36Jz2TOq1ypx9SD3OBQ+fuLBRJQ0hY3KCvL6SIZQLYMsLJ3JlJ OvYW+NV5phqCoObLzUycVPbojQxMwxbe0yR/paPxmF5r7QEpxDeZ3psKnWg92dv/PqWX G+Ww== X-Gm-Message-State: AC+VfDyXxA6t55/In4NRRn1ZtTeW/PXobQybXTD+38RYY3rL7yLgbJru h2+OSgxCpm2aIpGKu9XmXmz5SZXr+r7XatQ866o= X-Google-Smtp-Source: ACHHUZ4jwxqBhrQyXnCwRMdxcb+Bc5httXoz11UGkzuCHvTd949TxqcnMw5q4yNBjPn8K+lwSNP1kZkfGVL6e56fFmQ= X-Received: by 2002:a05:620a:f07:b0:75e:bf7e:e17e with SMTP id v7-20020a05620a0f0700b0075ebf7ee17emr10879320qkl.6.1687148296731; Sun, 18 Jun 2023 21:18:16 -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 21:18:15 -0700 (PDT) In-Reply-To: References: From: Sulev-Madis Silber Date: Mon, 19 Jun 2023 07:18:15 +0300 X-Google-Sender-Auth: 6i_HvnI1A8qgxA6nCBKbNaw4Cm8 Message-ID: Subject: Re: Support for rockpi-s (rockchip rk3308) To: titus Cc: "freebsd-arm@freebsd.org" Content-Type: multipart/alternative; boundary="000000000000e9079f05fe73d283" X-Spamd-Result: default: False [-2.96 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.96)[-0.957]; NEURAL_HAM_MEDIUM(-0.81)[-0.807]; FORGED_SENDER(0.30)[madis555@hot.ee,madis555@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20221208]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; DMARC_NA(0.00)[hot.ee]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::836:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[madis555@hot.ee,madis555@gmail.com]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[hot.ee]; TO_DN_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; DKIM_TRACE(0.00)[gmail.com:+]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4QkxMb1KYqz3Fvg X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N --000000000000e9079f05fe73d283 Content-Type: text/plain; charset="UTF-8" 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 by > looking at the linux and openbsd code > > https://forums.freebsd.org/threads/adding-support-for-the-rockpi-s.80956/#post-613952 > dmesg attached > > -- > > --------------------------------------------------------------------- > How an engineer writes a program: Starts by debugging an empty file... > Titus Manea | Eastern Digital Inc. > > --000000000000e9079f05fe73d283 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable i'm keeping my eye on this. i've long wanted to have rock pi s supp= orted 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 run= ning off just emmc here, with ugly fdt/uboot hacks. just saying, as i had t= o make it work on my own, i'll bring the methods out if anyone is curio= us

On Thursday, June 15, 2023, titus <titus@edc.ro> wrote:
> Hello,
> I hacked some crude= support for rockpi-s.
> SD card works
> USB works
> UART= works
> Ethernet works (no media autodetect but works).
>
&= gt; I added support rk3308-cru (clock), rk3308-pinctrl, rk3308-gmac mostly = by
> looking at the linux and openbsd code
>
> https://forums.freebsd.org/threads/adding-support-for-the-rock= pi-s.80956/#post-613952
> dmesg attached
>
> --
&g= t;
> ----------------------------------------------------------------= -----
> How an engineer writes a program: Starts by debugging an empt= y file...
> =C2=A0Titus Manea=C2=A0 <titus@edc.ro>=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 Eastern Digital I= nc.
>
> --000000000000e9079f05fe73d283--