Re: [OpenWrt-Devel] [ramips] Linkit Smart 7688 and libmraa

2019-09-24 Thread Ivan Hörler
Hi
I opend a issue in the mraa git repo and got some new information about why and 
where libmraa breaks.
It seams related to a change in the system. At some point openWRT must have 
dropped  or changed some parts of `/dev/mem`.
This now makes libmraa break and maybe not only for my target.
Im not the C dev that can handel such a thing. 
May somebody with C knowledge have a minute to look in to it and tell me what 
possibilities i have and how many targets possibly are affected by this?
https://github.com/intel-iot-devkit/mraa/issues/983 

Thanks, Ivan 

> Am 20.09.2019 um 15:10 schrieb Ivan Hörler :
> 
> I tried to compile the package libmraa as single and have some problems with 
> the dependencies:
> 
> Followed this: https://openwrt.org/docs/guide-developer/single.package 
> 
> First i searched for all dependencies:
> 
> root@OpenWrt:/# opkg info libmraa
> Package: libmraa
> Version: 2.0.0-2
> Depends: libc, libstdcpp6, libjson-c4
> Status: install user installed
> Section: libs
> Architecture: mipsel_24kc
> Size: 64409
> Filename: libmraa_2.0.0-2_mipsel_24kc.ipk
> 
> root@OpenWrt:/# opkg info libc
> Package: libc
> Version: 1.1.23-2
> Depends: libgcc1
> Status: install hold installed
> Essential: yes
> Architecture: mipsel_24kc
> Installed-Time: 1568571183
> 
> then i tried to make menuconfig so i can tick the dependencies but i did not 
> find the dependencie of libc named libgcc1. 
> A try to compile after installing tools and toolchain fails as well:
> 
> novski@ubuntu:~/Documents/openwrt$ make package/libgcc1/compile V=s
> make[1]: Entering directory '/home/novski/Documents/openwrt'
> make[1]: *** No rule to make target 'package/libgcc1/compile'.  Stop.
> make[1]: Leaving directory '/home/novski/Documents/openwrt'
> /home/novski/Documents/openwrt/include/toplevel.mk:216: recipe for target 
> 'package/libgcc1/compile' failed
> make: *** [package/libgcc1/compile] Error 2
> 
> Why do i not find the dependency libgcc1 in 'make menuconfig' search (/)?
> 
> Thanks, Ivan 
> 
> 
>> Am 19.09.2019 um 20:18 schrieb Ivan Hörler > >:
>> 
>> Hi
>> I have problems makeing libmraa working on Linkit Smart 7688.
>> The installation worked without problems and i tested with a python script. 
>> See details below:
>> 
>> what i did: 
>> - Compiled a openWRT 18.6
>> - opkg update 
>> - opkg install libmraa
>> - opkg install python3-light
>> - opkg install libmraa-python3
>> 
>> - copied this skript to /root: 
>> 
>> import mraa
>> import time
>> 
>> try:
>> print (mraa.getVersion())
>> except:
>> print("no mraa available")
>> 
>> # Refer to the pin-out digram for the GPIO number to silk print mapping
>> # in this example the number 44 maps to Wi-Fi LED.
>> pin = mraa.Gpio(2)
>> pin.dir(mraa.DIR_OUT)
>> while True:
>> pin.write(1)
>> time.sleep(1)
>> pin.write(0)
>> time.sleep(1)
>> 
>> - and executed:
>> root@OpenWrt:~# python3 mraa-test-simple.py 
>> v2.0.0
>> Traceback (most recent call last):
>>   File "mraa-test-simple.py", line 11, in 
>> pin = mraa.Gpio(2)
>>   File "/usr/lib/python3.7/site-packages/mraa.py", line 391, in __init__
>> _mraa.Gpio_swiginit(self, _mraa.new_Gpio(pin, owner, raw))
>> ValueError: Invalid GPIO pin specified
>> 
>> 
>> - checked with a LED on pin2 like this if GPIO2 works:
>> root@OpenWrt:~# cd /sys/class/gpio/
>> root@OpenWrt:/sys/class/gpio# ls
>> export  gpiochip0   gpiochip32  gpiochip64  unexport
>> root@OpenWrt:/sys/class/gpio# echo 2 > export
>> root@OpenWrt:/sys/class/gpio# ls
>> export  gpio2   gpiochip0   gpiochip32  gpiochip64  unexport
>> root@OpenWrt:/sys/class/gpio# cd gpio2
>> root@OpenWrt:/sys/devices/platform/1000.palmbus/1600.gpio/gpiochip0/gpio/gpio2#
>>  echo "out" > direction
>> root@OpenWrt:/sys/devices/platform/1000.palmbus/1600.gpio/gpiochip0/gpio/gpio2#
>>  cat value
>> 0
>> root@OpenWrt:/sys/devices/platform/1000.palmbus/1600.gpio/gpiochip0/gpio/gpio2#
>>  echo 1 > value
>> 
>> - redone previous step with no changes in error output.
>> 
>> what am i missing?
>> 
>> Thanks for comments, Ivan Hörler
>> ___
>> openwrt-devel mailing list
>> openwrt-devel@lists.openwrt.org 
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [ramips] Linkit Smart 7688

