Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
150balbes committed Jan 6, 2018
1 parent 5c18ce4 commit 986d023
Show file tree
Hide file tree
Showing 2,123 changed files with 61,651 additions and 0 deletions.
Binary file added s812/boot/aml_autoscript
Binary file not shown.
Binary file added s812/boot/aml_autoscript.zip
Binary file not shown.
3,678 changes: 3,678 additions & 0 deletions s812/boot/config-3.10.108

Large diffs are not rendered by default.

Binary file added s812/boot/dtb/meson8_k200b_1G_emmc_sdhc.dtb
Binary file not shown.
Binary file added s812/boot/dtb/meson8_k200b_1G_emmc_sdio.dtb
Binary file not shown.
Binary file added s812/boot/dtb/meson8_k200b_2G_emmc_sdhc.dtb
Binary file not shown.
Binary file added s812/boot/dtb/meson8_k200b_2G_emmc_sdio.dtb
Binary file not shown.
Binary file added s812/boot/dtb/meson8m2_n200C_1G.dtb
Binary file not shown.
Binary file added s812/boot/dtb/meson8m2_n200C_2G.dtb
Binary file not shown.
Binary file added s812/boot/dtb/meson8m2_n200C_2G_LAN100.dtb
Binary file not shown.
Binary file added s812/boot/dtb/meson8m2_n200_1G.dtb
Binary file not shown.
Binary file added s812/boot/dtb/meson8m2_n200_2G.dtb
Binary file not shown.
Binary file added s812/boot/dtb/meson8m2_n200_2G_LAN100.dtb
Binary file not shown.
Binary file added s812/boot/dtb/meson8m2_n200_2G_M8SPlus.dtb
Binary file not shown.
Binary file added s812/boot/dtb/meson8m2_n200_2G_MXIIIPlus.dtb
Binary file not shown.
Binary file added s812/boot/dtb/meson8m2_n200_2G_SD1.dtb
Binary file not shown.
12 changes: 12 additions & 0 deletions s812/boot/txt/s805_autoscript.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
setenv kernel_loadaddr "0x14000000"
setenv dtb_loadaddr "0x11800000"
setenv initrd_loadaddr "0x15000000"
setenv condev "console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0"
setenv boot_init "rootwait ro ${condev} fsck.repair=yes net.ifnames=0 mac=${mac}} logo=osd1,loaded,0x7900000,1080p,full"
setenv bootargs ${boot_part} ${boot_init}
setenv boot_start bootm ${kernel_loadaddr} ${initrd_loadaddr} ${dtb_loadaddr}
if fatload mmc 0 ${initrd_loadaddr} uInitrd; then if fatload mmc 0 ${kernel_loadaddr} uImage; then if fatload mmc 0 ${dtb_loadaddr} dtb.img; then run boot_start; else imgread dtb boot ${loadaddr} ${dtb_loadaddr}; run boot_start;fi;fi;fi;
if fatload usb 0 ${initrd_loadaddr} uInitrd; then if fatload usb 0 ${kernel_loadaddr} uImage; then if fatload usb 0 ${dtb_loadaddr} dtb.img; then run boot_start; else imgread dtb boot ${loadaddr} ${dtb_loadaddr}; run boot_start;fi;fi;fi;
if fatload usb 1 ${initrd_loadaddr} uInitrd; then if fatload usb 1 ${kernel_loadaddr} uImage; then if fatload usb 1 ${dtb_loadaddr} dtb.img; then run boot_start; else imgread dtb boot ${loadaddr} ${dtb_loadaddr}; run boot_start;fi;fi;fi;
if fatload usb 2 ${initrd_loadaddr} uInitrd; then if fatload usb 2 ${kernel_loadaddr} uImage; then if fatload usb 2 ${dtb_loadaddr} dtb.img; then run boot_start; else imgread dtb boot ${loadaddr} ${dtb_loadaddr}; run boot_start;fi;fi;fi;
if fatload usb 3 ${initrd_loadaddr} uInitrd; then if fatload usb 3 ${kernel_loadaddr} uImage; then if fatload usb 3 ${dtb_loadaddr} dtb.img; then run boot_start; else imgread dtb boot ${loadaddr} ${dtb_loadaddr}; run boot_start;fi;fi;fi;
Binary file added s812/boot/uImage
Binary file not shown.
34 changes: 34 additions & 0 deletions s812/etc/hdmi.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/bin/sh

#bpp=32
bpp=24

#hdmimode=1080p
hdmimode=720p

echo "$hdmimode" > /sys/class/display/mode

# Disable framebuffer scaling
echo 0 > /sys/class/ppmgr/ppscaler
echo 0 > /sys/class/graphics/fb0/free_scale
echo 1 > /sys/class/graphics/fb0/freescale_mode
echo 0 > /sys/class/graphics/fb1/free_scale

