Date: Fri, 12 Jul 2013 13:58:29 -0700 From: Adrian Chadd <adrian@freebsd.org> To: hiren panchasara <hiren.panchasara@gmail.com> Cc: freebsd-embedded@freebsd.org Subject: Re: Making Picostation m2HP work Message-ID: <CAJ-VmomtCNq3KUjVfcaLGjnSLjnvBWKzARs8TzebmN9MdMFkcA@mail.gmail.com> In-Reply-To: <CALCpEUHxqyZb1Y5WqsuxjvwY2Pd_xN2%2BoTgsew0DwdRMC6=5Nw@mail.gmail.com> References: <CALCpEUHxqyZb1Y5WqsuxjvwY2Pd_xN2%2BoTgsew0DwdRMC6=5Nw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
cool. So step #1 - what kind of SoC is it (7241) and wifi (ar9280) ? The SoC dictates which base config we "copy" when we build the kernel. The important bits for these SoCs are: * which SoC * for AR91xx/AR71xx - which ethernet switch and how it's wired up; the AR933x and AR724x have an internet switch so there's only one config * how much RAM * what's the flash layout - important for generating the image and populating the hints table with the flash layout But let's focus on getting a kernel netbooting first.. -adrian On 12 July 2013 13:50, hiren panchasara <hiren.panchasara@gmail.com> wrote: > http://www.ubnt.com/picostationm > > Here is how it looks on boot: > > > U-Boot 1.1.4.2-s564 (Jul 19 2012 - 10:41:56) > > Board: Ubiquiti Networks XM board (rev 1.0 e302) > DRAM: 32 MB > Flash: 8 MB > PCIe WLAN Module found (#1). > Net: eth0, eth1 > Hit any key to stop autoboot: 0 > ## Booting image at 9f050000 ... > Image Name: MIPS OpenWrt Linux-3.3.8 > Created: 2013-05-31 19:12:55 UTC > Image Type: MIPS Linux Kernel Image (lzma compressed) > Data Size: 924122 Bytes = 902.5 kB > Load Address: 80060000 > Entry Point: 80060000 > Verifying Checksum ... OK > Uncompressing Kernel Image ... OK > > Starting kernel ... > <skip> > > Dropping to uboot: > > U-Boot 1.1.4.2-s564 (Jul 19 2012 - 10:41:56) > > Board: Ubiquiti Networks XM board (rev 1.0 e302) > DRAM: 32 MB > Flash: 8 MB > PCIe WLAN Module found (#1). > Net: eth0, eth1 > Hit any key to stop autoboot: 0 > ar7240> printenv > bootdelay=1 > baudrate=115200 > ethaddr=00:15:6d:0d:00:00 > mtdids=nor0=ar7240-nor0 > partition=nor0,0 > mtddevnum=0 > mtddevname=u-boot > filesize=10000 > fileaddr=81000000 > serverip=192.168.1.254 > ethact=eth0 > mtdparts=mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),5760k(rootfs),256k(cfg),64k(EEPROM) > bootcmd=bootm 0x9f050000 > bootargs=console=tty0 root=31:03 rootfstype=squashfs init=/init > ipaddr=192.168.1.20 > stdin=serial > stdout=serial > stderr=serial > > Environment size: 452/65532 bytes > ar7240> > > Currently trying to build image with Adrian's > > http://freebsd-wifi-build.googlecode.com/svn/trunk/ to put on the board. > > Now, Adrian is going to guide me from here :-) > > Thanks, > Hiren > _______________________________________________ > freebsd-embedded@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-embedded > To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomtCNq3KUjVfcaLGjnSLjnvBWKzARs8TzebmN9MdMFkcA>