2019-09-20 Thread Ivan Hörler
I tried to compile the package libmraa as single and have some problems with 
the dependencies:

Followed this: https://openwrt.org/docs/guide-developer/single.package
First i searched for all dependencies:

root@OpenWrt:/# opkg info libmraa
Package: libmraa
Version: 2.0.0-2
Depends: libc, libstdcpp6, libjson-c4
Status: install user installed
Section: libs
Architecture: mipsel_24kc
Size: 64409
Filename: libmraa_2.0.0-2_mipsel_24kc.ipk

root@OpenWrt:/# opkg info libc
Package: libc
Version: 1.1.23-2
Depends: libgcc1
Status: install hold installed
Essential: yes
Architecture: mipsel_24kc
Installed-Time: 1568571183

then i tried to make menuconfig so i can tick the dependencies but i did not 
find the dependencie of libc named libgcc1. 
A try to compile after installing tools and toolchain fails as well:

novski@ubuntu:~/Documents/openwrt$ make package/libgcc1/compile V=s
make[1]: Entering directory '/home/novski/Documents/openwrt'
make[1]: *** No rule to make target 'package/libgcc1/compile'.  Stop.
make[1]: Leaving directory '/home/novski/Documents/openwrt'
/home/novski/Documents/openwrt/include/toplevel.mk:216: recipe for target 
'package/libgcc1/compile' failed
make: *** [package/libgcc1/compile] Error 2

Why do i not find the dependency libgcc1 in 'make menuconfig' search (/)?

Thanks, Ivan 


> Am 19.09.2019 um 20:18 schrieb Ivan Hörler :
> 
> Hi
> I have problems makeing libmraa working on Linkit Smart 7688.
> The installation worked without problems and i tested with a python script. 
> See details below:
> 
> what i did: 
> - Compiled a openWRT 18.6
> - opkg update 
> - opkg install libmraa
> - opkg install python3-light
> - opkg install libmraa-python3
> 
> - copied this skript to /root: 
> 
> import mraa
> import time
> 
> try:
> print (mraa.getVersion())
> except:
> print("no mraa available")
> 
> # Refer to the pin-out digram for the GPIO number to silk print mapping
> # in this example the number 44 maps to Wi-Fi LED.
> pin = mraa.Gpio(2)
> pin.dir(mraa.DIR_OUT)
> while True:
> pin.write(1)
> time.sleep(1)
> pin.write(0)
> time.sleep(1)
> 
> - and executed:
> root@OpenWrt:~# python3 mraa-test-simple.py 
> v2.0.0
> Traceback (most recent call last):
>   File "mraa-test-simple.py", line 11, in 
> pin = mraa.Gpio(2)
>   File "/usr/lib/python3.7/site-packages/mraa.py", line 391, in __init__
> _mraa.Gpio_swiginit(self, _mraa.new_Gpio(pin, owner, raw))
> ValueError: Invalid GPIO pin specified
> 
> 
> - checked with a LED on pin2 like this if GPIO2 works:
> root@OpenWrt:~# cd /sys/class/gpio/
> root@OpenWrt:/sys/class/gpio# ls
> export  gpiochip0   gpiochip32  gpiochip64  unexport
> root@OpenWrt:/sys/class/gpio# echo 2 > export
> root@OpenWrt:/sys/class/gpio# ls
> export  gpio2   gpiochip0   gpiochip32  gpiochip64  unexport
> root@OpenWrt:/sys/class/gpio# cd gpio2
> root@OpenWrt:/sys/devices/platform/1000.palmbus/1600.gpio/gpiochip0/gpio/gpio2#
>  echo "out" > direction
> root@OpenWrt:/sys/devices/platform/1000.palmbus/1600.gpio/gpiochip0/gpio/gpio2#
>  cat value
> 0
> root@OpenWrt:/sys/devices/platform/1000.palmbus/1600.gpio/gpiochip0/gpio/gpio2#
>  echo 1 > value
> 
> - redone previous step with no changes in error output.
> 
> what am i missing?
> 
> Thanks for comments, Ivan Hörler
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [ramips] Linkit Smart 7688

