Re: Debian on Dell Wyse 3020 June 22, 2023 01:58PM |
Registered: 10 years ago Posts: 1,037 |
<TX0D_START> kernel=uImage initrd=uInitrd param="root=LABEL=rootfs raid=noautodetect console=ttyS2,115200 mtdparts=spi0.0:4m(boot)" <TX0D_END>
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> LABEL=BOOT /boot vfat rw,user,exec,umask=000 0 0 LABEL=rootfs / ext3 noatime,errors=remount-ro 0 1 tmpfs /tmp tmpfs defaults 0 0
Re: Debian on Dell Wyse 3020 June 22, 2023 03:37PM |
Admin Registered: 13 years ago Posts: 18,997 |
sed -i 's/ttyS0 115200/ttyS2 115200/' /media/mischif/rootfs/etc/inittab
<TX0D_START> kernel=uImage initrd=uInitrd param="root=/dev/sda2 raid=noautodetect console=ttyS2,115200" <TX0D_END>
Re: Debian on Dell Wyse 3020 June 23, 2023 12:57AM |
Registered: 10 years ago Posts: 1,037 |
Re: Debian on Dell Wyse 3020 July 01, 2023 08:36AM |
Registered: 10 years ago Posts: 1,037 |
tar -C /media/gravelrash/BOOTFS/ -x -j -f /home/gravelrash/Downloads/linux-6.3.5-mvebu-tld-1-bodhi.tar.bz2 tar -C /media/gravelrash/BOOTFS/ -x -f /media/gravelrash/BOOTFS/linux-dtb-6.3.5-mvebu-tld-1.tar cat /media/gravelrash/BOOTFS/zImage-6.3.5-mvebu-tld-1 /media/gravelrash/BOOTFS/dts/mmp3-dell-ariel.dtb > /media/gravelrash/BOOTFS/zImage.fdt sudo tar -C /media/gravelrash/rootfs/ -x -j -f /home/gravelrash/Downloads/Debian-5.13.8-mvebu-tld-1-rootfs-bodhi.tar.bz2 sudo rm /media/gravelrash/rootfs/root/set_persistent_mac_address sudo sed -i 's/ttyS0 115200/ttyS2 115200/' /media/gravelrash/rootfs/etc/inittab sudo sed -i '2a rename \/enx*=eth0' /media/gravelrash/rootfs/etc/network/interfaces mkimage -A arm -O linux -T kernel -C none -a 0x8000 -e 0x8000 -d /media/gravelrash/BOOTFS/zImage.fdt /media/gravelrash/BOOTFS/uImage sudo mkimage -A arm -O linux -T ramdisk -C gzip -a 0x3000000 -e 0x3000000 -d /media/gravelrash/rootfs/boot/initrd.img-5.13.8-mvebu-tld-1 /media/gravelrash/BOOTFS/uInitrd
<TX0D_START> kernel=uImage initrd=uInitrd param="root=/dev/sda2 raid=noautodetect console=ttyS2,115200" <TX0D_END>
gravelrash@5060:~$ ssh root@debian.lan root@debian.lan's password: Linux debian 6.3.5-mvebu-tld-1 #1 SMP PREEMPT Thu Jun 1 02:35:15 PDT 2023 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat Jul 1 06:19:32 2023 from 192.168.10.188 debian 192.168.10.13 Dell Ariel Linux version 6.3.5-mvebu-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Thu Jun 1 02:35:15 PDT 2023 Debian 11.7 Sat Jul 1 06:27:36 PDT 2023 up 15 minutes root@debian:~#
root@debian:/# fdisk -l Disk /dev/sda: 7.45 GiB, 8004304896 bytes, 15633408 sectors Disk model: Cruzer Fit Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xb180b99d Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 1050623 1048576 512M b W95 FAT32 /dev/sda2 1050624 15632383 14581760 7G 83 Linux
root@debian:/etc/apt/apt.conf.d# mount | grep sd /dev/sda2 on / type ext3 (rw,noatime,errors=remount-ro)
root@debian:/etc/apt/apt.conf.d# cat /etc/fstab # /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> LABEL=BOOTFS /boot vfat umask=0077 0 1 LABEL=rootfs / ext3 noatime,errors=remount-ro 0 1 tmpfs /tmp tmpfs defaults 0 0
root@debian:/boot# mount /dev/sda1 /mnt mount: /mnt: unknown filesystem type 'vfat'. root@debian:/boot# blkid /dev/sda1: LABEL_FATBOOT="BOOTFS" LABEL="BOOTFS" UUID="DE4A-D010" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="b180b99d-01" /dev/sda2: LABEL="rootfs" UUID="cc5d8fd8-485d-4601-bc72-6c6426d6e64b" BLOCK_SIZE="4096" TYPE="ext3" PARTUUID="b180b99d-02" modprobe vfat modprobe: FATAL: Module vfat not found in directory /lib/modules/6.3.5-mvebu-tld-1 root@debian:/etc/apt/apt.conf.d#
root@debian:/boot# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 1 7.5G 0 disk |-sda1 8:1 1 512M 0 part `-sda2 8:2 1 7G 0 part /
Re: Debian on Dell Wyse 3020 July 01, 2023 03:02PM |
Admin Registered: 13 years ago Posts: 18,997 |
<TX0D_START>
kernel=uImage
initrd=uInitrd
param="root=LABEL=rootfs raid=noautodetect console=ttyS2,115200"
<TX0D_END>
Re: Debian on Dell Wyse 3020 July 01, 2023 03:07PM |
Registered: 1 year ago Posts: 6 |
Re: Debian on Dell Wyse 3020 July 02, 2023 03:11PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Debian on Dell Wyse 3020 July 02, 2023 05:18PM |
Registered: 10 years ago Posts: 1,037 |
Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 1050623 1048576 512M b W95 FAT32 /dev/sda2 1050624 15632383 14581760 7G 83 Linux Disk /dev/mtdblock0: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mmcblk0: 3.64 GiB, 3909091328 bytes, 7634944 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 256 1933311 1933056 943.9M c W95 FAT32 (LBA) /dev/mmcblk0p2 1933312 3866623 1933312 944M c W95 FAT32 (LBA) /dev/mmcblk0p3 * 3866624 5799935 1933312 944M c W95 FAT32 (LBA) /dev/mmcblk0p4 5799936 7634943 1835008 896M c W95 FAT32 (LBA) Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 1050623 1048576 512M b W95 FAT32 /dev/sda2 1050624 15632383 14581760 7G 83 Linux Disk /dev/mtdblock0: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/mmcblk0: 3.64 GiB, 3909091328 bytes, 7634944 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000 Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 256 1933311 1933056 943.9M c W95 FAT32 (LBA) /dev/mmcblk0p2 1933312 3866623 1933312 944M c W95 FAT32 (LBA) /dev/mmcblk0p3 * 3866624 5799935 1933312 944M c W95 FAT32 (LBA) /dev/mmcblk0p4 5799936 7634943 1835008 896M c W95 FAT32 (LBA)
echo spidev >/sys/devices/platform/soc/d4000000.apb/d4035000.spi/spi_master/spi1/spi1.0/driver_override echo spi1.0 >/sys/devices/platform/soc/d4000000.apb/d4035000.spi/spi_master/spi1/spi1.0/driver/unbind echo spi1.0 >/sys/bus/spi/drivers/spidev/bind echo spi1.0 >/sys/bus/spi/drivers/spidev/bind flashrom -p linux_spi:dev=/dev/spidev1.0 -w q7c07.rom # # root@debian:~# -bash: /sys/devices/platform/soc/d4000000.apb/d4035000.spi/spi_master/spi1/spi1.0/driver_override: No such file or directory -bash: /sys/devices/platform/soc/d4000000.apb/d4035000.spi/spi_master/spi1/spi1.0/driver/unbind: No such file or directory -bash: /sys/bus/spi/drivers/spidev/bind: No such file or directory -bash: /sys/bus/spi/drivers/spidev/bind: No such file or directory root@debian:~#
Re: Debian on Dell Wyse 3020 July 02, 2023 05:40PM |
Registered: 10 years ago Posts: 1,037 |
. |-- bin | `-- ica |-- etc | |-- ld.so.cache | |-- ld.so.conf | `-- ld.so.conf.d | |-- arm-linux-gnueabi.conf | `-- libc.conf |-- files.txt |-- lib | |-- arm-linux-gnueabi | | |-- libBrokenLocale.so.1 | | |-- libanl.so.1 | | |-- libc.so.6 | | |-- libcidn.so.1 | | |-- libcrypt.so.1 | | |-- libdl.so.2 | | |-- libgcc_s.so.1 | | |-- libgcrypt.so.11 | | |-- libglib-2.0.so.0 | | |-- libgpg-error.so.0 | | |-- libkeyutils.so.1 | | |-- libm.so.6 | | |-- libnss_db.so.2 | | |-- libnss_dns.so.2 | | |-- libnss_files.so.2 | | |-- libnss_hesiod.so.2 | | |-- libpcre.so.3 | | |-- libpng12.so.0 | | |-- libpthread.so.0 | | |-- libresolv.so.2 | | |-- librt.so.1 | | |-- libselinux.so.1 | | |-- libthread_db.so.1 | | `-- libz.so.1 | `-- ld-linux.so.3 |-- pkg | `-- base.arm.pkg `-- usr |-- bin | |-- mmsv | `-- mmsv_dove `-- lib `-- arm-linux-gnueabi |-- gstreamer-0.10 | |-- libgstaudioconvert.so | `-- libgstcoreelements.so |-- libffi.so.5 |-- libgio-2.0.so.0 |-- libglib-2.0.so |-- libgmodule-2.0.so |-- libgmodule-2.0.so.0 |-- libgobject-2.0.so |-- libgobject-2.0.so.0 |-- libgstapp-0.10.so.0 |-- libgstaudio-0.10.so |-- libgstaudio-0.10.so.0 |-- libgstbase-0.10.so |-- libgstbase-0.10.so.0 |-- libgsth264parse.so.0 |-- libgstinterfaces-0.10.so |-- libgstinterfaces-0.10.so.0 |-- libgstjpeg.so.0 |-- libgstnetbuffer-0.10.so.0 |-- libgstpbutils-0.10.so |-- libgstpbutils-0.10.so.0 |-- libgstreamer-0.10.so |-- libgstreamer-0.10.so.0 |-- libgstrtp-0.10.so |-- libgstrtp-0.10.so.0 |-- libgstrtpdemux.so.0 |-- libgstudp.so.0 |-- libgstvideo-0.10.so |-- libgstvideo-0.10.so.0 |-- libgstwyse.so.0 |-- libgstwysevmeta.so.0 |-- libgthread-2.0.so |-- libgthread-2.0.so.0 |-- libjpeg.so.8 |-- liborc-0.4.so.0 |-- libstdc++.so.6 |-- libtfm.so |-- libxml2.so `-- libxml2.so.2 11 directories, 73 files
Re: Debian on Dell Wyse 3020 July 02, 2023 05:57PM |
Admin Registered: 13 years ago Posts: 18,997 |
> echo spidev > >/sys/devices/platform/soc/d4000000.apb/d4035000.spi/spi_master/spi1/spi1.0/driver_override > echo spi1.0 > >/sys/devices/platform/soc/d4000000.apb/d4035000.spi/spi_master/spi1/spi1.0/driver/unbind > echo spi1.0 >/sys/bus/spi/drivers/spidev/bind > echo spi1.0 >/sys/bus/spi/drivers/spidev/bind > flashrom -p linux_spi:dev=/dev/spidev1.0 -w > q7c07.rom > # > # > root@debian:~# > -bash: > /sys/devices/platform/soc/d4000000.apb/d4035000.spi/spi_master/spi1/spi1.0/driver_override: > No such file or directory > -bash: > /sys/devices/platform/soc/d4000000.apb/d4035000.spi/spi_master/spi1/spi1.0/driver/unbind: > No such file or directory > -bash: /sys/bus/spi/drivers/spidev/bind: No such > file or directory > -bash: /sys/bus/spi/drivers/spidev/bind: No such > file or directory > root@debian:~# > > >
Quote
create wloader.cfg in BOOT which also holds the unimage etc
<TX0D_START>
kernel=uImage
initrd=uInitrd
param="root=LABEL=rootfs raid=noautodetect console=ttyS2,115200 mtdparts=spi0.0:4m(boot)"
<TX0D_END>
cat /proc/mtdIf it is
dev: size erasesize name mtd0: 00400000 00001000 "boot"
flashcp -v q7c07.rom /dev/mtd0
Re: Debian on Dell Wyse 3020 July 02, 2023 06:20PM |
Registered: 10 years ago Posts: 1,037 |
> flashcp -v q7c07.rom /dev/mtd0 >
Re: Debian on Dell Wyse 3020 July 02, 2023 06:28PM |
Registered: 10 years ago Posts: 1,037 |
root@debian:~# cat /proc/mtd dev: size erasesize name mtd0: 00400000 00001000 "spi0.0" root@debian:~# mc root@debian:~# flashcp -v q7c07.rom /dev/mtd0 Erasing blocks: 512/512 (100%) Writing data: 10k/2048k (0%) While writing data to 0x00000000-0x00002800 on /dev/mtd0: Connection timed out
Re: Debian on Dell Wyse 3020 July 02, 2023 07:40PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Debian on Dell Wyse 3020 July 03, 2023 10:58AM |
Registered: 10 years ago Posts: 1,037 |
root@debian:/# blkid /dev/sda1: LABEL_FATBOOT="BOOTFS" LABEL="BOOTFS" UUID="DE4A-D010" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="b180b99d-01" /dev/sda2: LABEL="rootfs" UUID="cc5d8fd8-485d-4601-bc72-6c6426d6e64b" BLOCK_SIZE="4096" TYPE="ext3" PARTUUID="b180b99d-02" /dev/mmcblk0p1: LABEL="NAND" UUID="474b483d-3525-4179-b0e8-f82bd9446942" BLOCK_SIZE="4096" TYPE="ext3" PARTUUID="db391c54-01" root@debian:/# root@debian:/# root@debian:/# root@debian:/# mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,nosuid,relatime,size=1024064k,nr_inodes=184609,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=600,ptmxmode=000) tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=205904k,mode=755) /dev/mmcblk0p1 on / type ext3 (rw,noatime,errors=remount-ro) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) securityfs on /sys/kernel/security type securityfs (rw,relatime) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=411800k) /dev/sda1 on /boot type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=utf8,shortname=mixed,utf8,errors=remount-ro) tmpfs on /tmp type tmpfs (rw,relatime) rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime) root@debian:/#
Re: Debian on Dell Wyse 3020 July 03, 2023 11:25AM |
Registered: 10 years ago Posts: 1,037 |
Re: Debian on Dell Wyse 3020 July 03, 2023 11:50AM |
Registered: 10 years ago Posts: 1,037 |
Re: Debian on Dell Wyse 3020 July 03, 2023 02:24PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
PXA2128, a.k.a. MMP3 (OLPC XO4, Linux support not upstream)
Product Brief : http://www.marvell.com/application-processors/armada/pxa2128/assets/Marvell-ARMADA-PXA2128-SoC-PB.pdf
Application processor only
Core: Dual-core ARMv7 compatible Sheeva PJ4C core
Re: Debian on Dell Wyse 3020 July 03, 2023 02:30PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Debian on Dell Wyse 3020 July 03, 2023 03:03PM |
Admin Registered: 13 years ago Posts: 18,997 |
>Quote
PXA2128, a.k.a. MMP3 (OLPC XO4, Linux
> support not upstream)
> Product Brief :
> http://www.marvell.com/application-processors/armada/pxa2128/assets/Marvell-ARMADA-PXA2128-SoC-PB.pdf
> Application processor only
> Core: Dual-core ARMv7 compatible Sheeva PJ4C
> core
Re: Debian on Dell Wyse 3020 July 03, 2023 05:12PM |
Registered: 10 years ago Posts: 1,037 |
Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 256 1933311 1933056 943.9M c W95 FAT32 (LBA) /dev/mmcblk0p2 1933312 3866623 1933312 944M c W95 FAT32 (LBA) /dev/mmcblk0p3 * 3866624 5799935 1933312 944M c W95 FAT32 (LBA) /dev/mmcblk0p4 5799936 7634943 1835008 896M c W95 FAT32 (LBA)
Re: Debian on Dell Wyse 3020 July 04, 2023 12:55PM |
Registered: 10 years ago Posts: 1,037 |
root@debian:~# lsmod
Module Size Used by
vfat 20480 1
fat 69632 1 vfat
joydev 20480 0
sg 28672 0
uio_pdrv_genirq 16384 0
uio 20480 1 uio_pdrv_genirq
fuse 98304 1
drm 360448 0
drm_panel_orientation_quirks 16384 1 drm
configfs 36864 1
ip_tables 20480 0
x_tables 24576 1 ip_tables
hid_logitech_hidpp 40960 0
mmc_block 40960 0
spi_pxa2xx_platform 24576 0
ssp 16384 1 spi_pxa2xx_platform
i2c_pxa 20480 0
hid_logitech_dj 24576 0
uas 20480 0
Re: Debian on Dell Wyse 3020 July 04, 2023 01:51PM |
Registered: 10 years ago Posts: 1,037 |
nano /etc/ssh/sshd_config X11Forwarding yes X11DisplayOffset 10
ssh -Y -t user@debian.lan 'thunar'
Re: Debian on Dell Wyse 3020 July 04, 2023 05:55PM |
Admin Registered: 13 years ago Posts: 18,997 |
> nano /etc/ssh/sshd_config > > X11Forwarding yes > X11DisplayOffset 10 >>
> ssh -Y -t user@debian.lan 'thunar' >
Re: Debian on Dell Wyse 3020 July 05, 2023 04:40AM |
Registered: 10 years ago Posts: 1,037 |
Re: Debian on Dell Wyse 3020 July 05, 2023 04:37PM |
Registered: 10 years ago Posts: 1,037 |
Re: Debian on Dell Wyse 3020 July 06, 2023 12:03AM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Debian on Dell Wyse 3020 July 06, 2023 12:20AM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Debian on Dell Wyse 3020 July 06, 2023 01:35AM |
Registered: 9 years ago Posts: 461 |
Re: Debian on Dell Wyse 3020 July 07, 2023 10:31AM |
Registered: 10 years ago Posts: 1,037 |
Re: Debian on Dell Wyse 3020 July 07, 2023 01:15PM |
Admin Registered: 13 years ago Posts: 18,997 |