Re: [beagleboard] Re: PWM problem

2018-09-25 Thread Krzysztof Śmiałek
Ok, for me it is not important to flash emmc. I can use system from card.
And I want use this method. So, what should I do step  by step? For this
momet I have got old version on the emmc and ne we on sd card. If i remove
card, BBB boot from emmc. If I insert card, BBB boot from sd card. But when
I am using system form card there is problem with this PWM by adafruit in
python. When I use this comand: sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M
count=100 after rebooting BBB dont get up. All leds are off. With card,
without don't matter. BBB is off.

wt., 25 wrz 2018, 17:27 użytkownik Robert Nelson 
napisał:

> > *   I don't know enough about the flashing process to know if it is
> done on
> > a "by file" basis, or is done "by block". If the former, getting the used
> > space of the SD card down to around 1.5-1.8GB might be sufficient; if it
> is
> > by blocks, you'd have to somehow compress the SD card free space and
> shrink
> > the partition...
> > Perhaps Mr. Nelson could chime in on this part of the mysterious
> BBB
> > flashing process?
>
> So it's just rsync that copes files, so when it error's out, it really
> just error's out from lack of space..
>
> One option, for the 2GB eMMC that I've slightly played with but
> haven't tested in a flashing situation... Btrfs with compression..
>
> With BTFS with lzo, cut down the iot image from 3.3G to 1.6-ishG...
> Well somewhere around there, it's been a few months..
>
> Regards,
>
> --
> Robert Nelson
> https://rcn-ee.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/topic/beagleboard/VVhdRE72JFE/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/CAOCHtYggtFGmyvt3euvo7QLUtfJj7PffCtf9t%3DXA5%2B7twAvqQA%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/CAK-qOpDGWWqHSHh11paXtPOSWC%3DSEkDDyrQSYp6EoRSQNnFUQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] PWM problem

2018-09-25 Thread Krzysztof Śmiałek
Ok, for now I have flashed board with Debian 7.5 (BeagleBone Black - 2GB
eMMC) 2014-05-14
<https://debian.beagleboard.org/images/BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz>
Than I remove card from BBB and install on the card: Debian 9.5 2018-08-30 4GB
SD IoT
<https://debian.beagleboard.org/images/bone-debian-9.5-iot-armhf-2018-08-30-4gb.img.xz>
Flashing this distro probably will not be possible because of little space
od eMMc. (I have tried it before)

Ond the SD card I need to change name of file to "uEnv.txt" to update the
bootloader and after that I can use the newest distro. But what I need to
do now to can use a PWM? If I use now: sudo dd if=/dev/zero of=/dev/mmcblk1
bs=1M count=100
The BBB will not get up. Need I make another changes in files on SD or emmc?
I am very newbie in BBB and now I am little confused :)
So tell me please step by step what should I do :)
Thanks!

wt., 25 wrz 2018 o 08:36 Krzysztof Śmiałek 
napisał(a):

> Ok,
> so first of all I need to run the BBB from emmc? So I need reflash this
> bootloader, yes?
> After that I need download new version of image from side, load on sd card
> and now using: sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=100
> shoudl help?
> Or I need making another changes in different place of code? Because now
> I am little confused.
> KS
>
> wt., 25 wrz 2018 o 00:09 Robert Nelson 
> napisał(a):
>
>> On Mon, Sep 24, 2018 at 3:55 PM Krzysztof Śmiałek
>>  wrote:
>> >
>>
>> Okay the reporting is fixed:
>>
>> bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot
>> 2018.09-2-g0b54a51eee]:[location: dd MBR]
>> bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot
>> 2014.04-00014-g47880f5]:[location: fatfs /boot/uboot/MLO]
>>
>> > Ok, so what should I do? Reflash emmc to old one once again? When I was
>> testing yesterday after reflashing the pwm was working on this old soft but
>> probably it will be better if i can use new version of soft.
>>
>> It's up to you.. but i'd just run:
>>
>> sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=100
>>
>> and utilze the new microSD image.
>>
>> 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/CAK-qOpA7BSh2Uyq%2B8i5_-Z2aMYjJZpBh5i-VZUHbXZmyNYDS%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] PWM problem