2019-09-19 Thread Ivan Hörler
Hi
I have problems makeing libmraa working on Linkit Smart 7688.
The installation worked without problems and i tested with a python script. See 
details below:

what i did: 
- Compiled a openWRT 18.6
- opkg update 
- opkg install libmraa
- opkg install python3-light
- opkg install libmraa-python3

- copied this skript to /root: 

import mraa
import time

try:
print (mraa.getVersion())
except:
print("no mraa available")

# Refer to the pin-out digram for the GPIO number to silk print mapping
# in this example the number 44 maps to Wi-Fi LED.
pin = mraa.Gpio(2)
pin.dir(mraa.DIR_OUT)
while True:
pin.write(1)
time.sleep(1)
pin.write(0)
time.sleep(1)

- and executed:
root@OpenWrt:~# python3 mraa-test-simple.py 
v2.0.0
Traceback (most recent call last):
  File "mraa-test-simple.py", line 11, in 
pin = mraa.Gpio(2)
  File "/usr/lib/python3.7/site-packages/mraa.py", line 391, in __init__
_mraa.Gpio_swiginit(self, _mraa.new_Gpio(pin, owner, raw))
ValueError: Invalid GPIO pin specified


- checked with a LED on pin2 like this if GPIO2 works:
root@OpenWrt:~# cd /sys/class/gpio/
root@OpenWrt:/sys/class/gpio# ls
export  gpiochip0   gpiochip32  gpiochip64  unexport
root@OpenWrt:/sys/class/gpio# echo 2 > export
root@OpenWrt:/sys/class/gpio# ls
export  gpio2   gpiochip0   gpiochip32  gpiochip64  unexport
root@OpenWrt:/sys/class/gpio# cd gpio2
root@OpenWrt:/sys/devices/platform/1000.palmbus/1600.gpio/gpiochip0/gpio/gpio2#
 echo "out" > direction
root@OpenWrt:/sys/devices/platform/1000.palmbus/1600.gpio/gpiochip0/gpio/gpio2#
 cat value
0
root@OpenWrt:/sys/devices/platform/1000.palmbus/1600.gpio/gpiochip0/gpio/gpio2#
 echo 1 > value

- redone previous step with no changes in error output.

what am i missing?

Thanks for comments, Ivan Hörler___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [ramips] Linkit Smart 7688

2019-09-16 Thread Ivan Hörler


> Am 15.09.2019 um 22:46 schrieb Daniel Golle :
> 
> Hi Ivan,
> 
> On Sun, Sep 15, 2019 at 09:28:35PM +0200, Ivan Hörler wrote:
>> Hi
>> Now after nowing how to make a PR, im interested to know how you think about 
>> some thaughts of me.
>> 
>> Linkit Smart 7688 has a blast of tools they offer in the original firmware 
>> bild. Compared the one openWRT offers is verry slim.
>> Is that ment to be so or did nobody care until me?
>> 
>> Some of the Tools:
>> 1. Automatic activation as Accesspoint, because the board is ment for IOT 
>> and has no Ethernet port. Right now with the official OpenWRT build can not 
>> be connected to any network without addtional Serial converter.
> 
> This has been a lengthy debate and if at all, then activating wifi
> by default should only be done on devices without any ethernet.
> LinkIt Smart is a devboard and Ethernet may well be attached, but
> there are examples of consumer systems without any Ethernet port
> which are useless unless wifi is enabled by default.
> Most recent debate is here
> https://github.com/openwrt/openwrt/pull/2408 
> 

It looks to me as the Devolo Magic 2 Device has Ethernet ports. The Linkit 
Smart 7688 is a bare Development board with no Ethernet socket. The only way to 
configure a openWRT without wifi, is to buy another tool. A serial to usb 
adapter and wire the bins to the RX/TX of the board.
In my eyes its no security risk to enable the accesspoint feature in the same 
way as Mediatek does in the official firmware on a dev-board.
I would also apply the same forced self defined password to the same mac-adress 
based ssid as described in the manual  
 so a user that buy’s that 
