Skip to content

Instantly share code, notes, and snippets.

View pietrushnic's full-sized avatar

Piotr Król pietrushnic

View GitHub Profile
Executing /etc/qemu-ifup
Bringing up tap0 for bridged mode...
Adding tap0 to br0...
oss: Could not initialize DAC
oss: Failed to open `/dev/dsp'
oss: Reason: No such file or directory
oss: Could not initialize DAC
oss: Failed to open `/dev/dsp'
oss: Reason: No such file or directory
sudo qemu-system-arm -kernel u-boot -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=/etc/qemu-ifup -nographic -M versatilepb -net dump,file=../../defects/u-boot/net_dump_pass
s.pcap
Executing /etc/qemu-ifup
Bringing up tap0 for bridged mode...
Adding tap0 to br0...
oss: Could not initialize DAC
oss: Failed to open `/dev/dsp'
oss: Reason: No such file or directory
oss: Could not initialize DAC
@pietrushnic
pietrushnic / gist:6892684
Last active December 25, 2015 01:09
clenver testing in debian live cd environment
sudo apt-get -y install git vim curl zsh
curl -L https://get.rvm.io | bash -s stable --ruby
source ~/.profile
bash --login
gem install clenver
git clone https://github.com/pietrushnic/clenver.git
git clone https://[email protected]/pietrushnic/projects.git
rvm use ruby
00000000 A CONFIG_ACPI_SCI_IRQ
00000000 A CONFIG_ACPI_SSDTX_NUM
00000000 A CONFIG_ADC_POWERDOWN
00000000 A CONFIG_AGP_APERTURE_SIZE
00000000 A CONFIG_AGP_PLUGIN_SUPPORT
00000000 A CONFIG_AHCI_BIOS
00000000 A CONFIG_ALWAYS_LOAD_OPROM
00000000 A CONFIG_AMDMCT
00000000 A CONFIG_AMD_NB_CIMX
00000000 A CONFIG_AMD_SB_CIMX
@pietrushnic
pietrushnic / gist:afe7bd2e036150888609
Last active August 29, 2015 14:05
vexpress-a9 - memory map
0000000000000000-ffffffffffffffff (prio 0, RW): system
0000000000000000-0000000003ffffff (prio 0, RW): alias vexpress.flashalias @vexpress.flash0 0000000000000000-0000000003ffffff
0000000000000000-0000000003ffffff (prio 0, RW): alias vexpress.lowmem @vexpress.highmem 0000000000000000-0000000003ffffff
0000000010000000-0000000010000fff (prio 0, RW): arm-sysctl
0000000010004000-0000000010004fff (prio 0, RW): pl041
0000000010005000-0000000010005fff (prio 0, RW): pl181
0000000010006000-0000000010006fff (prio 0, RW): pl050
0000000010007000-0000000010007fff (prio 0, RW): pl050
0000000010009000-0000000010009fff (prio 0, RW): pl011
000000001000a000-000000001000afff (prio 0, RW): pl011
0000000000000000-ffffffffffffffff (prio 0, RW): system
0000000000000000-0000000003ffffff (prio 0, RW): alias vexpress.lowmem @vexpress.highmem 0000000000000000-0000000003ffffff
0000000010000000-0000000010000fff (prio 0, RW): arm-sysctl
0000000010004000-0000000010004fff (prio 0, RW): pl041
0000000010005000-0000000010005fff (prio 0, RW): pl181
0000000010006000-0000000010006fff (prio 0, RW): pl050
0000000010007000-0000000010007fff (prio 0, RW): pl050
0000000010009000-0000000010009fff (prio 0, RW): pl011
000000001000a000-000000001000afff (prio 0, RW): pl011
000000001000b000-000000001000bfff (prio 0, RW): pl011
build/cbfs/fallback/bootblock.debug: file format elf32-littlearm
Disassembly of section .rom:
00010000 <_rom>:
10000: ea000022 b 10090 <reset>
10004: deadbeef .word 0xdeadbeef
U-Boot SPL 2015.10-rc4-08397-gac644a813ecf (Oct 10 2015 - 10:07:18)
DRAM: 2048 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
U-Boot 2015.10-rc4-08397-gac644a813ecf (Oct 10 2015 - 10:07:18 +0200) Allwinner Technology
CPU: Allwinner A20 (SUN7I)
I2C: ready
#!/bin/bash
SCRIPTDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
source $SCRIPTDIR/common.sh
FEL=/home/pietrushnic/projects/motionfigures/a20_robot/sunxi-tools/fel
echo "BUILDROOT_OUTPUT_DIR = $BUILDROOT_OUTPUT_DIR"
=> nand scrub -y 0x0 0x200000000
NAND scrub: device 0 whole chip
Erasing at 0x1ffe00000 -- 100% complete.
OK
=> nand write 0x43000000 0x0 0x6000
NAND write: device 0 offset 0x0, size 0x6000
24576 bytes written: OK
=> nand write 0x4a000000 0x800000 0x9539D