From owner-freebsd-arm@freebsd.org Tue Jan 26 19:03:48 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 A0B294FCB97 for ; Tue, 26 Jan 2021 19:03:48 +0000 (UTC) (envelope-from mw@semihalf.com) Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) (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 4DQGNg6xw9z3pK9 for ; Tue, 26 Jan 2021 19:03:47 +0000 (UTC) (envelope-from mw@semihalf.com) Received: by mail-qv1-xf2a.google.com with SMTP id n14so3611199qvg.5 for ; Tue, 26 Jan 2021 11:03:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=71eF09DzfDkhNRrMQ5IgWIoG9BOnexB35HJHig4ZZ68=; b=db4hfaPSdgfFC1kNUq4I4z0UnpOcwnC7nCrW7dD5TlG1TTnG8nsbaKJeDxgK7KpP2S MZ1dovgdjNBDRXyXIy3mU29CKjylia95XWmA+prLIB6uxnozp+iRHfmJnmgyB16m3/tx eeGN6yYWqm/c3rYlsYLem0juBbibog8topfpfP8jpACRHUhea0ecx5tIlHMVh2qCummt XmoVZbYWG4MUbg1qJTNCL1VEi/vUs7dysscX13xAcfVWzxrdrGR0o6HNVRW1/+W6M8G/ HPsKU012g40c7FFwqjCJnCDLIRu4/6vVZi96kVw7u4FOUSPKFha6kDMRXvV661F+pPY8 2dug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=71eF09DzfDkhNRrMQ5IgWIoG9BOnexB35HJHig4ZZ68=; b=iEqnWiztAyOlx41RI8mrUq7gnzt3NTOotEoJk0p++KQewBK+Mc98j85T0klfl9gB1I zZbuXWG/0jivWBotgbo/jN6XnAqP648RwbvikGmG2keFZnJQ2uibHEnDtp2WTugGFyYY /VGMJyYzyw4wcyDEO9DIjcJMAhZria39US1XUb3vA9BC4NEkJ0pXzYaxftN2fuglNwFU ZmGz1BKVZtwH80EnO7TC8EPqasJPopHSpWN0IrpRJO5flRK3YuCpTqNVM6SzHCkAxJmN Cyq6SSGMGJxNRy88TKAKgsaBLH6NCm+tq/JzamVdnMzsj3YvG9lG2qDNLK1d2gBiTBmZ eowA== X-Gm-Message-State: AOAM530Uh/oYyRG4aR2NH5vC6jpLkH6lJb4SCu/8ADOCLPPjcdjDYVuH pukIQG5BIuhP5yITvcnfdU9v/UCO8FZ74Jq/O4sMToBCu5ag8Ibq X-Google-Smtp-Source: ABdhPJyiFRY3ooCA9Mnsg1xG8XSxzqrO2Ej/li/n8oatEZJtRqs18qi3j5UN0k1P+gjopzdHQBsPmHy0caVVvvN2l4I= X-Received: by 2002:a05:6214:a54:: with SMTP id ee20mr6968083qvb.16.1611687826851; Tue, 26 Jan 2021 11:03:46 -0800 (PST) MIME-Version: 1.0 From: Marcin Wojtas Date: Tue, 26 Jan 2021 20:03:34 +0100 Message-ID: Subject: Armada 7k8k & U-Boot/Device Tree To: freebsd-arm Cc: Zyta Szpak , =?UTF-8?Q?Kornel_Dul=C4=99ba?= , Grzegorz Jaszczyk Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4DQGNg6xw9z3pK9 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=db4hfaPS; dmarc=none; spf=none (mx1.freebsd.org: domain of mw@semihalf.com has no SPF policy when checking 2607:f8b0:4864:20::f2a) smtp.mailfrom=mw@semihalf.com X-Spamd-Result: default: False [-1.30 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[semihalf-com.20150623.gappssmtp.com:s=20150623]; FREEFALL_USER(0.00)[mw]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[semihalf.com]; NEURAL_SPAM_SHORT(1.00)[0.997]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::f2a:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[semihalf-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f2a:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::f2a:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] 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: Tue, 26 Jan 2021 19:03:48 -0000 Hi, I struggled a bit with Armada 7k8k with FreeBSD and U-Boot (more general - FreeBSD and device tree) - the experience is not pleasant, but unfortunately in this activity switching to EDK2 firmware is not an opiton. On top of HEAD I see following issues (checked on MacchiatoBin, Armada 7040 DB, Armada 8040 DB and a custom board). Device tree used is aligned with Linux v5.10's. - PCIE init hang on MacchiatoBin (it has to be disabled to proceed) - CP110 interfaces do cannot operate - the devices such as SD/MMC and USB time out. KDB shows that no IRQs are received in GIC via ICU-GICP secondary controllers. Does anyone use MacchiatoBin with U-Boot (and/or Device Tree) and see similar issues? Was there a pair of FreeBSD - device tree revisions that fully worked? Best regards, Marcin