Date: Sun, 6 Dec 2015 16:56:07 -0600 From: Erik Moe <e.moe@rcn.com> To: Warner Losh <imp@bsdimp.com> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: Raspberry Pi Zero Message-ID: <F8B102B1-05A9-4456-A509-D7EC74C19443@rcn.com> In-Reply-To: <F8AA2546-6ED4-44D8-9AF0-F73B270A96B3@rcn.com> References: <44D770D9-F1EF-461E-BB1A-8A19E9FB4BC8@rcn.com> <4D7C44B3-8135-4431-A07B-6135284D0C02@bsdimp.com> <5663E1FA.3060602@kronometrix.org> <566407CE.4020403@gmail.com> <CANCZdfpOBGKni7tUXbjxieTRBB=ONhypUQsaKu4a3UyWEP-_0w@mail.gmail.com> <B9614EFF-DA70-48BB-AFB3-2574C2936620@rcn.com> <CANCZdfqeCqoAFD_tVP_rT6XRNWzhPhijDboh9x53SOPKpkuhdw@mail.gmail.com> <F8AA2546-6ED4-44D8-9AF0-F73B270A96B3@rcn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
So the new firmware works on a RPI-B, RPI-B+, RPI-2 with the RPI-2 image = and RPI-Zero. So whatever changes were made to make the RPI-Zero work = are compatible with all the previous version of the Pi. So it just = seems a matter updating the u-boot-rpi and u-boot-rpi2 ports. Erik > On Dec 6, 2015, at 11:01 AM, Erik Moe <e.moe@rcn.com> wrote: >=20 >=20 >> On Dec 6, 2015, at 10:47 AM, Warner Losh <imp@bsdimp.com> wrote: >>=20 >>=20 >>=20 >> On Sun, Dec 6, 2015 at 9:45 AM, Erik Moe <e.moe@rcn.com = <mailto:e.moe@rcn.com>> wrote: >> Firmware was the issue. I mounted the MSDOS partition of the latest = RPI-B snapshot, replaced bootcode.bin, fixup.dat, fixup_cd.dat, = start.elf and start_cd.elf from https://github.com/raspberrypi/firmware = <https://github.com/raspberrypi/firmware> and the Zero booted right up = into multi-user mode. It didn=E2=80=99t seem to mind that the DTB was = for the RPI-B. >>=20 >>=20 >> Cool. Any chance you can try the same image on an RPI-B?=20 >=20 > Yes, I=E2=80=99m curious myself. I=E2=80=99ll give it a try >=20 >>=20 >> Warner=20 >=20 > Granted it=E2=80=99s only running at 700Mhz. Is that a DTB thing or a = kernel thing? >=20 > reading ubldr.bin > 214704 bytes read in 29 ms (7.1 MiB/s) > ## No elf image at address 0x00200000 > ## Starting application at 0x00200000 ... > Consoles: U-Boot console > Compatible U-Boot API signature found @1db474d0 >=20 > FreeBSD/armv6 U-Boot loader, Revision 1.2 > (root@releng2.nyi.freebsd.org, Tue Dec 1 08:17:13 UTC 2015) >=20 > DRAM: 480MB > Number of U-Boot devices: 1 > U-Boot env: loaderdev=3D'mmc 0' > Found U-Boot device: disk > Checking unit=3D0 slice=3D<auto> partition=3D<auto>... good. > Booting from disk0s2a: % > /boot/kernel/kernel data=3D0x5d6aa4+0xe555c = syms=3D[0x4+0xc5fb0+0x4+0x94dbb] >=20 > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > Using DTB provided by U-Boot at address 0x100. > Kernel entry at 0x400100... > Kernel args: (null) > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2015 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, = 1994 > The Regents of the University of California. All rights = reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 11.0-CURRENT #0 r291495: Tue Dec 1 08:23:29 UTC 2015 > root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B = arm > FreeBSD clang version 3.7.0 (tags/RELEASE_370/final 246257) 20150906 > VT: init without driver. > sema_sysinit > CPU: ARM1176JZ-S rev 7 (ARM11J core) > Supported features: ARM_ISA THUMB2 JAZELLE ARMv4 Security_Ext > WB enabled LABT branch prediction enabled > 16KB/32B 4-way instruction cache > 16KB/32B 4-way write-back-locking-C data cache > real memory =3D 503312384 (479 MB) > avail memory =3D 481800192 (459 MB) > random: entropy device external interface > kbd0 at kbdmux0 > ofwbus0: <Open Firmware Device Tree> > simplebus0: <Flattened device tree simple bus> mem = 0x20000000-0x20ffffff on ofwbus0 > cpulist0: <Open Firmware CPU Group> on ofwbus0 > cpu0: <Open Firmware CPU> on cpulist0 > bcm2835_cpufreq0: <CPU Frequency Control> on cpu0 > intc0: <BCM2835 Interrupt Controller> mem 0xb200-0xb3ff on simplebus0 > systimer0: <BCM2835 System Timer> mem 0x3000-0x3fff irq 8,9,10,11 on = simplebus0 > Event timer "BCM2835-3" frequency 1000000 Hz quality 1000 > Timecounter "BCM2835-3" frequency 1000000 Hz quality 1000 > bcmwd0: <BCM2708/2835 Watchdog> mem 0x10001c-0x100027 on simplebus0 > gpio0: <BCM2708/2835 GPIO controller> mem 0x200000-0x2000af irq = 57,59,58,60 on simplebus0 > gpio0: read-only pins: 46-53. > gpio0: reserved pins: 48-53. > gpiobus0: <OFW GPIO bus> on gpio0 > gpioled0: <GPIO led> at pin 16 on gpiobus0 > gpioc0: <GPIO controller> on gpio0 > iichb0: <BCM2708/2835 BSC controller> mem 0x205000-0x20501f irq 61 on = simplebus0 > iicbus0: <OFW I2C bus> on iichb0 > iic0: <I2C generic I/O> on iicbus0 > iichb1: <BCM2708/2835 BSC controller> mem 0x804000-0x80401f irq 61 on = simplebus0 > iicbus1: <OFW I2C bus> on iichb1 > iic1: <I2C generic I/O> on iicbus1 > spi0: <BCM2708/2835 SPI controller> mem 0x204000-0x20401f irq 62 on = simplebus0 > spibus0: <OFW SPI bus> on spi0 > bcm_dma0: <BCM2835 DMA Controller> mem 0x7000-0x7fff,0xe05000-0xe05fff = irq 24,25,26,27,28,29,30,31,32,33,34,35,36 on simplebus0 > mbox0: <BCM2835 VideoCore Mailbox> mem 0xb880-0xb8bf irq 1 on = simplebus0 > sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x300000-0x3000ff irq = 70 on simplebus0 > mmc0: <MMC/SD bus> on sdhci_bcm0 > uart0: <PrimeCell UART (PL011)> mem 0x201000-0x201fff irq 65 on = simplebus0 > uart0: console (115200,n,8,1) > vchiq0: <BCM2835 VCHIQ> mem 0xb800-0xb84f irq 2 on simplebus0 > vchiq: local ver 8 (min 3), remote ver 8. > pcm0: <VCHQI audio> on vchiq0 > bcm283x_dwcotg0: <DWC OTG 2.0 integrated USB controller (bcm283x)> mem = 0x980000-0x99ffff irq 17 on simplebus0 > usbus0 on bcm283x_dwcotg0 > fb0: <BCM2835 VT framebuffer driver> on ofwbus0 > fbd0 on fb0 > VT: initialize with new VT driver "fb". > fb0: 656x416(656x416@0,0) 24bpp > fb0: fbswap: 1, pitch 1968, base 0x1eaac000, screen_size 818688 > cryptosoft0: <software crypto> > Timecounters tick every 10.000 msec > IPsec: Initialized Security Association Processing. > usbus0: 480Mbps High Speed USB v2.0 > bcm2835_cpufreq0: ARM 700MHz, Core 250MHz, SDRAM 400MHz, Turbo OFF > ugen0.1: <DWCOTG> at usbus0 > uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on = usbus0 > mmcsd0: 8GB <SDHC SL08G 8.0 SN 29CFEE4E MFG 09/2015 by 3 SD> at mmc0 = 41.6MHz/4bit/65535-block > Trying to mount root from ufs:/dev/ufs/rootfs [rw]... > warning: no time-of-day clock registered, system time will not be set = accurately > uhub0: 1 port with 1 removable, self powered > Setting hostuuid: 83cb9b0d-9805-11e5-a352-0d59aa7881dc. > Setting hostid: 0xb11e12a1. > No suitable dump device was found. > Starting file system checks: > /dev/ufs/rootfs: FILE SYSTEM CLEAN; SKIPPING CHECKS > /dev/ufs/rootfs: clean, 1736538 free (194 frags, 217043 blocks, 0.0% = fragmentation) > Mounting local file systems:. > Setting hostname: rpi-b. > Setting up = harvesting:[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,K= EYBOARD,ATTACH,CACHED > Feeding entropy:random: unblocking device. > . > Starting Network: lo0. > lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 > options=3D600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 > inet 127.0.0.1 netmask 0xff000000 > groups: lo > nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL> > ELF ldconfig path: /lib /usr/lib /usr/lib/compat > Starting devd. > add net fe80::: gateway ::1 > add net ff02::: gateway ::1 > add net ::ffff:0.0.0.0: gateway ::1 > add net ::0.0.0.0: gateway ::1 > Creating and/or trimming log files. > Starting syslogd. > Starting casperd. > Clearing /tmp (X related). > Updating motd:. > Mounting late file systems:. > Configuring vt: blanktime. > Performing sanity check on sshd configuration. > Starting sshd. > Starting cron. > Starting background file system checks in 60 seconds. >=20 > Tue Dec 1 08:34:11 UTC 2015 >=20 > FreeBSD/arm (rpi-b) (ttyu0) >=20 > login: >=20 > Erik >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F8B102B1-05A9-4456-A509-D7EC74C19443>