Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/
Started by GastonLagaffe, July 06, 2013, 11:05:29 am
Quote from: sanyigz on July 07, 2013, 03:38:51 pmis it possible to mount and modify the img files under windows? It would be easier to preset the image, than modifying the running system.
QuoteBTW DVI and HDMI is exactly the same, just the sound is the difference, so if you try with DVI it will likely to work the same with hdmi.
Quote from: sanyigz on July 07, 2013, 06:16:33 pmI could be able to set the hdmi output to a more suitable format, as using fex guide i've found where it can be set. The problem is, is i take your image script bin, and convert it with bin2fex, it works... but to fex2bin not, even if i don't touch the previously decoded fex.The error is E: script.fex:15: invalid character at 16. And this is not the only one. If found these characters, and this is the "-" why are these negative? The fex guide says these can't be negative. Some kind of encoding error maybe? If i delete these negative signs that won't cause problems?
Quote from: sanyigz on July 07, 2013, 06:57:57 pmNo these aren't cause problems now i've successfully set the screen mode from 720p 50hz (which is handled very badly by my vga monitor) to 720p 60hz, which is handled way better. It's still not 1280x1024 so the screen is still stretched vertically, but the fex guide says on HDMI only the SD and HD TV resolutions are supported (480p, 576p, 720p, 768p, 1080i, 1080p), however these can be surely overridden because my windows pc can send 1280x1024 through HDMI, but here i don't know how. But at least it works for now.
QuoteAbout the ethernet problems, now i did some tests monitoring with my android phone's wifi connection to my modem/router:1. started cubie2 with your image, with disconnected ethernet.2. After the linux started i've plugged in the ethernet cable.3. Nothing happened, the net connection worked on my pc and the wifi too on phone4. Then i've restarted cubie2 with connected ethernet.5. When at boot it reached "waiting for network configuration" the wifi disappeared, and the internet access stopped on the PC6. I've restarted the modem/router, and the net and wifi is working again7. I've shut off cubie2 and pull out the SD card to try with android8. Android booted with ethernet cable plugged in, wifi didn't disappeared, net connection was working.So i'm now sure that something somehow in your linux image doing something with that router. However for me it looks like an x-file, i've never heard that a simple network client can cause problem like this, only that torrenting can cripple some network devices, but not like this.
QuoteAbout the script.bin i have some questions:-dram_size value is set to 1. Is this correct? http://linux-sunxi.org/Fex_Guide says it should be the ram size in MB.-[g2d_para] section is missing "G2D is the 2D graphic display engine on the Allwinner SoC"-emac_used is set to disabled (0) " 0 to disable; 1 to enable the ethernet MAC"
Quote from: patwood on July 07, 2013, 11:57:25 pmSo did removing the -1 work? Did you replace it with something or delete the line?
Quote from: patwood on July 07, 2013, 11:57:25 pmCan you tell how much network activity is coming on the C2 ethernet line when you boot it? I have lights on my router that flash when there's activity, and I see very little during the DHCP handshake. ifconfig on the C2 tells me that there was very little data transmitted over the line as well.
Quote from: pilsbier on July 08, 2013, 01:41:47 pmHi, imagesworks but id didn't find any serial modules.Can you upload the modules or can you give me a link to a good howto, to compile the modulesmyself ?I need them because i want to use the board to collect data from my solar systemI test some other distros (direct and cross compiled). But they never come up, when i try to boot from sd-card /jörg
Quote from: sanyigz on July 08, 2013, 06:21:27 amThe network tools gui interface tells about few kbytes of network activity (15kb up, 9 kb down)
Quote from: patwood on July 08, 2013, 07:56:31 pmQuote from: pilsbier on July 08, 2013, 01:41:47 pmHi, imagesworks but id didn't find any serial modules.Can you upload the modules or can you give me a link to a good howto, to compile the modulesmyself ?I need them because i want to use the board to collect data from my solar systemI test some other distros (direct and cross compiled). But they never come up, when i try to boot from sd-card /jörgI'll see if I have some time later to describe what needs to be done to build a bootable kernel and u-boot.
Quote from: patwood on July 08, 2013, 07:59:38 pmQuote from: sanyigz on July 08, 2013, 06:21:27 amThe network tools gui interface tells about few kbytes of network activity (15kb up, 9 kb down)I tried this at my office on a commercial Cisco switch. Wireshark only shows a few hundred packets from the C2 at boot time (lots of SNMP, just one DHCP request and reply, mDNS, etc.); in all < 20K up and down over the first minute or so. IP address gets assigned and the C2 is very happy. Sorry I can't say more about this.Question to everyone else here: is anyone else seeing problems with DHCP vs. static IP addresses on *any* C2 distro?
Quote from: patwood on July 09, 2013, 11:36:45 pmI uploaded a new kernel+modules for the A20 that has btusb compiled in: http://dl.cubieforums.com/patwood/A20-kernel-3.3.0-btusb.tar.gz. I was able to scan and pair with two different USB devices: an IOGear with the Broadcom BCM20702A0 chip (USB ID: 0a5c:21e8) and a generic device with the Cambridge Silicon chip (USB ID: 0a12:0001). These files were tested with the CUBIUNTU 0.5 distro but should work with any.