Robert
Testing update

I made a clean 08-31-2917 sd card image and bootsd it to see if that
worked as well and it worked running python and the ADC test.
I did the test both in cloud9 and ssh into as debian user.
I made none of the fixes from this thread to the image just booted and
tried the ADC test

So 08-31-2017 image works in flash as stated in my previous post and 
from an sd card with a working 0831-2017 image in eMMC.

So I ask did you apply a fix to the 08-31-2017 image such as the udder rule
mentioned here.
Tom



On Friday, September 1, 2017 at 8:59:33 PM UTC-4, tdlivings wrote:
>
> Robert
>  Turns out what was in flash was dead, would not even boot.
> I may have booted from flash on this board once when I first purchased the 
> board last fall.
> So I have no idea what happened to  flash or when.
> So I downloaded the latest 08/31/2017 IOT image and converted it to a 
> flasher image and
> flashed the eMMC with it.
> It flashed fine and booted, which said at least the eMMC was not defective
>
> I took a look at what was there using a cloud9 terminal as I have not run 
> connman yet
> and tried python Adafruit_BBIO ADC and it worked.
> I did not execute any of the commands to create a new group and change 
> file permissions.
> It just worked out of the box.
>
> Did you make any changes to the 08/31 image from this discussion that 
> would have fixed the issue?
>
> Tomorrow I can try an sd card with a fresh image without the fixed 
> discussed earlier today and see what
> happens with flash having a good image. 
>
> Here is what I did
>
> debian@beaglebone:/var/lib/cloud9$ uname -a
> Linux beaglebone 4.4.84-ti-r120 #1 SMP Sun Aug 27 03:11:07 UTC 2017 armv7l 
> GNU/Linux
> debian@beaglebone:/var/lib/cloud9$ cat /etc/dogtag
> BeagleBoard.org Debian Image 2017-08-31
> debian@beaglebone:/var/lib/cloud9$ df -h
> Filesystem      Size  Used Avail Use% Mounted on
> udev            217M     0  217M   0% /dev
> tmpfs            49M  4.9M   44M  10% /run
> /dev/mmcblk1p1  3.5G  1.6G  1.7G  48% /
> tmpfs           244M     0  244M   0% /dev/shm
> tmpfs           5.0M  4.0K  5.0M   1% /run/lock
> tmpfs           244M     0  244M   0% /sys/fs/cgroup
> debian@beaglebone:/var/lib/cloud9$ python
> Python 2.7.13 (default, Jan 19 2017, 14:48:08)
> [GCC 6.3.0 20170118] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import Adafruit_BBIO.ADC as ADC
> >>> ADC.setup()
> >>> ADC.read_raw("AIN0")
> 3950.0
> >>> quit()
> debian@beaglebone:/var/lib/cloud9$
>
> Tom
>
> On Friday, September 1, 2017 at 3:25:09 PM UTC-4, tdlivings wrote:
>>
>> Robert
>> OK deleted the file using your command and after a reboot it worked 
>> running python without sudo.
>> So whats in flash is upsetting the system, I will see what is in flash 
>> after dinner.
>>
>> Last login: Fri Sep  1 19:16:09 2017 from 192.168.0.15
>>
>> *debian@beaglebone*:*~*$ uname -a
>>
>> Linux beaglebone 4.4.83-ti-r119 #1 SMP Thu Aug 17 06:39:24 UTC 2017 
>> armv7l GNU/Linux
>>
>> *debian@beaglebone*:*~*$ cat /etc/dogtag
>>
>> BeagleBoard.org Debian Image 2017-08-24
>>
>> *debian@beaglebone*:*~*$ python
>>
>> Python 2.7.13 (default, Jan 19 2017, 14:48:08) 
>>
>> [GCC 6.3.0 20170118] on linux2
>>
>> Type "help", "copyright", "credits" or "license" for more information.
>>
>> >>> import Adafruit_BBIO.ADC as ADC
>>
>> >>> ADC.setup()
>>
>> >>> ADC.readraw("AIN1")
>>
>> Traceback (most recent call last):
>>
>>   File "<stdin>", line 1, in <module>
>>
>> AttributeError: 'module' object has no attribute 'readraw'
>>
>> >>> ADC.read_raw("AIN1")
>>
>> 3648.0
>>
>> >>> quit()
>>
>> *debian@beaglebone*:*~*$ 
>>
>> Tom
>>
>>
>> On Friday, September 1, 2017 at 3:12:48 PM UTC-4, RobertCNelson wrote:
>>>
>>> On Fri, Sep 1, 2017 at 2:07 PM, tdlivings <[email protected]> wrote: 
>>> > Robert 
>>> >  Interesting as all I did was download the latest image you posted on 
>>> > Beagleboard.org and burn an sd card with it. 
>>> > I expanded the file system and tried it out. 
>>> > Seems to me if booting from an sd card the eMMC boot loader should 
>>> neve be 
>>> > run. 
>>>
>>> The am335x's bootrom defaults to eMMC first... 
>>>
>>> > I will give a try to killing the MLO file and I will see what image is 
>>> > actually in flash on this BBBW. 
>>>
>>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/f36c6925-3c53-4c30-a538-721d0586d108%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to