From owner-freebsd-arm@freebsd.org Mon Apr 11 02:56:17 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB09BB0B813 for ; Mon, 11 Apr 2016 02:56:17 +0000 (UTC) (envelope-from embaudarm@gmail.com) Received: from mail-yw0-x242.google.com (mail-yw0-x242.google.com [IPv6:2607:f8b0:4002:c05::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ADB731E85 for ; Mon, 11 Apr 2016 02:56:17 +0000 (UTC) (envelope-from embaudarm@gmail.com) Received: by mail-yw0-x242.google.com with SMTP id k197so18226424ywe.2 for ; Sun, 10 Apr 2016 19:56:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=uicojd/E2S4CilyoeQuLa7kxFgvufb9dydynIGwDkSY=; b=A6UvsNFNDwmEJOJg7Ay3xmQ20hDN1baDBLMcBWcS2j8auXN23HjqDKWXrSjL9byNiW 3cH48oLM+F3K7GsYC1fACUlXbUktjP5jOzYsExjAkkHEIZN6OmdPnK6/Q/Z+KFh675E9 e8/RMktAiyUEx9pqgrFnSOCW0BASQ/voLJZjowk6q/GH+Z6Mfd+D0HjnQLU3x8TJ45CH kpBUOZyQHat6IgAxyu6w6OW3UEHhP+RPzu7mDjfKCaEZSUm0Y45SicGoIHeJvqh2WV+O 4UzLqsdHTaq+6oyvL1S6o40CNcQ7cLMA8HLMjobvwBvteV1JnQX+bonsuCbs/AhMqOJy esQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=uicojd/E2S4CilyoeQuLa7kxFgvufb9dydynIGwDkSY=; b=ln3m4LF2/JEpkE74qJDibwmBWSCJHVyxscfOUiaRlHVtEoC9CRcnaETttSNRP12PPN 4rWuuEGe0Xb8e6h+7VdWeThs7tMX3P/7/2r0fL6Og+1MReR1M+zUXI6vwk66EP/Ojp9H b91n5gEogFOro6CxgT6NoaunGKy6nbtKxGQnEaoTDl05xSw16phmi8umVtHxmMHRUvNj dYO/WQbYhJSwNPGFu4ldrulUee3pChFL5yrdnwj+gxhEpVmrGY9JN21lEDdER9aR47GQ 5g1MoNcQxpWcOMSLxVHoufpyVHMTz2IfPLFcFNRfkW+ScqlqSavSBZf9ktt5Hic0iPuj b98w== X-Gm-Message-State: AD7BkJLDwo+7Fd03wN4Aj69HFnZSmI8N9ao4QeM1cRtSK2orf4q/Hggs1/6e0dN81JlUBLT/jTEv6SFrqcnI5Q== MIME-Version: 1.0 X-Received: by 10.129.56.196 with SMTP id f187mr9659548ywa.111.1460343376820; Sun, 10 Apr 2016 19:56:16 -0700 (PDT) Received: by 10.83.35.151 with HTTP; Sun, 10 Apr 2016 19:56:16 -0700 (PDT) Date: Sun, 10 Apr 2016 22:56:16 -0400 Message-ID: Subject: Trouble booting FreeBSD with u-boot on Zynq. From: Emb Aud To: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2016 02:56:18 -0000 Hello again. I am still trying to get FreeBSD to boot on a Xilinx Zybo board. I've been going through the instructions here: https://wiki.freebsd.org/FreeBSD/arm/Zedboard My problem is that u-boot tries to read uImage and boot Linux. My boot messages are below. It seems that u-boot was changed recently to eliminate the FreeBSD option. The git commit log from Feb 4 2016 states: ARM: zynq: Remove ZYNQ_BOOT_FREEBSD option Remove CONFIG_ZYNQ_BOOT_FREEBSD configuration option and setup CONFIG_SYS_MMC_MAX_DEVICE 1 for all Zynq boards. Looking at the patch, it seems like they didn't actually remove FreeBSD support though: http://lists.denx.de/pipermail/u-boot/2016-February/244706.html Does anyone know what the proper way is to configure u-boot for FreeBSD now? Thank you. BOOT MESSAGES: U-Boot SPL 2016.01-03962-g27e425c-dirty (Apr 11 2016 - 02:39:17) mmc boot Trying to boot from MMC reading fpga.bin spl_load_image_fat: error reading image fpga.bin, err - -1 spl: error reading image fpga.bin, err - 1 reading system.dtb spl_load_image_fat_os: error reading image system.dtb, err - -1 reading u-boot.img reading u-boot.img U-Boot 2016.01-03962-g27e425c-dirty (Apr 11 2016 - 02:39:17 -0400) Model: Zynq ZYBO Development Board Board: Xilinx Zynq DRAM: ECC disabled 512 MiB MMC: sdhci@e0100000: 0 SF: Detected S25FL128S_64K with page size 256 Bytes, erase size 64 KiB, total 16 MiB *** Warning - bad CRC, using default environment In: serial@e0001000 Out: serial@e0001000 Err: serial@e0001000 Model: Zynq ZYBO Development Board Board: Xilinx Zynq Net: ZYNQ GEM: e000b000, phyaddr 0, interface rgmii-id eth0: ethernet@e000b000 Hit any key to stop autoboot: 0 Device: sdhci@e0100000 Manufacturer ID: 28 OEM: 4245 Name: SDU16 Tran Speed: 50000000 Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 14.9 GiB Bus Width: 4-bit Erase Group Size: 512 Bytes reading uEnv.txt 257 bytes read in 10 ms (24.4 KiB/s) Loaded environment from uEnv.txt Importing environment from SD ... Running uenvcmd ... Booting FreeBSD from SD... Device: sdhci@e0100000 Manufacturer ID: 28 OEM: 4245 Name: SDU16 Tran Speed: 50000000 Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 14.9 GiB Bus Width: 4-bit Erase Group Size: 512 Bytes reading ubldr 266543 bytes read in 37 ms (6.9 MiB/s) reading zynq-zybo.dtb 8774 bytes read in 18 ms (475.6 KiB/s) Copying Linux from SD to RAM... reading uImage ** Unable to read file uImage ** Zynq>