[beagleboard] How to shrink SD card image?

2018-01-01 Thread not you
After making an SD card following the guide on eeWiki, I make an image of 
it with Win32 Disk Imager using its Read feature.  The problem is it image 
everything even the unused space.  I found a guide to shrink the image 
here: 

http://www.berriman.co.uk/bbb-mount-and-shrink-a-disk-image/.

However, the configuration shown on my image is totally different from that 
one:

abc.img: DOS/MBR boot sector; partition 1 : ID=0x83, active, start-CHS 
(0x80,0,1), end-CHS (0x3cf,3,16), startsector 8192, 62510080 sectors

Can someone please show me how to shrink my image?

-- 
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/977a12ab-cdde-41ab-ae64-8253d8ecfb4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Boot from SD card, what image to use?

2018-01-01 Thread not you

>
> Don't use Win32 Disk Imager, grab: 
>
> https://etcher.io/ 
>

I got Etcher, and it can read img.xz.  However, the speed is slower (by 
half from what I see) compared to unpacking to an img file, then use it.  
Considering the img file will be used over and over again, this seems worth 
it.

On the other hand, Win32 Disk Imager can be used to image the SD card 
content to be unpacked to another one later.  I wish not to go through the 
exercise on eewiki, so I am imaging the newly prepped SD card to an img 
file.  Will have to see if this prepped SD card is bootable, then I will 
use the img to clone other cards.

Speedwise, Win32 Disk Imager write an image at ~27MB/s whereas Etcher gives 
~9.5MB/s.  After the write, Etcher has a validating steps which runs at 
~31MB/s.  The SD card is a Samsung Evo (orange one).  The image is 
'bone-debian-9.3-lxqt-2gb-armhf-2017-12-24-2gb', and an SD card slot is use 
for the task.

Etcher has a nice and simple interfaces, and is open source.  However, 
Win32 Disk Imager is faster and can image an SD card.  Seems like Etcher 
leaves a lot to be desired.

-- 
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/676954c3-f29a-485c-a2c7-a411fb01f137%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: TI BSP failed to build kernel

2018-01-01 Thread not you
Thank you.   It now builds.

-- 
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/1e40ce30-ba98-4644-853a-fa5e1d6d9ff0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Boot from SD card, what image to use?

2018-01-01 Thread not you

>
> > 2. Renaming MLO (option 2, as per this guide: 
>
> http://www.erdahl.io/2016/12/beaglebone-black-booting-from-sd-by.html) 
> gets 
> > BBB to boot off the SD card.  Then, it attempts to reflash the eMMC, and 
> > gets stuck at 'Setting LEDs to.'  Not sure how I can fix this problem. 
>
> That's not the problem. ;) 
>
---> I suppose the 'sync' command cause the MLO to be renamed in the SD 
card and causes the problem?  I reflash the SD card and the eMMC can be 
reflashed as normal.
 

> > 1. Are the problems I encounter in methods 1 and 2 are because the 
> > bone-debian- images being flashing images, and not meant to create 
> > bootable SD cards? 
>
> They are meant to be bootable 

---> I unpacked the image from a bone-debian- image with Etcher, and 
plug into a BBB.  It did not boot from the SD card.  I suppose 
 

>  
>
> 2. I previously tried flashing with bone-debian- images and they did 
> not 
> > work.  Any idea on this? 
>
> Show us your serial boot log... 
>
---> How do I retrieve this boot log?
 

-- 
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/50d1c933-e2f6-424b-8503-95850cddabfd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Use analogue inputs with 5 or 10 V signal

2018-01-01 Thread Mike Maikaefer
Great, thanks to all :-)

On Wed, Dec 27, 2017 at 2:35 AM, Adam Saenz  wrote:

> That circuit will work.  Yes on connecting external ground to GNDA, that
> will give you a common reference.  Those resistor values will allow the ADC
> to see about 1.78V when the input voltage is 5V, looks like a good place to
> start.  As far as resistor values (1k, 1.8k vs 10k, 18k), I'd go with the
> 1k, 1.8k pair as long as your source circuit can handle sourcing a 2.8k
> load (1.7mA max).  If it can't then I'd consider something that gives you a
> total resistance of 5-6k.  The 10k/18k pair gives you 28k total, should be
> ok but I've had ADCs have trouble working when resistances approach 100k.
>
> Someone mentioned using op amps which is a good choice, as is using an
> anti-aliasing filter but since this is a noob type question I figured
> starting simpler is a better choice.  You can improve you analog circuit if
> you discover your application needs to minimize noise, or is sensitive to
> load, etc.  Start simple though.
>
> Adam
>
> On Tue, Dec 26, 2017 at 10:58 AM, Dennis Lee Bieber  > wrote:
>
>> On Tue, 26 Dec 2017 10:40:54 -0800 (PST),
>> mike.maikae...@gmail.com declaimed the
>> following:
>>
>> >
>> >
>> >So it could look like this!? External ground is directly connected to
>> GNDA
>> >and the relation between the resistors is equal to the relation of the
>> >voltages to apply at each!? How about the exact resistor values - 18 kOhm
>> >and 10 kOhm would be the same from relation, but which one should I use
>> >really? Thanks :-)
>> >
>>
>> How much current flow can you accept? Consider, without the
>> resistors
>> you basically have a direct short from the input voltage source to ground.
>> Small value resistors will let a lot more current pass. You likely need to
>> balance between not having too much current flowing through the divider
>> and
>> having so little current flowing that the ADC can't sense the voltage...
>>
>> --
>> Wulfraed Dennis Lee Bieber AF6VN
>> wlfr...@ix.netcom.comHTTP://wlfraed.home.netcom.com/
>>
>> --
>> For more options, visit http://beagleboard.org/discuss
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "BeagleBoard" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>> pic/beagleboard/jK1moLhBsHc/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> beagleboard+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/beagleboard/el654d1r4scdqhe8dd4fnge0404dp79n32%404ax.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/beagleboard/jK1moLhBsHc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beagleboard/CAJL9%2B4%2B9mSCOGwwu1KUmpE_LGLd9f%2B52-
> DkUWc41kbUptpUiCw%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAG%3DKTckz8uXdpC%2BE%3DXPODSvxJDVxeHQdaoS5x5EhTesqQh1nWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Boot from SD card, what image to use?