device can switch to recent openWRT OS without to read separate doc’s.
proposal:
ssid=LinkIt_Smart_7688-[ending6digid-MAC-address]
could look like:
ssid=LinkIt_Smart_7688-6AYR2N

do you agree in this?

> 
>> 
>> 2. Luci WebGUI
> 
> LuCI is shipped with OpenWrt releases by default, but not in the
> development snapshots.

Good. I noticed that already.
Does Luci already provide a check if a password exists before login?
Mediatek developed a selfmade reduced GUI to force Users to set a Password 
before a Login is possible.
Its made as a Web-form that checks if a password exists and forces the user to 
set a password if none exists.


If not, do you agree to let me develop such forced password seting?

> 
>> 
>> 3. Language: Python with PIP
>> 
>> 4. Language: Node with NPM
>> 
>> 5. mraa from Intel
>> 
>> 6. some upm modules from Intel
>> 
>> What of this list wold be possible to integrate in to a official openWRT 
>> release without scratching rules?
> 
> All those other things are installable using 'opkg' on the running
> system. Or you may use the ImageBuilder to build images with software
> of your choice preinstalled.

I will test this packages after solveing Number 1 & 2.

> 
> 
> Cheers
> 
> 
> Daniel
> 
>> 
>> Regards, Ivan Hörler
>> ___
>> openwrt-devel mailing list
>> openwrt-devel@lists.openwrt.org
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [ramips] Linkit Smart 7688

2019-09-15 Thread Daniel Golle
Hi Ivan,

On Sun, Sep 15, 2019 at 09:28:35PM +0200, Ivan Hörler wrote:
> Hi
> Now after nowing how to make a PR, im interested to know how you think about 
> some thaughts of me.
> 
> Linkit Smart 7688 has a blast of tools they offer in the original firmware 
> bild. Compared the one openWRT offers is verry slim.
> Is that ment to be so or did nobody care until me?
> 
> Some of the Tools:
> 1. Automatic activation as Accesspoint, because the board is ment for IOT and 
> has no Ethernet port. Right now with the official OpenWRT build can not be 
> connected to any network without addtional Serial converter.

This has been a lengthy debate and if at all, then activating wifi
by default should only be done on devices without any ethernet.
LinkIt Smart is a devboard and Ethernet may well be attached, but
there are examples of consumer systems without any Ethernet port
which are useless unless wifi is enabled by default.
Most recent debate is here
https://github.com/openwrt/openwrt/pull/2408

> 
> 2. Luci WebGUI

LuCI is shipped with OpenWrt releases by default, but not in the
development snapshots.

> 
> 3. Language: Python with PIP
> 
> 4. Language: Node with NPM
> 
> 5. mraa from Intel
> 
> 6. some upm modules from Intel
> 
> What of this list wold be possible to integrate in to a official openWRT 
> release without scratching rules?

All those other things are installable using 'opkg' on the running
system. Or you may use the ImageBuilder to build images with software
of your choice preinstalled.


Cheers


Daniel

> 
> Regards, Ivan Hörler
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [ramips] Linkit Smart 7688

2019-09-15 Thread Ivan Hörler
Hi
Now after nowing how to make a PR, im interested to know how you think about 
some thaughts of me.

Linkit Smart 7688 has a blast of tools they offer in the original firmware 
bild. Compared the one openWRT offers is verry slim.
Is that ment to be so or did nobody care until me?

Some of the Tools:
1. Automatic activation as Accesspoint, because the board is ment for IOT and 
has no Ethernet port. Right now with the official OpenWRT build can not be 
connected to any network without addtional Serial converter.

2. Luci WebGUI

3. Language: Python with PIP

4. Language: Node with NPM

5. mraa from Intel

6. some upm modules from Intel

What of this list wold be possible to integrate in to a official openWRT 
release without scratching rules?

Regards, Ivan Hörler
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [ramips] Linkit Smart 7688 kmod-sdhci-mt7620

2019-09-15 Thread Ivan Hörler
again from not DMARC rejected google account. see below. thanks

> Am 15.09.2019 um 12:57 schrieb Ivan Hörler via openwrt-devel 
> :
> 
> The sender domain has a DMARC Reject/Quarantine policy which disallows
> sending mailing list messages using the original "From" header.
> 
> To mitigate this problem, the original message has been wrapped
> automatically by the mailing list software.
> Von: Ivan Hörler 
> Betreff: [OpenWrt-Devel] [ramips] Linkit Smart 7688 kmod-sdhci-mt7620
> Datum: 15. September 2019 um 12:57:33 MESZ
> An: Adrian Schmutzler 
> Kopie: openwrt-devel@lists.openwrt.org
> 
> 
> Hi Adrian
> So i did: https://github.com/openwrt/openwrt/pull/2411 
> <https://github.com/openwrt/openwrt/pull/2411>
> Thanks for the help!
> Ivan
> 
>> Am 14.09.2019 um 22:18 schrieb Adrian Schmutzler > <mailto:notificati...@github.com>>:
>> 
>> Hi, thanks for implementing my suggestions. However, please do not open a 
>> new PR when doing changes, but rebase your commits in the existing branch in 
>> the future, so discussion etc. is kept.
>> 
>> For this PR, I would like you to address the following minor issues:
>> 
>> You are changing only Linkit Smart 7688, but your commit title does not 
>> express that. Maybe choose something more specific like
>> "ramips: add SD-Card support to Linkit Smart 7688"
>> In the commit description, please remove the reference to 18.06. Your commit 
>> will be applied to master, and then might be backported to older stable 
>> branches, so the reference to 18.06 is wrong in this case. Just state that 
>> the SD-Card reader is not working ATM.
>> —
>> You are receiving this because you authored the thread.
>> Reply to this email directly, view it on GitHub 
>> <https://github.com/openwrt/openwrt/pull/2411?email_source=notifications_token=ABOOK6AQOMK3SJDOVHP3RYLQJVBIBA5CNFSM4IWXLNB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6XDHMY#issuecomment-531510195>,
>>  or mute the thread 
>> <https://github.com/notifications/unsubscribe-auth/ABOOK6G5BUMN6F2ZTLJ2OPLQJVBIBANCNFSM4IWXLNBQ>.
>> 
> 
> 
> 
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [ramips] Linkit Smart 7688 kmod-sdhci-mt7620

2019-09-15 Thread Ivan Hörler via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.

To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.--- Begin Message ---
Hi Adrian
So i did: https://github.com/openwrt/openwrt/pull/2411
Thanks for the help!
Ivan

> Am 14.09.2019 um 22:18 schrieb Adrian Schmutzler :
> 
> Hi, thanks for implementing my suggestions. However, please do not open a new 
> PR when doing changes, but rebase your commits in the existing branch in the 
> future, so discussion etc. is kept.
> 
> For this PR, I would like you to address the following minor issues:
> 
> You are changing only Linkit Smart 7688, but your commit title does not 
> express that. Maybe choose something more specific like
> "ramips: add SD-Card support to Linkit Smart 7688"
> In the commit description, please remove the reference to 18.06. Your commit 
> will be applied to master, and then might be backported to older stable 
> branches, so the reference to 18.06 is wrong in this case. Just state that 
> the SD-Card reader is not working ATM.
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub 
> ,
>  or mute the thread 
> .
> 

--- End Message ---
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [ramips] Linkit Smart 7688 kmod-sdhci-mt7620

2019-09-14 Thread Ivan Hörler
Hi Adrian
Thanks for your patientness. Wasn’t aware it's so strict. I just added the 
--signedoff to the commit.
Good to know how to work clean. Now i redone it. 
Is this fullfilling openWRT’s rules? 
https://github.com/openwrt/openwrt/pull/2411
Regards, Ivan 

> Am 14.09.2019 um 16:27 schrieb Adrian Schmutzler :
> 
> Hi, if you haven't yet, please have a look at 
> https://openwrt.org/submitting-patches 
> 
> Specifically, please
> 
> remove the two commits adding and removing the "wrong" version, so that only 
> the correct commit survives (e.g. with git rebase -i @~3)
> add a "ramips: " prefix to your commit titles
> Your Signed-off-by has to contain a real name
> add a commit message describing what you change and why
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub 
> ,
>  or mute the thread 
> .
> 

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [ramips] Linkit Smart 7688 kmod-sdhci-mt7620

2019-09-14 Thread Ivan Hörler
Hi
so i did: https://github.com/openwrt/openwrt/pull/2410
Thanks for comments if its done wright or not. It’s my first.
Regards, Ivan Hörler

> Am 13.09.2019 um 22:41 schrieb Adrian Schmutzler :
> 
> Hi,
> 
>> -Original Message-
>> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On 
>> Behalf Of Ivan Hörler
>> Sent: Freitag, 13. September 2019 22:32
>> To: openwrt-devel@lists.openwrt.org
>> Subject: [OpenWrt-Devel] [ramips] Linkit Smart 7688 kmod-sdhci-mt7620
>> 
>> Hi
>> I have a question about how openwrt handles packages needed by a target.
>> The Linkit Smart 7688 has a SD-Card reader that does not work with the 
>> official build of openwrt 18.06.
>> Adding  kmod-sdhci-mt7620 makes it working.
>> I think it would be nice to get a fully working device when updateing with 
>> the official build. Right?
>> 
>> So i had a look in to the files and found
>> openwrt/target/linux/ramips/mt76x8/target.mk
>> and
>> openwrt/target/linux/ramips/mt76x8/profiles/00-default.mk
>> where some packages are defined.
> 
> this sounds like a device-specific change to me.
> 
> To add packages for specific devices, you would normally add it to the 
> DEVICE_PACKAGES variable in the corresponding device node located in 
> target/linux/ramips/image/mt76x8.mk (for your subtarget).
> 
> If this proves to be working, please send a patch to this list or open a Pull 
> Request in GitHub to share your improvement!
> 
> Best
> 
> Adrian
> ___
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [ramips] Linkit Smart 7688 kmod-sdhci-mt7620

2019-09-13 Thread Adrian Schmutzler
Hi,

> -Original Message-
> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On 
> Behalf Of Ivan Hörler
> Sent: Freitag, 13. September 2019 22:32
> To: openwrt-devel@lists.openwrt.org
> Subject: [OpenWrt-Devel] [ramips] Linkit Smart 7688 kmod-sdhci-mt7620
> 
> Hi
> I have a question about how openwrt handles packages needed by a target.
> The Linkit Smart 7688 has a SD-Card reader that does not work with the 
> official build of openwrt 18.06.
> Adding  kmod-sdhci-mt7620 makes it working.
> I think it would be nice to get a fully working device when updateing with 
> the official build. Right?
> 
> So i had a look in to the files and found
> openwrt/target/linux/ramips/mt76x8/target.mk
> and
> openwrt/target/linux/ramips/mt76x8/profiles/00-default.mk
> where some packages are defined.

this sounds like a device-specific change to me.

To add packages for specific devices, you would normally add it to the 
DEVICE_PACKAGES variable in the corresponding device node located in 
target/linux/ramips/image/mt76x8.mk (for your subtarget).

If this proves to be working, please send a patch to this list or open a Pull 
Request in GitHub to share your improvement!

Best

Adrian


openpgp-digital-signature.asc
Description: PGP signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [ramips] Linkit Smart 7688 kmod-sdhci-mt7620

2019-09-13 Thread Ivan Hörler
Hi
I have a question about how openwrt handles packages needed by a target.
The Linkit Smart 7688 has a SD-Card reader that does not work with the official 
build of openwrt 18.06.
Adding  kmod-sdhci-mt7620 makes it working. 
I think it would be nice to get a fully working device when updateing with the 
official build. Right?

So i had a look in to the files and found 
openwrt/target/linux/ramips/mt76x8/target.mk 
and 
openwrt/target/linux/ramips/mt76x8/profiles/00-default.mk 
where some packages are defined.

Is one the right place and which path is the right one to define a Hardware 
dependency?
Thanks. 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [ramips] Linkit Smart 7688 kmod-sdhci-mt7620

2019-09-13 Thread Ivan Hörler via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.

To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.--- Begin Message ---
Hi
I have a question about how openwrt handles packages needed by a target.
The Linkit Smart 7688 has a SD-Card reader that does not work with the official 
build of openwrt 18.06.
Adding  kmod-sdhci-mt7620 makes it working. 
I think it would be nice to get a fully working device when updateing with the 
official build. Right?

So i had a look in to the files and found 
openwrt/target/linux/ramips/mt76x8/target.mk 
and 
openwrt/target/linux/ramips/mt76x8/profiles/00-default.mk 
where some packages are defined.

Is one the right place and which path is the right one to define a Hardware 
dependency?
Thanks. 
--- End Message ---
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel