- CREATED

my working memo - temporary

  • LAVA
    docker run -it --name con_lava -v /boot:/boot -v /lib/modules:/lib/modules -v ~/LAVA/fileshare:/opt/fileshare -v /dev/bus/usb:/dev/bus/usb -v ~/.ssh/id_rsa_lava.pub:/home/lava/.ssh/authorized_keys:ro --device=/dev/ttyUSB0 -p 8000:80 -p 2022:22 -h lava-slave --privileged suker/lava-docker-new
    


/etc/ser2net.conf service ser2net restart


root@lava-slave:/home/lava/lava-dispatcher/lava_dispatcher/pipeline# lava-dispatch –validate –target ./devices/s5p4418-01.yaml ./test/sample_jobs/s5p4418_job.yaml –output-dir=/tmp/temp


lxc-create -t download -n mm 으로 lxc image index 확인하기


$ sudo cat /etc/default/docker (..)


se DOCKER_OPTS to modify the daemon startup options. DOCKER_OPTS=” -e lxc” (..)


And then restart the docker daemon :


$ sudo service docker restart


sudo apt-get install python-pip pip install pycrypto


libc6 libdebconfclient0 original-awk libbz2-1.0 liblzma5 libselinux1 zlib1g tar zlib1g libselinux1 libgcc1


1) lxc container create fail ==> docker run option에서 –privileged 옵션 제거 ok 2) create_run_template: 1106 error unsharing mounts


[ HOST ] apt-get install cgmanager openssh-server -v /sys/fs/cgroup:/sys/fs/cgroup


apt-get install dbus udev systemd
Failed to get D-Bus connection: Unknown error -1 ==> /etc/init.d/dbus start
Problem solved. I should have read https://wiki.debian.org/LXC and add "cgroup_enable=memory swapaccount=1" to cmdline.
tput reset > /dev/ttyUSB0
lxc_sync - sync.c:__sync_wait:57 - An error occurred in another process (expected sequence number 5)
find . -mtime -1 -print
./configure --host=arm-poky-linux-gnueabi --enable-video-wayland sudo make install DESTDIR="$PWD/build" make LIBS="-Wl,-rpath,${PWD}/../build -L${PWD}/../build/.libs -L${PWD}/../build -L/opt/poky/2.1.2-qt-32/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/lib -lSDL2 -lSDL2_test"
ARTIK530 UBUNTU BUILD $ sudo ./release.sh -c config/artik530.cfg --full-build --ubuntu -v SUKER-1AA-00001 -d 20170809.000001 $ sudo schroot -e --all-sessions
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? ==> sudo apt-get upgrade --fix-missing
locate libbluetooth3_5.42-0ubuntu1.1_armhf.deb

debian package make https://ubuntuforums.org/showthread.php?t=910717 dpkg-deb --build helloworld_1.0-1
xxd -g 4 rootfs.img | less
gsettings set com.canonical.Unity.Launcher launcher-position Bottom


$ git clone https://github.com/riscv/riscv-linux.git
file:///home/suker/Downloads/boom-spec.pdf [suker@suker-nexell] ~/RISC-V/rocket-chip/emulator $ make run CONFIG=BOOMConfig
~/RISC-V-yocto/riscv-poky/build-qemu $ bitbake core-image-riscv
BOOM is a synthesizable, parameterized, superscalar out-of-order RISC-V core designed to serve as the prototypical baseline processor for future micro-architectural studies of out-of-order processors. Our goal is to provide a readable, open-source implementation for use in education, research, and industry.
BOOM is written in roughly 9,000 lines of the hardware construction language Chisel. We leveraged Berkeley’s open-source Rocket-chip SoC generator, allowing us to quickly bring up an entire multi-core processor system (including caches and uncore) by replacing the in-order Rocket core with an out-of-order BOOM core. BOOM supports atomics, IEEE 754-2008 floating-point, and page-based virtual memory. We have demonstrated BOOM running Linux, SPEC CINT2006, and CoreMark.
$ runqemu qemuriscv64 nographic slirp
make CROSS_COMPILE=../riscv-gnu-toolchain/bin/riscv64-unknown-elf- ARCH=riscv vmlinux
export RISCV=/home/suker/RISC-V/riscv-gnu-toolchain/ pk build ==> --with-payload=vmlinux
bbl 5528288 -> ? git clone https://github.com/riscv/riscv-tools.git git submodule update --init --recursive
xlnx,opb-uartlite-1.00.b
https://github.com/riscv/riscv-tools#building-busybox
52 int64_t* UARTLITE=(int64_t*)(0x60030000); 53 char* str = "BBL TEST\r\n"; 54 while(*str != '\0') 55 { 56 if((UARTLITE[2] >> 3)&0x1) while(!((UARTLITE[2] >> 2)&0x1)); 57 UARTLITE[1] = (unsigned int)*str++; 58 } 59
boot.bin: Linux, Busybox and bootloader packaged in one image. curl -L https://github.com/lowRISC/lowrisc-chip/releases/download/v0.3/boot.bin > boot.bin
scp -r /home/suker/RISC-V/riscv-tools/ fpga@192.168.1.182:/home/fpga/test/BOOM/

kchhero

If you do not act, there is no change.