September 29, 2020, 10:32:18 pm

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - jwzumwalt

1
Beginners / Fastest kernel media
December 07, 2017, 07:48:53 am
I would like my CB2 to run as fast as possible. It does not matter whether I boot from NAND, SD, or HDD. For the kernel to run the fastest in the long term, where would be the best place for the OS to run from... I assume it will either be NAND or HDD.
2
I measured with a caliper and can confirm it is 4mm.
3
Cubieboard v2 Images (A20 Based) / Re: CUBIUNTU A20
July 24, 2015, 03:43:59 pm
Think links to images in this discussion are broken...
It needs to be removed from being a sticky  :(
4
Here is a test I use...

#!/bin/bash

echo ' . ----------------------------------------------------. '
echo ' | status_led.sh     by: Jan Zumwalt     Ver: 07/2016  | '
echo ' |-----------------------------------------------------| '
echo ' |                                                     | '
echo ' | This program excersises control over the  blue      |'
echo ' | and green onboard status led's                      | '
echo ' |                                                     | '
echo ' .-----------------------------------------------------. '
echo ''

# The following needs to be in the script.bin file
# Debian  /media/zero/script.bin
# Cubian  /boot/script.bin
#
# [leds_para]
# leds_used = 1
# leds_num = 2
# leds_pin_1 = port:PH20<1><default><default><0>
# leds_name_1 = "green:ph20:led1"
# leds_pin_2 = port:PH21<1><default><default><0>
# leds_name_2 = "blue:ph21:led2"

# a module may be needed. To load...
# modprobe leds-sunxi
#
# To auto load the module just add a line with the name of the module....
# edit /etc/modules.
# or execute the following line in the /etc/modules directory
# echo leds-sunxi >>/etc/modules

# setup
echo off
clear
echo -e "\n\n"
echo -e "  BOTH off\n"
echo 0 > /sys/class/leds/blu
e\:ph21\:led2/brightness # Blue led off
echo 0 > /sys/class/leds/green\:ph20\:led1/brightness # GREEN led off

# blue on
echo "  BLUE on"
echo 255 > /sys/class/leds/blue\:ph21\:led2/brightness # Blue led on
sleep 3
echo 0 > /sys/class/leds/blue\:ph21\:led2/brightness # Blue led off

# green on
echo "  GREEN on"
echo 255 > /sys/class/leds/green\:ph20\:led1/brightness # GREEN led on
sleep 3
echo 0 > /sys/class/leds/green\:ph20\:led1/brightness # GREEN led off

#blue blink
echo "  BLUE blink"
echo timer > /sys/class/leds/blue\:ph21\:led2/trigger # BLUE led blink
sleep 3
echo 0 > /sys/class/leds/blue\:ph21\:led2/brightness # Blue led off

# green blink
echo "  GREEN blink"
echo timer > /sys/class/leds/green\:ph20\:led1/trigger # GREEN led blink
sleep 3
echo 0 > /sys/class/leds/green\:ph20\:led1/brightness # GREEN led off

echo "  BLUE LED sd card status"
echo mmc0 > /sys/class/leds/blue\:ph21\:led2/trigger # blue sd card status

echo "  GREEN off"
echo 0 > /sys/class/leds/green\:ph20\:led1/brightness # GREEN led off

# list triggers
echo -e "\n  LED triggers"
cat /sys/class/leds/blue\:ph21\:led2/trigger

[/font]
5
#!/bin/bash
# The following needs to be in the script.bin file
# Debian /media/zero/script.bin
# Cubian    /boot/script.bin
#
# [leds_para]
# leds_used = 1
# leds_num = 2
# leds_pin_1 = port:PH20<1><default><default><0>
# leds_name_1 = "green:ph20:led1"
# leds_pin_2 = port:PH21<1><default><default><0>
# leds_name_2 = "blue:ph21:led2"

# a module may be needed. To load...
# modprobe leds-sunxi
#
# To auto load the module just add a line with the name of the module....
# edit /etc/modules.
# or execute the following line in the /etc/modules directory
# echo leds-sunxi >>/etc/modules

# setup
echo off
clear
echo 0 > /sys/class/leds/blue\:ph21\:led2/brightness # Blue led off
echo 0 > /sys/class/leds/green\:ph20\:led1/brightness # GREEN led off

# blue on
echo 255 > /sys/class/leds/blue\:ph21\:led2/brightness # Blue led on
sleep 3
echo 0 > /sys/class/leds/blue\:ph21\:led2/brightness # Blue led off

# green on
echo 255 > /sys/class/leds/green\:ph20\:led1/brightness # GREEN led on
sleep 3
echo 0 > /sys/class/leds/green\:ph20\:led1/brightness # GREEN led off

#blue blink
echo timer > /sys/class/leds/blue\:ph21\:led2/trigger # BLUE led blink
sleep 3
echo 0 > /sys/class/leds/blue\:ph21\:led2/brightness # BLUE led off:

# green blink
echo timer > /sys/class/leds/green\:ph20\:led1/trigger # GREEN led blink
sleep 3
echo 0 > /sys/class/leds/green\:ph20\:led1/brightness # GREEN led off


echo mmc0 > /sys/class/leds/blue\:ph21\:led2/trigger # blue sd card status
echo none > /sys/class/leds/green\:ph20\:led1/trigger # GREEN led

# list triggers
cat /sys/class/leds/blue\:ph21\:led2/trigger

[/font]
6
Beginners / CB2 boot with corrupted NAND
June 20, 2015, 02:07:10 am
If a CB2 has a corrupt NAND will it still be able to boot from a card image?
Thx :)
7
This is a polite suggestion that your message verification is too extreme and I believe you will loose many very qualified individuals that do not have the time to waste in order to answer a quick question and go through the gauntlet verification process.

One captcha questions is bearable but what you have going on is going to cripple user support and eventually someone will set up a forum that makes this one obsolete. Just my opinion :)

In the last 10min I have attempted to answer 2 questions and your board has crashed on both occasions. Do you feel users will continue to support that?
8
All mini unprotected motherboards are pretty easy to fry. I have never used a static strap in my 35+ years of electronic work but I have fried a board from static about every 10 years. I always touch something such as the usb shell in the hopes of not cooking something.

About four years ago I touch the MB of my current desktop and about 1hr later the motherboard gave a puff of smoke and my sound never worked again - I figured I was off easy since my MB and CPU combo are about $500.

You probably cooked it but it goes with the territory for experimenters and I would consider it bragging rights :)