2018-09-25 Thread Krzysztof Śmiałek
Ok,
so first of all I need to run the BBB from emmc? So I need reflash this
bootloader, yes?
After that I need download new version of image from side, load on sd card
and now using: sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=100 shoudl
help?
Or I need making another changes in different place of code? Because now I
am little confused.
KS

wt., 25 wrz 2018 o 00:09 Robert Nelson  napisał(a):

> On Mon, Sep 24, 2018 at 3:55 PM Krzysztof Śmiałek
>  wrote:
> >
>
> Okay the reporting is fixed:
>
> bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot
> 2018.09-2-g0b54a51eee]:[location: dd MBR]
> bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot
> 2014.04-00014-g47880f5]:[location: fatfs /boot/uboot/MLO]
>
> > Ok, so what should I do? Reflash emmc to old one once again? When I was
> testing yesterday after reflashing the pwm was working on this old soft but
> probably it will be better if i can use new version of soft.
>
> It's up to you.. but i'd just run:
>
> sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=100
>
> and utilze the new microSD image.
>
> 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/CAK-qOpCsku9QWn5BsdiCiH3bnjTaQtbxGGN1S%2B9z4bNMfi3qUw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] PWM problem

2018-09-24 Thread Krzysztof Śmiałek
Ok, so what should I do? Reflash emmc to old one once again? When I was
testing yesterday after reflashing the pwm was working on this old soft but
probably it will be better if i can use new version of soft.

24.09.2018 10:48 PM "Robert Nelson"  napisał(a):

On Mon, Sep 24, 2018 at 3:44 PM Krzysztof Śmiałek
 wrote:
>
> I used this and BBB don't want to boot after reboot;/ so the same
situation like yesterday with this comand. Without card the same. Pressing
boot buton didnt help. Hmm...
>
> pon., 24 wrz 2018 o 22:37 Krzysztof Śmiałek <
krzysztof.jan.smia...@gmail.com> napisał(a):
>>
>> Hi,
>> on the eMMc I have installed this one:
>>
https://debian.beagleboard.org/images/BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz
>> Becouse I didn't find any newer for 2gb version. It will be easy to come
bac this changes? :)
>> sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=100

Thanks, flashing and old A5A now..


>>
>> Becouse when I last time use it I need to reflash board ;P


Yeah, if it's from 2014, there's a good chance it won't auto boot the
microSD, just too old of a version of u-boot..

Yes, there is a limited number of images that will fit in the 2GB
eMMC..  Best bet is just the console one, or just use a big microSD
card.


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


Re: [beagleboard] PWM problem

2018-09-24 Thread Krzysztof Śmiałek
I used this and BBB don't want to boot after reboot;/ so the same situation
like yesterday with this comand. Without card the same. Pressing boot buton
didnt help. Hmm...

pon., 24 wrz 2018 o 22:37 Krzysztof Śmiałek 
napisał(a):