# Set framebuffer geometry to match the resolution
case $hdmimode in
720*)
fbset -fb /dev/fb0 -g 1280 720 1280 1440 $bpp
;;
1080*)
fbset -fb /dev/fb0 -g 1920 1080 1920 2160 $bpp
;;
esac

# Enable framebuffer device
echo 0 > /sys/class/graphics/fb0/blank

# Blank fb1 to prevent static noise
echo 1 > /sys/class/graphics/fb1/blank

#su -c 'hciattach /dev/ttyS1 any'

5 changes: 5 additions & 0 deletions s812/etc/rc.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

dhclient eth0 &

/etc/hdmi.sh &
Binary file added s812/lib/firmware/3826.arm
Binary file not shown.
Binary file added s812/lib/firmware/3com/typhoon.bin
Binary file not shown.
676 changes: 676 additions & 0 deletions s812/lib/firmware/GPL-3

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions s812/lib/firmware/LICENCE.IntcSST2
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Copyright (c) 2014, Intel Corporation.
All rights reserved.

Redistribution. Redistribution and use in binary form, without
modification, are permitted provided that the following conditions are
met:

* Redistributions must reproduce the above copyright notice and the
following disclaimer in the documentation and/or other materials
provided with the distribution.
* Neither the name of Intel Corporation nor the names of its suppliers
may be used to endorse or promote products derived from this software
without specific prior written permission.
* No reverse engineering, decompilation, or disassembly of this software
is permitted.

Limited patent license. Intel Corporation grants a world-wide,
royalty-free, non-exclusive license under patents it now or hereafter
owns or controls to make, have made, use, import, offer to sell and
sell ("Utilize") this software, but solely to the extent that any
such patent is necessary to Utilize the software alone, or in
combination with an operating system licensed under an approved Open
Source license as listed by the Open Source Initiative at
http://opensource.org/licenses. The patent license shall not apply to
any other combinations which include this software. No hardware per
se is licensed hereunder.

DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
77 changes: 77 additions & 0 deletions s812/lib/firmware/LICENCE.agere
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
agere_sta_fw.bin -- 9.48 Hermes I
agere_ap_fw.bin -- 9.48 Hermes I

The above firmware images were compiled from the Agere linux driver
wl_lkm_718_release.tar.gz, and dumped. The driver is coverred by the
following copyright and software license.

* SOFTWARE LICENSE
*
* This software is provided subject to the following terms and conditions,
* which you should read carefully before using the software. Using this
* software indicates your acceptance of these terms and conditions. If you do
* not agree with these terms and conditions, do not use the software.
*
* COPYRIGHT © 1994 - 1995 by AT&T. All Rights Reserved
* COPYRIGHT © 1996 - 2000 by Lucent Technologies. All Rights Reserved
* COPYRIGHT © 2001 - 2004 by Agere Systems Inc. All Rights Reserved
* All rights reserved.
*
* Redistribution and use in source or binary forms, with or without
* modifications, are permitted provided that the following conditions are met:
*
* . Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following Disclaimer as comments in the code as
* well as in the documentation and/or other materials provided with the
* distribution.
*
* . Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following Disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* . Neither the name of Agere Systems Inc. nor the names of the contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* Disclaimer
*
* THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
* INCLUDING, BUT NOT LIMITED TO, INFRINGEMENT AND THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ANY
* USE, MODIFICATION OR DISTRIBUTION OF THIS SOFTWARE IS SOLELY AT THE USERS OWN
* RISK. IN NO EVENT SHALL AGERE SYSTEMS INC. OR CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, INCLUDING, BUT NOT LIMITED TO, CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
* DAMAGE.

The following statement from Agere clarifies the status of the firmware

---
I would like to confirm that the two drivers; Linux LKM Wireless Driver
Source Code, Version 7.18 and Linux LKM Wireless Driver Source Code,
Version 7.22 comply with Open Source BSD License. Therefore the source
code can be distributed in unmodified or modified form consistent with
the terms of the license.

The Linux driver architecture was based on two modules, the MSF (Module
specific functions) and the HCF (Hardware Control Functions). Included
in the HCF is run-time firmware (binary format) which is downloaded into
the RAM of the Hermes 1/2/2.5 WMAC.

This hex coded firmware is not based on any open source software and
hence it is not subject to any Open Source License. The firmware was
developed by Agere and runs on the DISC processor embedded within the
Hermes 1/2/2.5 Wireless MAC devices.

Hope this helps.

Sincerely,

Viren Pathare
Intellectual Property Licensing Manager
Agere
---
Loading

0 comments on commit 986d023

Please sign in to comment.