Date: Wed, 23 Dec 2015 14:36:58 +0100 From: Willem Jan Withagen <wjw@digiware.nl> To: Stanislav Galabov <sgalabov@gmail.com> Cc: Adrian Chadd <adrian@freebsd.org>, "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: Booting a FreeBSD kernel on the WiTiboard. (Was: Re: Initial support for MT7620) Message-ID: <567AA37A.6020005@digiware.nl> In-Reply-To: <91F3818D-0E31-4095-B079-340872300D34@gmail.com> References: <1479DFB0-6B63-4886-B9BA-8F95A44A8ED9@gmail.com> <CAJ-Vmo=ryMSC6AsQwayi1P-%2Bvw8S9ow8%2BSPi%2BsuLWgTX=v4wPw@mail.gmail.com> <17D0A04B-7164-48AE-9909-107EEBDF72E5@gmail.com> <56716BD0.1080801@digiware.nl> <567921DD.9060802@digiware.nl> <1F9B0CCD-1C67-45CF-9E1D-390F603A862F@gmail.com> <56793BF9.9010200@digiware.nl> <280C77DE-3468-4BA1-86E6-23C567A37D79@gmail.com> <56793EA6.3040401@digiware.nl> <91F3818D-0E31-4095-B079-340872300D34@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 22-12-2015 13:17, Stanislav Galabov wrote: > >> On Dec 22, 2015, at 14:14, Willem Jan Withagen <wjw@digiware.nl> wrote: >> >> On 22-12-2015 13:07, Stanislav Galabov wrote: >>> >>>> On Dec 22, 2015, at 14:03, Willem Jan Withagen <wjw@digiware.nl> wrote: >>>> >>>> On 22-12-2015 12:54, Stanislav Galabov wrote: >>>>> Hi Willem, >>>>> >>>>> Can you try with this kernel please: >>>>> https://www.dropbox.com/s/t1wevprzlsfegr0/kernel.uboot?dl=0 >>>> >>>> That really works. :) >>>> Boot output below. >>>> >>>> Guess I'm going to need to find a disk to hookup to one of the sataports... >>>> In the mean time also started a MIPS build for MT7620. >>>> >>>> But this afternoon is reserved for Xmas shopping, so I won't be back with >>>> results for a while. >>>> >>>> --WjW >>> >>> I’m glad it works for you :-) >>> Yeah, I’m probably not going to be around myself starting tomorrow evening until the beginning of the new year sometime… I’ll read my e-mails, but won’t be able to do any work most likely. >> >> I see that the image searches for a bootdis called: >> /dev/ada0s1 >> >> So if I attach a disk on my build machine >> slice it up (dangerously) >> partition it the classic way >> install the mips stuff on it >> >> I run the risk that it will boot. :) >> >> Happy holidays, >> --WjW > > It boots for me. I am using an old laptop HDD with MBR and if I recall correctly I simply did a newfs on the partition on which I installed the mips world. That was a nice idea. Had some old cased disk lying about with Seagate USB-SATA convertors. used one of them to load (over USB) and then attached and rebooted. Guess I need to make /etc/fstab... And the openssl took quite some time to actually get thru. --WjW random: harvesting attach, 8 bytes (4 bits) from ahcich0 ahcich1: <AHCI channel> at channel 1 on ahci0 ahcich1: Caps: HPCP random: harvesting attach, 8 bytes (4 bits) from ahcich1 random: harvesting attach, 8 bytes (4 bits) from ahci0 random: harvesting attach, 8 bytes (4 bits) from pci3 random: harvesting attach, 8 bytes (4 bits) from pcib3 random: harvesting attach, 8 bytes (4 bits) from pci0 random: harvesting attach, 8 bytes (4 bits) from pcib0 random: harvesting attach, 8 bytes (4 bits) from obio0 random: harvesting attach, 8 bytes (4 bits) from nexus0 Device configuration finished. Timecounters tick every 10.000 msec tcp_init: net.inet.tcp.tcbhashsize auto tuned to 4096 ahcich0: AHCI reset... ahcich0: SATA connect time=1800us status=00000113 ahcich0: AHCI reset: device found ahcich0: AHCI reset: device ready after 0ms ahcich1: AHCI reset... ahcich1: SATA connect timeout time=10000us status=00000000 ahcich1: AHCI reset: device not found ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: <ST9250315AS 0002BSM1> ATA8-ACS SATA 1.x device ada0: Serial Number 5VCLCPT0 ada0: 150.000MB/s transfers (SATA 1.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 238475MB (488397168 512 byte sectors) pass0 at ahcich0 bus 0 scbus0 target 0 lun 0 pass0: <ST9250315AS 0002BSM1> ATA8-ACS SATA 1.x device pass0: Serial Number 5VCLCPT0 pass0: 150.000MB/s transfers (SATA 1.x, UDMA6, PIO 8192bytes) pass0: Command Queueing enabled Trying to mount root from ufs:/dev/ada0s1 []... GEOM: new disk ada0 warning: no time-of-day clock registered, system time will not be set accurately start_init: trying /sbin/init /etc/rc: WARNING: hostid: unable to figure out a UUID from DMI data, generating a new one Setting hostuuid: 10796b5d-a979-11e5-b35d-775cc491f70b. Setting hostid: 0x3cfed483. eval: cannot open /etc/fstab: No such file or directory No suitable dump device was found. eval: cannot open /etc/fstab: No such file or directory fstab: /etc/fstab:0: No such file or directory Warning! No /etc/fstab: skipping disk checks. fstab: /etc/fstab:0: No such file or directory Mounting local file systems:fstab: /etc/fstab:0: No such file or directory . /etc/rc: WARNING: $hostname is not set -- see rc.conf(5). Setting up harvesting:[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED Feeding entropy:random: unblocking device. . Starting Network: lo0. lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6> inet 127.0.0.1 netmask 0xff000000 groups: lo ELF ldconfig path: /lib /usr/lib /usr/lib/compat Starting devd. Generating host.conf. fstab: /etc/fstab:0: No such file or directory fstab: /etc/fstab:0: No such file or directory Creating and/or trimming log files. Starting syslogd. Starting casperd. Clearing /tmp (X related). Updating motd:. Mounting late file systems:fstab: /etc/fstab:0: No such file or directory . fstab: /etc/fstab:0: No such file or directory load: 0.88 cmd: openssl 412 [runnable] 14.47r 14.35u 0.04s 79% 4684k Script /etc/rc.d/sendmail running Starting sendmail_submit. Starting sendmail_msp_queue. Starting cron. eval: cannot open /etc/fstab: No such file or directory Starting background file system checks in 60 seconds. Wed Dec 23 13:29:20 UTC 2015 FreeBSD/mips (Amnesiac) (ttyu0) login:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?567AA37A.6020005>