From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1D0A7C433F5 for ; Thu, 24 Mar 2022 20:21:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id AE4A4401E1; Thu, 24 Mar 2022 20:21:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r3fGOMee6zPt; Thu, 24 Mar 2022 20:20:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 67C7240467; Thu, 24 Mar 2022 20:20:58 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 88D8E1BF333 for ; Thu, 24 Mar 2022 20:20:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 8078540467 for ; Thu, 24 Mar 2022 20:20:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SD6Orj3dfphE for ; Thu, 24 Mar 2022 20:20:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from smtp-out3.electric.net (smtp-out3.electric.net [208.70.128.185]) by smtp2.osuosl.org (Postfix) with ESMTPS id 5C3464011A for ; Thu, 24 Mar 2022 20:20:55 +0000 (UTC) Received: from 1nXTwy-0008zk-UE by out3b.electric.net with emc1-ok (Exim 4.94.2) (envelope-from ) id 1nXTwz-00091k-VF; Thu, 24 Mar 2022 13:20:53 -0700 Received: by emcmailer; Thu, 24 Mar 2022 13:20:53 -0700 Received: from [66.210.251.27] (helo=mail.embeddedts.com) by out3b.electric.net with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nXTwy-0008zk-UE; Thu, 24 Mar 2022 13:20:52 -0700 Received: from tsdebian.ts-local.net (unknown [75.164.75.221]) by mail.embeddedts.com (Postfix) with ESMTPSA id 9FD1314262; Thu, 24 Mar 2022 13:20:51 -0700 (MST) To: buildroot@buildroot.org Date: Thu, 24 Mar 2022 13:20:22 -0700 Message-Id: <20220324202026.5688-1-kris@embeddedTS.com> X-Mailer: git-send-email 2.11.0 X-Outbound-IP: 66.210.251.27 X-Env-From: kris@embeddedTS.com X-Proto: esmtps X-Revdns: wsip-66-210-251-27.ph.ph.cox.net X-HELO: mail.embeddedts.com X-TLS: TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 X-Authenticated_ID: X-Virus-Status: Scanned by VirusSMART (c) X-Virus-Status: Scanned by VirusSMART (b) X-FM-Delivery-Delay: 15749372,23518412 X-PolicySMART: 13164782, 15749372, 26810492 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=embeddedTS.com; s=mailanyone20220121; h=Message-Id:Date:To:From; bh=+r7SnyYOWyPi/qCjjjeBSLtBs1fDJumFf1gQdUwZcWc=; b=Z1uhqd9kgMqAI6uSdVH+9dEUuh07GmEb9aa0j3BwYY2uW2zXBlH5CxDjfAecVjpHc799TeARLXzWzB3E9qL5NRY08D4Xp4myNFlAlbTTdG8Ptp7M03G8VbIEtx66FrN+5Hs5RilC5XYFkRXEjEmjkxW0XdBnIXHh2+XKa0X1wtF0nQiD03uov+30Sm/TJ41FdX1LVCkBhikA46q1k8wKwPbFx1ZH8+yGfv4U2HOfYfbxWPI9JPe2R03W8qCLkeFDmDsC9BqqNrvPW6gJEuH20TNu4iVm+CVnWN5dfVzQs0C8/yQg0OQMfoCMdA3kFhUJANTHBZEy53iBuI3rpSTPng==; X-FM-Delivery-Delay: 15749372,23518412 X-PolicySMART: 13164782, 15749372, 26810492 X-FM-Delivery-Delay: 15749372,23518412 X-PolicySMART: 13164782, 15749372, 26810492 X-FM-Delivery-Delay: 15749372,23518412 X-PolicySMART: 13164782, 15749372, 26810492 Subject: [Buildroot] [PATCH 0/4] Pull in WILC Wi-Fi updates X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Kris Bahnsen via buildroot Reply-To: Kris Bahnsen Cc: Eugen Hristev , Ludovic Desroches , Mark Featherston , Thomas Petazzoni , Kris Bahnsen MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" This series bumps WILC1000/3000 firmware to the latest available from Microchip, updates existing defconfig files to include both WILC1000 and WILC3000 blobs, and adds a package to build the wilc driver as an external kernel module. The previous wilc1000-firmware package was extremely outdated, no longer available on github, and installed the firmware files to the wrong location for the current upstream kernel wilc1000 driver and Microchip's separately maintained driver. Since the firmware change includes individual WILC1000 and WILC3000 config options, this package is renamed to wilc-firmware. The defconfigs of all platforms that used WILC1000 firmware were touched to also include WILC3000 firmware. They either natively have WILC3000 or can support either WILC1000/WILC3000 being connected to these platforms. I've attempted to test the firmware changes against microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig as this is a board I have in my possession. However, the defconfig appears broken (Microchip now maintains the evk in their own BR2_EXTERNAL repo): ... Kernel command line: console=ttyS0,115200 initrd=0x21100000,25165824 root=/dev/ram0 rw ... RAMDISK: Couldn't find valid RAM disk image starting at 0. mmc0: new ultra high speed DDR50 SDHC card at address aaaa List of all partitions: ... Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.80-linux4microchip-2021.10 #1 Hardware name: Atmel SAMA5 Function entered at [] from [] Function entered at [] from [] Function entered at [] from [] Function entered at [] from [] Function entered at [] from [] Function entered at [] from [] Exception stack(0xc2c29fb0 to 0xc2c29ff8) 9fa0: 00000000 00000000 00000000 00000000 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0) ]--- The firmware and driver changes have been thoroughly tested, however, on an embeddedTS platform (BR patch for this in the future, waiting on kernel accepting FDT) that includes the WILC3000 device. We have a number of platforms that all use this same device and are starting to push for better upstream support overall. So this patch series is us laying the groundwork for that. Kris Bahnsen (4): package/wilc1000-firmware: bump to 15.6 package/wilc-firmware: rename from wilc1000-firmware configs: add WILC3000_FIRMWARE to compatible devices package/wilc-driver: new package DEVELOPERS | 6 ++- configs/at91sam9x5ek_dev_defconfig | 1 + configs/at91sam9x5ek_mmc_dev_defconfig | 1 + configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig | 1 + configs/atmel_sama5d2_xplained_mmc_dev_defconfig | 1 + configs/atmel_sama5d3_xplained_dev_defconfig | 1 + configs/atmel_sama5d3_xplained_mmc_dev_defconfig | 1 + configs/atmel_sama5d4_xplained_dev_defconfig | 1 + configs/atmel_sama5d4_xplained_mmc_dev_defconfig | 1 + configs/microchip_sam9x60ek_mmc_dev_defconfig | 1 + .../microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig | 1 + configs/microchip_sama5d2_icp_mmc_dev_defconfig | 1 + configs/microchip_sama7g5ek_mmc_dev_defconfig | 1 + package/Config.in | 3 +- package/wilc-driver/Config.in | 58 ++++++++++++++++++++++ package/wilc-driver/wilc-driver.hash | 2 + package/wilc-driver/wilc-driver.mk | 29 +++++++++++ package/wilc-firmware/Config.in | 29 +++++++++++ package/wilc-firmware/wilc-firmware.hash | 2 + package/wilc-firmware/wilc-firmware.mk | 34 +++++++++++++ package/wilc1000-firmware/Config.in | 6 --- package/wilc1000-firmware/wilc1000-firmware.hash | 2 - package/wilc1000-firmware/wilc1000-firmware.mk | 24 --------- 23 files changed, 173 insertions(+), 34 deletions(-) create mode 100644 package/wilc-driver/Config.in create mode 100644 package/wilc-driver/wilc-driver.hash create mode 100644 package/wilc-driver/wilc-driver.mk create mode 100644 package/wilc-firmware/Config.in create mode 100644 package/wilc-firmware/wilc-firmware.hash create mode 100644 package/wilc-firmware/wilc-firmware.mk delete mode 100644 package/wilc1000-firmware/Config.in delete mode 100644 package/wilc1000-firmware/wilc1000-firmware.hash delete mode 100644 package/wilc1000-firmware/wilc1000-firmware.mk -- 2.11.0 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot