Re: [beagleboard] Re: Query regarding uboot and uEnv.txt

2018-02-23 Thread Hemant Kapoor
I can confirm that the latest image didn't have any issues installing 
kernel headers...


hemant@beaglebone:~$ sudo apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following NEW packages will be installed:
  linux-headers-4.9.78-ti-r94
0 upgraded, 1 newly installed, 0 to remove and 26 not upgraded.
Need to get 10.8 MB of archives.
After this operation, 75.0 MB of additional disk space will be used.
Get:1 http://repos.rcn-ee.com/debian stretch/main armhf 
linux-headers-4.9.78-ti-r94 armhf 1stretch [10.8 MB]
Fetched 10.8 MB in 4s (2,623 kB/s)  
Selecting previously unselected package linux-headers-4.9.78-ti-r94.
(Reading database ... 34488 files and directories currently installed.)
Preparing to unpack .../linux-headers-4.9.78-ti-r94_1stretch_armhf.deb ...
Unpacking linux-headers-4.9.78-ti-r94 (1stretch) ...
Setting up linux-headers-4.9.78-ti-r94 (1stretch) ...


Thanks...

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/1e86f69d-6026-4ffd-98f9-ffe92559789a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Query regarding uboot and uEnv.txt

2018-02-22 Thread Hemant Kapoor
Cheers...

I will try the new image tonight and reply the results back

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/462fbe9f-5c7c-473e-991e-00560b6ec319%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Query regarding uboot and uEnv.txt

2018-02-22 Thread Robert Nelson
On Thu, Feb 22, 2018 at 2:44 PM, Hemant Kapoor  wrote:
>
> hemant@beaglebone:~$ cat /etc/dogtag
> BeagleBoard.org Debian Image 2017-08-31

Okay thanks i'll take a look at what's getting stuck in that one.

ps, new images were posted last month:

https://beagleboard.org/latest-images

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgnHXbVs8NM5Fqw_0hrATXJof8086vHd2qXOFKzUiyhXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Query regarding uboot and uEnv.txt

2018-02-22 Thread Hemant Kapoor

hemant@beaglebone:~$ cat /etc/dogtag 
BeagleBoard.org Debian Image 2017-08-31

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/c56fa050-1f34-4f2f-bfc5-db809f632bb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Query regarding uboot and uEnv.txt

2018-02-22 Thread Robert Nelson
On Thu, Feb 22, 2018 at 2:35 PM, Hemant Kapoor  wrote:
> So following your suggestion
> I hit my first road block :(
>
> hemant@beaglebone:~$ sudo apt-get install linux-headers-`uname -r`
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run 'apt --fix-broken install' to correct these.
> The following packages have unmet dependencies:
>  chromium : Depends: chromium-common (=
> 60.0.3112.78-1rcnee0~stretch+20170806) but
> 61.0.3163.100-2rcnee0~stretch+20170927 is
>  to be installed
> E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or
> specify a solution).

what image is this?

cat /etc/dogtag ?

Regards,


-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYh9Xk1x0%2B-80-Zy6hc4v1nKs-NTSJHDi-9wCpVsmwunxQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Query regarding uboot and uEnv.txt

2018-02-22 Thread Hemant Kapoor
So following your suggestion
I hit my first road block :(

hemant@beaglebone:~$ sudo apt-get install linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree   
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 chromium : Depends: chromium-common (= 60.0.3112.78-1rcnee0~stretch+
20170806) but 61.0.3163.100-2rcnee0~stretch+20170927 is
 to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or 
specify a solution).





Also tried the suggestion and did
sudo apt --fix-broken install
and got below message at the end


Unpacking chromium (63.0.3239.84-1~deb9u1rcnee0~stretch+20171227) over (60.0
.3112.78-1rcnee0~stretch+20170806) .] 
dpkg: error processing archive /var/cache/apt/archives/chromium_63.0.3239.84
-1~deb9u1rcnee0~stretch+20171227_armhf.deb (--un
pack):
 trying to overwrite '/usr/lib/chromium/natives_blob.bin', which is also in 
package chromium-common 61.0.3163.100-2rcnee0~st
retch+20170927
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/chromium_63.0.3239.84-1~deb9u1rcnee0~stretch+
20171227_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/bec344ee-0bf9-45c4-8062-51d881c537af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Query regarding uboot and uEnv.txt

2018-02-22 Thread Robert Nelson
On Thu, Feb 22, 2018 at 2:16 PM, Hemant Kapoor  wrote:
>
>>
>> sudo apt update
>> sudo apt install linux-headers-`uname -r`
>
> HK: Above instructions are for building the modules natively correct... This
> won't help me cross compiling but based on your second response, it is clear
> that module are different in terms of compilation than normal application...
>
> So I will stick with compiling modules natively and think of cross
> compilation later..

Yeap, cross building is a pain, thus we ship everything in the repo so
users can build on target..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYg3hffs%2B4C9%2BXtmAc3ZKcUWoUtUauK%2BN2fVeQjOO8TPhQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Query regarding uboot and uEnv.txt

2018-02-22 Thread Hemant Kapoor


>
> sudo apt update 
> sudo apt install linux-headers-`uname -r` 
>
HK: Above instructions are for building the modules natively correct... 
This won't help me cross compiling but based on your second response, it is 
clear that module are different in terms of compilation than normal 
application...

So I will stick with compiling modules natively and think of cross 
compilation later..

Thanks again...

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/66fcb534-5d20-4759-a8e0-b8d447e2e6c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Query regarding uboot and uEnv.txt

2018-02-22 Thread Robert Nelson
On Thu, Feb 22, 2018 at 1:58 PM, Hemant Kapoor  wrote:
> Cheers Rob for taking time out to reply
>
> I would also like to take this opportunity to thank you for all the help and
> support you are providing to us beginners
> I have solved so many of my queries by seeing your replies in other
> posts
>
> Back to where I was
> The whole point of this exercise was to start teaching myself device driver
> development
> And you are right, I have learned about how the linux distro for embedded
> systems is created
>
> Looks like it will be considerable work required to create a proper distro
> and that is not my target...
>
> So here is the new strategy
> I have downloaded and flash my BBB with latest debian image (Debian 9.3
> 2018-01-28).
>
> If my understanding is correct then to create loadable modules, I need
> kernel headers for this
> Could you be kind enough to guide me as where I can get it for Debian 9.3
> 2018-01-28

sudo apt update
sudo apt install linux-headers-`uname -r`

> Also a pointer on how to cross compile these loadable modules...

Depends on the module.. Every out of tree driver is different...

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgE8%2BFGY34ipu2XPfu99-pg9AA0vb9JgP1E7xy7r%2BbDQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.