2018-01-01 Thread Robert Nelson
On Mon, Jan 1, 2018 at 8:42 PM, not you  wrote:
> I have been using Win32 Disk Imager to flash the SD card with
> BBB-blank-debian- images.  Then, I insert the SD card, hold the S2
> button and plug in the power cord (until the LED's start flashing).  This
> flashes BBB and gives me a fresh BBB ran from eMMC.
> Now, I want to boot BBB from SD card, and I have tried various methods to no
> avail.


Don't use Win32 Disk Imager, grab:

https://etcher.io/

>
> Methods:
> 1. Renaming bbb-uEnv.txt on eMMC and/or the SD card to uEnv.txt then reboot
> with SD card plugged in does boot from SD card.  However, it keeps
> reflashing the eMMC and does not run off the SD card as desired.

Don't use that file, it's not for that.

> 2. Renaming MLO (option 2, as per this guide:
> http://www.erdahl.io/2016/12/beaglebone-black-booting-from-sd-by.html) gets
> BBB to boot off the SD card.  Then, it attempts to reflash the eMMC, and
> gets stuck at 'Setting LEDs to.'  Not sure how I can fix this problem.

That's not the problem. ;)

>
> 3. Following eewiki guide
> (https://eewiki.net/display/linuxonarm/BeagleBone+Black) previously got me a
> BBB running on SD card.  However, it is a minimalist debian
> (debian-9.3-minimal-armhf-2017-12-09.tar.xz), and not one with GUI.  I am
> trying to redo that
> with debian-9.3-lxqt-2gb-armhf-2017-12-24.tar.xz, but I need to rebuild
> everything again, as TI BSP for 4.9 real-time kernel broke and just got
> fixed hours ago.  (As per
> https://groups.google.com/forum/#!searchin/beagleboard/%22not$20you%22%7Csort:date/beagleboard/puF5-A3hp44/TbN7HYNyBQAJ)
>
> Questions:
> 1. Are the problems I encounter in methods 1 and 2 are because the
> bone-debian- images being flashing images, and not meant to create
> bootable SD cards?

They are meant to be bootable

> 2. I previously tried flashing with bone-debian- images and they did not
> work.  Any idea on this?

Show us your serial boot log...

>
> 3. How can  I fix problem in method 2 above?
>
> 4. Is there any image on http://rcn-ee.net that can be used to create a
> readily bootable SD card the way the BBB-blank-debian- images are
> flashed with Win32 Disk Imager?  It seems to be the easiest way but not sure
> why it is not done.

"if" only the blank ones boot, we might have a bigger issue, please run:

sudo /opt/scripts/tools/version.sh

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/CAOCHtYi6_oyc6K6LqDOzby8dYt6p2DzV77efx48XH%3DnwDHfnEg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Boot from SD card, what image to use?

2018-01-01 Thread not you
I have been using Win32 Disk Imager to flash the SD card with 
BBB-blank-debian- images.  Then, I insert the SD card, hold the S2 
button and plug in the power cord (until the LED's start flashing).  This 
flashes BBB and gives me a fresh BBB ran from eMMC.
Now, I want to boot BBB from SD card, and I have tried various methods to 
no avail.

Methods:
1. Renaming bbb-uEnv.txt on eMMC and/or the SD card to uEnv.txt then reboot 
with SD card plugged in does boot from SD card.  However, it keeps 
reflashing the eMMC and does not run off the SD card as desired.  

2. Renaming MLO (option 2, as per this 
guide: http://www.erdahl.io/2016/12/beaglebone-black-booting-from-sd-by.html) 
gets BBB to boot off the SD card.  Then, it attempts to reflash the eMMC, 
and gets stuck at 'Setting LEDs to.'  Not sure how I can fix this problem.

3. Following eewiki guide 
(https://eewiki.net/display/linuxonarm/BeagleBone+Black) previously got me 
a BBB running on SD card.  However, it is a minimalist debian (
debian-9.3-minimal-armhf-2017-12-09.tar.xz), and not one with GUI.  I am 
trying to redo that
with debian-9.3-lxqt-2gb-armhf-2017-12-24.tar.xz, but I need to rebuild 
everything again, as TI BSP for 4.9 real-time kernel broke and just got 
fixed hours ago.  (As per 
https://groups.google.com/forum/#!searchin/beagleboard/%22not$20you%22%7Csort:date/beagleboard/puF5-A3hp44/TbN7HYNyBQAJ)

Questions:
1. Are the problems I encounter in methods 1 and 2 are because the 
bone-debian- images being flashing images, and not meant to create 
bootable SD cards?  

2. I previously tried flashing with bone-debian- images and they did 
not work.  Any idea on this?

3. How can  I fix problem in method 2 above?

4. Is there any image on http://rcn-ee.net that can be used to create a 
readily bootable SD card the way the BBB-blank-debian- images are 
flashed with Win32 Disk Imager?  It seems to be the easiest way but not 
sure why it is not done.

Thank you.

-- 
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/7983166f-9533-402d-b7fe-ed4a42406803%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: TI BSP failed to build kernel

2018-01-01 Thread Robert Nelson
On Mon, Jan 1, 2018 at 8:07 PM, not you  wrote:
> So do I still use this git checkout origin/ti-linux-rt-4.9.y -b tmp or do  I
> need to do something else?  What do I need to do about the tagging
> procedure?  Pardon my ignorance.  I am new to Linux and know little about
> git.  Your help has been really speedy by the way.

git pull

should do it..

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/CAOCHtYh4N2psYhi3L9LSK%2BR9z4wp2LBPKidvstCJHhq%3DXv7R_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: TI BSP failed to build kernel

2018-01-01 Thread not you
So do I still use this git checkout origin/ti-linux-rt-4.9.y -b tmp or do  
I need to do something else?  What do I need to do about the tagging 
procedure?  Pardon my ignorance.  I am new to Linux and know little about 
git.  Your help has been really speedy by the way.

-- 
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/9a2c1b39-6079-42b4-a58f-9e7907746e25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: TI BSP failed to build kernel

2018-01-01 Thread Robert Nelson
On Mon, Jan 1, 2018 at 5:41 PM, Robert Nelson  wrote:
> On Mon, Jan 1, 2018 at 5:30 PM, not you  wrote:
>> So is there a way to fix it?
>
> Hang onto your shorts, I'm working on it, just got home after a 4 hour 
> drive...

tested fix is pushed out:

https://github.com/RobertCNelson/ti-linux-kernel-dev/commit/c43db194203192c833551757460882b9915c3c52

starting the tagging procedure..

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/CAOCHtYg0%3DBSTBFvyY6tNNyttkEFqRzB%2Bu6WjhL%3DeXyVh55XZxw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: TI BSP failed to build kernel

2018-01-01 Thread Robert Nelson
On Mon, Jan 1, 2018 at 5:30 PM, not you  wrote:
> So is there a way to fix it?

Hang onto your shorts, I'm working on it, just got home after a 4 hour drive...

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/CAOCHtYj9R%3D2Nqko6_Lnm1c%2BQ%3Ds76xNC53XiDy12YEwjcKNh7%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: u-boot failed to build

2018-01-01 Thread not you
Well, I decide to delete the u-boot folder, and redo everything.  Now it 
works.

-- 
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/1408d303-4d63-4cfa-a71f-eb370a1bfd3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: TI BSP failed to build kernel

2018-01-01 Thread not you
So is there a way to fix it?

-- 
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/ccbeac1c-27ec-4774-8b74-6ee05ff6472d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] List of accessories

2018-01-01 Thread Matthijs ter Woord
Hi!

I'm interested in the X15, but I cannot find a list of "known good" 
accessories for the X15. 

Specifics I'm looking for are :
- breakout boards/cables for the expansion headers


Also, I have a hard time finding the pin-outs for the expansion headers..

Thanks!

With kind regards,
Matthijs ter Woord

-- 
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/5e9974d2-aca2-475b-af24-81c8b2de57ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Debian Testing (2017-04-30) U-Boot Overlays are now enabled by Default

2018-01-01 Thread Robert Nelson
On Dec 31, 2017 9:53 PM, "Samuel Fugarino"  wrote:

Robert,

I really appreciate what you do for the community. However, your answer to
my question was less than helpful. What troubles me is that you have a
better answer, but for some reason you felt you need to marginalize me.
Bottom line, I don't know why in the hell one would turn on uboot overlays
and in the process break bonescript, node-red and who knows what else.

By the way, I can write python if I want, or for that matter c/c++.



Happy New Years!

Please let me know how I can improve my support. But please remember I have
a full time day job, and my wife and I do Foster Care. So I do this only in
my free time.

PS if you let us know where you purchased your board I could help you
more...

Regards,

-- 
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/CAOCHtYhSo0-nqrSXtGcVuR-yZkg%3DV_EaGWrNOTB9Yf0pL%3D38Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] TI BSP failed to build kernel

2018-01-01 Thread Robert Nelson
Yeah I broke it, last minute port from 4.4 before I snuck out for the
holiday.

On Jan 1, 2018 3:22 AM, "not you"  wrote:

> I am following this guide to create an bootable SD card:
> https://eewiki.net/display/linuxonarm/BeagleBone+Black#Beagl
> eBoneBlack-LinuxKernel
>
> I check out this branch:  git checkout origin/ti-linux-rt-4.9.y -b tmp and
> proceed to ./build_kernel.sh
> My terminal throws this error:
> 
> 
> 
> --
> Error: arch/arm/boot/dts/am335x-pocketbeagle-common.dtsi:8.1-9 Error:
> arch/arm/boot/dts/am335x-pocketbeagle-common.dtsi:8.1-9 syntax
> errorsyntax error
>
> FATAL ERROR: FATAL ERROR: Unable to parse input tree
> Unable to parse input tree
> scripts/Makefile.lib:313: recipe for target 
> 'arch/arm/boot/dts/am335x-pocketbeagle-simplegaming.dtb'
> failed
> make[1]: *** [arch/arm/boot/dts/am335x-pocketbeagle-simplegaming.dtb]
> Error 1
> make[1]: *** Waiting for unfinished jobs
> scripts/Makefile.lib:313: recipe for target 
> 'arch/arm/boot/dts/am335x-pocketbeagle.dtb'
> failed
> make[1]: *** [arch/arm/boot/dts/am335x-pocketbeagle.dtb] Error 1
> arch/arm/Makefile:346: recipe for target 'dtbs' failed
> make: *** [dtbs] Error 2
> 
> 
> 
> --
> I have no clue why this is happening.  Please help.
>
> --
> 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/1421da37-9e0a-4e82-89e0-26777dbe3a9c%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAOCHtYjVAyR%3DOhE8nV2Odx%2B8ToXoBYrqR-TSUF6SRfym9NMfZg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: u-boot failed to build

2018-01-01 Thread Jeff Andich

Hi,

Don’t know if this is your issue but...

How are you generating the .config file? When I build u-boot for the X15, I 
typically do a distclean, call another make command to generate the correct 
.config file from the appropriate defconfig  , and then throw the command to 
build u-boot.

-- 
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/3191f159-87b3-41e4-a975-2b460af97a05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: u-boot failed to build

2018-01-01 Thread not you
After removing the u-boot folder and follow the steps again, everything 
works fine.  Any idea how that error is thrown anyways?

-- 
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/fc5e5e6d-7e13-4a17-b6a7-2dfe228ec996%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] u-boot failed to build

2018-01-01 Thread not you
I am following this guide to create an bootable SD card:
https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot

I encounter an error here:  make ARCH=arm CROSS_COMPILE=${CC}
My terminal throws this error:
--
board/ti/am335x/mux.c:131:30: error: redefinition of ‘i2c2_pin_mux’
 static struct module_pin_mux i2c2_pin_mux[] = {
  ^~~~
board/ti/am335x/mux.c:123:30: note: previous definition of ‘i2c2_pin_mux’ 
was here
 static struct module_pin_mux i2c2_pin_mux[] = {
  ^~~~
board/ti/am335x/mux.c:328:6: error: redefinition of ‘enable_i2c2_pin_mux’
 void enable_i2c2_pin_mux(void)
  ^~~
board/ti/am335x/mux.c:323:6: note: previous definition of 
‘enable_i2c2_pin_mux’ was here
 void enable_i2c2_pin_mux(void)
  ^~~
board/ti/am335x/mux.c:123:30: warning: ‘i2c2_pin_mux’ defined but not used 
[-Wunused-variable]
 static struct module_pin_mux i2c2_pin_mux[] = {
  ^~~~
scripts/Makefile.build:280: recipe for target 'spl/board/ti/am335x/mux.o' 
failed
make[2]: *** [spl/board/ti/am335x/mux.o] Error 1
scripts/Makefile.spl:349: recipe for target 'spl/board/ti/am335x' failed
make[1]: *** [spl/board/ti/am335x] Error 2
Makefile:1394: recipe for target 'spl/u-boot-spl' failed
make: *** [spl/u-boot-spl] Error 2
--
I have no clue why this is happening.  Please help.

-- 
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/8cc6d44f-de2e-4635-a276-e768439599df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] TI BSP failed to build kernel

2018-01-01 Thread not you
I am following this guide to create an bootable SD card:
https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-LinuxKernel

I check out this branch:  git checkout origin/ti-linux-rt-4.9.y -b tmp and 
proceed to ./build_kernel.sh
My terminal throws this error:
--
Error: arch/arm/boot/dts/am335x-pocketbeagle-common.dtsi:8.1-9 Error: 
arch/arm/boot/dts/am335x-pocketbeagle-common.dtsi:8.1-9 syntax errorsyntax 
error

FATAL ERROR: FATAL ERROR: Unable to parse input tree
Unable to parse input tree
scripts/Makefile.lib:313: recipe for target 
'arch/arm/boot/dts/am335x-pocketbeagle-simplegaming.dtb' failed
make[1]: *** [arch/arm/boot/dts/am335x-pocketbeagle-simplegaming.dtb] Error 
1
make[1]: *** Waiting for unfinished jobs
scripts/Makefile.lib:313: recipe for target 
'arch/arm/boot/dts/am335x-pocketbeagle.dtb' failed
make[1]: *** [arch/arm/boot/dts/am335x-pocketbeagle.dtb] Error 1
arch/arm/Makefile:346: recipe for target 'dtbs' failed
make: *** [dtbs] Error 2
--
I have no clue why this is happening.  Please help.

-- 
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/1421da37-9e0a-4e82-89e0-26777dbe3a9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Boot from SD card: where is DISK=/dev/sdX?

2018-01-01 Thread not you
Thank you, everyone.  That was helpful.

-- 
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/3224fb6e-9c80-4f54-a4df-9ae4536535c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.