mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
77
board/freescale/warpboard/README
Normal file
77
board/freescale/warpboard/README
Normal file
@@ -0,0 +1,77 @@
|
||||
Build
|
||||
=====
|
||||
|
||||
First, configure Buildroot for your WarpBoard.
|
||||
make warpboard_defconfig
|
||||
|
||||
Build all components:
|
||||
make
|
||||
|
||||
You will find in ./output/images/ the following files:
|
||||
- imx6sl-warp.dtb
|
||||
- rootfs.ext4
|
||||
- rootfs.tar
|
||||
- sdcard.img
|
||||
- u-boot.imx
|
||||
- zImage
|
||||
|
||||
Update uboot
|
||||
============
|
||||
|
||||
- Put warpboard in USB download mode by closing the j2 jumper on the
|
||||
daugther board
|
||||
|
||||
- Load u-boot.imx in the WarpBoard by using the imx-usb-loader host utility:
|
||||
|
||||
$ ./output/host/bin/imx_usb -c output/host/etc/imx-loader.d/ output/images/u-boot.imx
|
||||
|
||||
- U-Boot will appear in minicom
|
||||
|
||||
- Reset the U-Boot environment to its default:
|
||||
=> env default -f -a
|
||||
=> saveenv
|
||||
|
||||
- Run the DFU command in U-Boot:
|
||||
=> dfu 0 mmc 0
|
||||
|
||||
- Transfer U-Boot into flash by running this command in host side:
|
||||
|
||||
$ sudo ./output/host/bin/dfu-util -D output/images/u-boot.imx -a boot
|
||||
|
||||
- remove power and put the WarpBoard back into normal boot mode by
|
||||
opening the j2 jumper.
|
||||
|
||||
Update linux & rootfs
|
||||
=====================
|
||||
|
||||
Run the 'ums' command from the U-Boot prompt to mount the eMMC as USB mass
|
||||
storage:
|
||||
|
||||
=> ums 0 mmc 0
|
||||
|
||||
And then flash the sdcard.img into the eMMC:
|
||||
|
||||
dd if=output/images/sdcard.img of=/dev/<your-sd-device>
|
||||
|
||||
*** WARNING! This will destroy all the eMMC content. Use it with care! ***
|
||||
|
||||
Using bluetooth
|
||||
================
|
||||
|
||||
Enable the bluez_utils or bluez5_utils package, and then run:
|
||||
|
||||
$ hciattach /dev/ttymxc4 any
|
||||
$ hciconfig hci0 up
|
||||
|
||||
Using Wifi
|
||||
==========
|
||||
|
||||
# modprobe brcmfmac
|
||||
# iwconfig wlan0 essid ACCESSPOINTNAME
|
||||
# wpa_passphrase ACCESSPOINTNAME > /etc/wpa.conf
|
||||
(enter the wifi password and press enter)
|
||||
# wpa_supplicant -Dwext -iwlan0 -c /etc/wpa.conf &
|
||||
# udhcpc -i wlan0
|
||||
# ping buildroot.org
|
||||
|
||||
Enjoy!
|
||||
1
board/freescale/warpboard/linux.fragment
Normal file
1
board/freescale/warpboard/linux.fragment
Normal file
@@ -0,0 +1 @@
|
||||
CONFIG_CFG80211_WEXT=y
|
||||
@@ -0,0 +1,40 @@
|
||||
# bcm94330wlsdgb.txt
|
||||
manfid=0x2d0
|
||||
prodid=0x0552
|
||||
vendid=0x14e4
|
||||
devid=0x4360
|
||||
boardtype=0x0552
|
||||
boardrev=0x11
|
||||
# this design has 2.4GHz SP3T switch
|
||||
boardflags=0x00080200
|
||||
nocrc=1
|
||||
xtalfreq=37400
|
||||
boardnum=22
|
||||
macaddr=00:90:4c:c5:12:38
|
||||
ag0=255
|
||||
aa2g=1
|
||||
ccode=CN
|
||||
pa0b0=0x14d0
|
||||
pa0b1=0xfd98
|
||||
pa0b2=0xff78
|
||||
rssismf2g=0xa
|
||||
rssismc2g=0x3
|
||||
rssisav2g=0x7
|
||||
maxp2ga0=0x50
|
||||
sromrev=3
|
||||
il0macaddr=00:90:4c:c5:12:38
|
||||
wl0id=0x431b
|
||||
cckPwrOffset=5
|
||||
ofdm2gpo=0x66666666
|
||||
mcs2gpo0=0x6666
|
||||
mcs2gpo1=0x6666
|
||||
swctrlmap_2g=0x04040404,0x02020202,0x02020404,0x10202,0x1ff
|
||||
swctrlmap_5g=0x00100010,0x00280020,0x00200010,0x14202,0x2f8
|
||||
rfreg033=0x19
|
||||
rfreg033_cck=0x1f
|
||||
dacrate2g=160
|
||||
txalpfbyp2g=1
|
||||
bphyscale=17
|
||||
cckPwrIdxCorr=-15
|
||||
pacalidx2g=45
|
||||
txgaintbl=1
|
||||
Reference in New Issue
Block a user