> Hi,
> on the eMMc I have installed this one:
>
> https://debian.beagleboard.org/images/BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz
> Becouse I didn't find any newer for 2gb version. It will be easy to come
> bac this changes? :)
> sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=100
>
> Becouse when I last time use it I need to reflash board ;P
>
>
> pon., 24 wrz 2018 o 22:30 Robert Nelson 
> napisał(a):
>
>> On Mon, Sep 24, 2018 at 3:13 PM Krzysztof Śmiałek
>>  wrote:
>> >
>> > Thanks for reply :)
>> >
>> > I am using rev B with 2GB eMMC. Now I am using the newest version boot
>> from SD card.
>> >
>> >
>> > Info from version.sh:
>> >
>> > debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
>> > [sudo] password for debian:
>> > git:/opt/scripts/:[d837f2b02f44fabe16353fd1226bb1f64e847c93]
>> > eeprom:[A335BNLT00A53002BBBK9610]
>> > model:[TI_AM335x_BeagleBone_Black]
>> > dogtag:[BeagleBoard.org Debian Image 2018-06-17]
>> > bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot
>> 2018.03-2-gac9cce7c6a]:[location: dd MBR]
>>
>> Humm, looks like i need fix my logic, it didn't find the MLO file in p1:
>>
>> [1.348526] mmcblk1: mmc1:0001 MMC02G 1.79 GiB
>> [1.348957] mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB
>> [1.349358] mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB
>> [1.349736] mmcblk1rpmb: mmc1:0001 MMC02G partition 3 128 KiB
>> [1.351791]  mmcblk1: p1 p2
>>
>> But otherwise, this 'should' fix it..
>>
>> sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=100
>>
>> and reboot..
>>
>> Background, we moved overlays from the kernel to u-boot, thus a
>> "recent" u-boot must be present for this to work properly, in your
>> case, you have an old version of u-boot, we couldn't even detect..
>>
>> Do you remember what version was installed the eMMC?  Then i can work
>> on patching my version.sh script..
>>
>> 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/CAK-qOpBubxi9Djw_N-FLT8b3LLE28H5ZKhwJV0HHpmgE-j8x%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] PWM problem

2018-09-24 Thread Krzysztof Śmiałek
Hi,
on the eMMc I have installed this one:
https://debian.beagleboard.org/images/BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz
Becouse I didn't find any newer for 2gb version. It will be easy to come
bac this changes? :)
sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=100

Becouse when I last time use it I need to reflash board ;P


pon., 24 wrz 2018 o 22:30 Robert Nelson 
napisał(a):

> On Mon, Sep 24, 2018 at 3:13 PM Krzysztof Śmiałek
>  wrote:
> >
> > Thanks for reply :)
> >
> > I am using rev B with 2GB eMMC. Now I am using the newest version boot
> from SD card.
> >
> >
> > Info from version.sh:
> >
> > debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
> > [sudo] password for debian:
> > git:/opt/scripts/:[d837f2b02f44fabe16353fd1226bb1f64e847c93]
> > eeprom:[A335BNLT00A53002BBBK9610]
> > model:[TI_AM335x_BeagleBone_Black]
> > dogtag:[BeagleBoard.org Debian Image 2018-06-17]
> > bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot
> 2018.03-2-gac9cce7c6a]:[location: dd MBR]
>
> Humm, looks like i need fix my logic, it didn't find the MLO file in p1:
>
> [1.348526] mmcblk1: mmc1:0001 MMC02G 1.79 GiB
> [1.348957] mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB
> [1.349358] mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB
> [1.349736] mmcblk1rpmb: mmc1:0001 MMC02G partition 3 128 KiB
> [1.351791]  mmcblk1: p1 p2
>
> But otherwise, this 'should' fix it..
>
> sudo dd if=/dev/zero of=/dev/mmcblk1 bs=1M count=100
>
> and reboot..
>
> Background, we moved overlays from the kernel to u-boot, thus a
> "recent" u-boot must be present for this to work properly, in your
> case, you have an old version of u-boot, we couldn't even detect..
>
> Do you remember what version was installed the eMMC?  Then i can work
> on patching my version.sh script..
>
> 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/CAK-qOpCiDtDGbvtrzTA1pm6Y4s-rEu7h_mua6DQyRr6RDjyLWg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] PWM problem

2018-09-24 Thread Krzysztof Śmiałek
Thanks for reply :)

I am using rev B with 2GB eMMC. Now I am using the newest version boot from
SD card.


Info from version.sh:

debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
[sudo] password for debian:
git:/opt/scripts/:[d837f2b02f44fabe16353fd1226bb1f64e847c93]
eeprom:[A335BNLT00A53002BBBK9610]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Image 2018-06-17]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot
2018.03-2-gac9cce7c6a]:[location: dd MBR]
kernel:[4.14.49-ti-r54]
nodejs:[v6.14.4]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade
]
pkg:[bb-cape-overlays]:[4.4.20180914.0-0rcnee0~stretch+20180914]
pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0~stretch+20180517]
pkg:[kmod]:[23-2rcnee1~stretch+20171005]
pkg:[roboticscape]:[0.4.4-git20180608.0-0rcnee0~stretch+20180609]:[GOT_REPLACED_BY_NEXT]
WARNING:pkg:[librobotcontrol]:[NOT_INSTALLED]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee1~stretch+20180328]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video
plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep
admin spi tisdk weston-launch xenomai]
cmdline:[console=tty0 console=ttyO0,115200n8 root=/dev/mmcblk0p1
rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet]
dmesg | grep pinctrl-single
[1.075942] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size
568
dmesg | grep gpio-of-helper
[1.077153] gpio-of-helper ocp:cape-universal: ready
END

THX,
KS


pon., 24 wrz 2018 o 21:36 Robert Nelson 
napisał(a):

> On Mon, Sep 24, 2018 at 2:23 PM  wrote:
> >
> > Hello,
> > I want to use PWM pins by Adafruit in my BBB but I have got some
> problems. Below some info about my soft:
> >
> >
> > root@beaglebone:~# cat /etc/dogtag
> > BeagleBoard.org Debian Image 2018-06-17
> > root@beaglebone:~# cat /etc/debian_version
> > 9.5
> > root@beaglebone:~# uname -a
> > Linux beaglebone 4.14.49-ti-r54 #1 SMP PREEMPT Fri Jun 15 22:14:13 UTC
> 2018 armv7l GNU/Linux
> > root@beaglebone:~# pip install Adafruit_BBIO
> > Requirement already satisfied: Adafruit_BBIO in
> /usr/local/lib/python2.7/dist-packages/Adafruit_BBIO-1.0.10-py2.7-linux-armv7l.egg
>
> This is actually pre-installed. ;)
>
> > root@beaglebone:~# cat /sys/devices/platform/bone_capemgr/slots
> >  0: PF  -1
> >  1: PF  -1
> >  2: PF  -1
> >  3: PF  -1
>
> You have an old version of u-boot in the eMMC:
>
> Please run this script to help verify where it's located so we can remove
> it..
>
> 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/CAK-qOpDkts6Pk_ZckBNdGUSA6QT%2BXKRQFO3kvZkrVt0u%3Dw0vOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] New version soft for BBB Rev B?

2018-09-08 Thread Krzysztof Śmiałek
Hello,
I got a BBB Rev B and when I wanted to switch it on, the BBB did't start. 
Probably someone did something with this BBB. I wanted to restore soft. So, 
I go to the http://beagleboard.org/latest-images website and there isn't 
any new soft for this board (there is 2gb space on emmc) The last versoin 
is 
https://debian.beagleboard.org/images/BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz
 
I have installed this one and it started working, so I thing it is good 
steep. But I have problem with internet connection. I have tried a many 
things to connet this board to internet (I have got a router with dhcp but 
BBB don't get IP from this box. When I write ifconfig there is not a line 
"inet  addr") I read on the net that maybe upgrade a soft in BBB could help 
with this. 
 I ve tried to connect BBB via USB to the Internet and try update but I got 
a 

"
Err http://ftp.us.debian.org wheezy 
Release.gpg
  Something wicked happened resolving 'ftp.us.debian.org:http' (-5 - No 
address associated with hostname)
Err http://security.debian.org wheezy/updates 
Release.gpg  
  Something wicked happened resolving 'security.debian.org:http' (-5 - No 
address associated with hostname)
Err http://debian.beagleboard.org wheezy-bbb 
Release.gpg 
  Something wicked happened resolving 'debian.beagleboard.org:http' (-5 - 
No address associated with hostname)
Err http://ftp.us.debian.org wheezy-updates 
Release.gpg
  Something wicked happened resolving 'ftp.us.debian.org:http' (-5 - No 
address associated with hostname)
"
What can I do to update a soft? Can I use a 4gb soft version bootet from SD 
(without flashing)?
BR 
KS

-- 
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/4a90a30b-6f45-4aae-964c-794ac19146f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.