Jump to content
  • 1

nexys a7 bootstrapping linux guide


jay2718

Question

Folks,

I would like to up and running on linux, any distro.

It is the 100T nexys a7 artix-7.

I'm viewing the digilent embedded linux guide, says it places the apu, (cortex-a9), etc.

I have vivado 2022.2 running and placing designs, if the bit file is available somewhere?

Looking for step by step guide.

Thanks in advance!

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 0

Here is the guide, "Xilinx Vivado block designs for FPGA RISC-V SoC running Debian Linux distro." github eugene-tarassov/vivado-risc-v.

https://github.com/eugene-tarassov/vivado-risc-v

I wish to interface to some analog, digital, and mixed signal circuits, vme bus and such.

What will be key, is to create a device driver. Any info on this?

I did find yts, it was Ubuntu 18.04.5 LTS on Win10/11 wsl2 that worked with all the guides.

I am trying to build two cores w RISC V, still installing the Vivado 2022.2 on U18.04.5 LTS. This Xilinx download is 74.42 GB, and needs to run (7 to 8) hours to complete.

How to Install RISC V on Nexys A7 100T by Ryan Heng ( https://youtu.be/ECA-D6ZFnU4 ).

Setting up a Nexys board in Linux! by FPGAs for Beginners ( https://youtu.be/9gJdh8Rb1vI ).

WSL2 Ubuntu GUI by David Bombal ( WSL2 Ubuntu GUI by David Bombal )

 

Screenshot 2022-12-09 062905.png

Edited by jay2718
update 6
Link to comment
Share on other sites

  • 1

Hi @jay2718

The Nexys A7 has a XC7A100T-1CSG324C FPGA. This is a pure FPGA; it doesn't have an on-chip ARM core as does e.g. the Zybo Z7. If you run Linux on a Z7-bases board, you'd normally use the built-in ARM core(s) as processor. On the Nexys A7, your design will have to incorporate its own "soft-core" processor.

So a guide for the Zybo won't help you much.
 

With a bit of googling you can find people who actually managed to get e.g. a RiscV processor to run on their Nexys A7 board, and it can even boot Linux. Performance will be shit, and it's an extremely involved process if you want to actually understand all the steps rather than just upload somebody else's work onto the board.

Can I ask, why do you want to do this? Is it educational, or do you have a project in mind?

Edited by reddish
Link to comment
Share on other sites

  • 0

Hi @jay2718

The Nexys A7 uses an Artix FPGA which is very different from a Zynq part, since the latter has a hard processor. Materials created for Zynq devices would not get you over the initial hump. Zynq devices tend to be better suited to running Linux than FPGA-only parts, since the latter need to use up a bunch of FPGA resources to implement a soft-core processor and memory controller. Partly because of this, Digilent doesn't provide any guides for getting Linux running on the Nexys.

Thanks,

Arthur

Link to comment
Share on other sites

  • 0

Hi @jay2718

 

We may have a misunderstanding because your initial question can be read in two ways.

Do you want to end up running Linux on the Nexys A7 device itself? Or do you just want to run the development tools (Vivado) on Linux?

Link to comment
Share on other sites

  • 0

@reddish

Sorry for the confusion, I want to end up running Linux on the Nexys A7 device itself.

The idea is to build up some software that is special purpose, and create device drivers to interface with external systems, e.g. control systems, etc.

The included image comes from digilent and displays a possible embedded linux design (Zedboard).

"The reference design includes the proper configuration for most of the peripheral devices available on-board your product including the interrupt controller, timer, clock generator, AXI interconnects, etc. that are all essential for Linux to operate properly."

 https://digilent.com/reference/_media/digilent_embedded_linux_guide.pdf

Thanks

Screen Shot 2022-12-09 at 1.18.54 PM.png

Screen Shot 2022-12-09 at 1.21.13 PM.png

Edited by jay2718
adding images
Link to comment
Share on other sites

  • 0

Like the Zybo, the ZedBoard has a Zynq chip that has a built-in ARM cpu, so this is entirely uncomparable with getting this to work on the A7 in your Nexys board.

Before taking this discussion further, make sure that you understand this distinction and the challenge that comes with it. If you want Linux, your best bet is to get a board with a Zynq chip; this will make your life a lot easier and the thing you will end with will have superior performance. Putting Linux on an A7-based board is an exercise that is only interesting for the challenge itself.

Link to comment
Share on other sites

  • 0

Weird. Your screenshot doesn't look like you're logging in on a remote machine, but rather a Ubuntu under WSL.

 

 

What soft CPU is your system using? And did you follow any particular instructions?

 

Link to comment
Share on other sites

  • 0
OpenSBI v1.0
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name             : Vivado RISC-V
Platform Features         : medeleg
Platform HART Count       : 32
Platform IPI Device       : aclint-mswi
Platform Timer Device     : aclint-mtimer @ 500000Hz
Platform Console Device   : axi-uart
Platform HSM Device       : ---
Platform Reboot Device    : ---
Platform Shutdown Device  : ---
Firmware Base             : 0x80000000
Firmware Size             : 472 KB
Runtime SBI Version       : 0.3

Domain0 Name              : root
Domain0 Boot HART         : 0
Domain0 HARTs             : 0*,1*,2*,3*,4*,5*,6*,7*,8*,9*,10*,11*,12*,13*,14*,15*,16*,17*,18*,19*,20*,21*,22*,23*,24*,25*,26*,27*,28*,29*,30*,31*
Domain0 Region00          : 0x0000000002000000-0x000000000200ffff (I)
Domain0 Region01          : 0x0000000080000000-0x000000008007ffff ()
Domain0 Region02          : 0x0000000000000000-0xffffffffffffffff (R,W,X)
Domain0 Next Address      : 0x0000000080200000
Domain0 Next Arg1         : 0x0000000000010080
Domain0 Next Mode         : S-mode
Domain0 SysReset          : yes

Boot HART ID              : 0
Boot HART Domain          : root
Boot HART ISA             : rv64imafdcsux
Boot HART Features        : scounteren,mcounteren,mcountinhibit
Boot HART PMP Count       : 16
Boot HART PMP Granularity : 4
Boot HART PMP Address Bits: 32
Boot HART MHPM Count      : 0
Boot HART MIDELEG         : 0x0000000000000222
Boot HART MEDELEG         : 0x000000000000b109


U-Boot 2022.01-dirty (Dec 08 2022 - 23:17:04 -0800)

CPU:   rv64imafdc
Model: freechips,rocketchip-vivado
DRAM:  128 MiB
MMC:   mmc0@60000000: 0
Loading Environment from nowhere... OK
In:    uart@60010000
Out:   uart@60010000
Err:   uart@60010000
Net:   No ethernet found.
Hit any key to stop autoboot:  2  1  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1:Debian v5.19.16
Retrieving file: /extlinux/initrd-v5.19.16.img
Retrieving file: /extlinux/image-v5.19.16
append: ro root=UUID=68d82fa1-1bb5-435f-a5e3-862176586eec earlycon initramfs.runsize=24M locale.LANG=en_US.UTF-8
Moving Image from 0x81000000 to 0x80200000, end=81530320
## Flattened Device Tree blob at 00010080
   Booting using the fdt blob at 0x010080
   Loading Device Tree to 0000000084ffc000, end 0000000084fffd14 ... OK

Starting kernel ...

[    0.000000] Linux version 5.19.16-dirty (jay@DESKTOP-BFL8NEQ) (riscv64-linux-gnu-gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0, GNU ld (GNU Binutils for Ubuntu) 2.30) #1 SMP Thu Dec 8 23:17:38 PST 2022
[    0.000000] OF: fdt: Ignoring memory range 0x80000000 - 0x80200000
[    0.000000] Machine model: freechips,rocketchip-vivado
[    0.000000] earlycon: axi_uart0 at MMIO 0x0000000060010000 (options '')
[    0.000000] printk: bootconsole [axi_uart0] enabled
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000080200000-0x0000000087ffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080200000-0x0000000087ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080200000-0x0000000087ffffff]
[    0.000000] On node 0, zone DMA32: 512 pages in unavailable ranges
[    0.000000] SBI specification v0.3 detected
[    0.000000] SBI implementation ID=0x1 Version=0x10000
[    0.000000] SBI TIME extension detected
[    0.000000] SBI IPI extension detected
[    0.000000] SBI RFENCE extension detected
[    0.000000] SBI HSM extension detected
[    0.000000] riscv: base ISA extensions acdfim
[    0.000000] riscv: ELF capabilities acdfim
[    0.000000] percpu: Embedded 16 pages/cpu s28136 r8192 d29208 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 31815
[    0.000000] Kernel command line: ro root=UUID=68d82fa1-1bb5-435f-a5e3-862176586eec earlycon initramfs.runsize=24M locale.LANG=en_US.UTF-8
[    0.000000] Dentry cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 85536K/129024K available (6484K kernel code, 4823K rwdata, 4096K rodata, 2150K init, 384K bss, 43488K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU restricting CPUs from NR_CPUS=32 to nr_cpu_ids=1.
[    0.000000] Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] riscv-intc: 64 local interrupts mapped
[    0.000000] plic: interrupt-controller@c000000: mapped 8 interrupts with 1 handlers for 2 contexts.
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 7052723233920 ns
[    0.000054] sched_clock: 64 bits at 500kHz, resolution 2000ns, wraps every 4398046511000ns
[    0.012574] Calibrating delay loop (skipped), value calculated using timer frequency.. 1.00 BogoMIPS (lpj=2000)
[    0.024100] pid_max: default: 32768 minimum: 301
[    0.034908] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.043288] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.115318] cblist_init_generic: Setting adjustable number of callback queues.
[    0.123506] cblist_init_generic: Setting shift to 0 and lim to 1.
[    0.135402] riscv: ELF compat mode failed
[    0.135724] ASID allocator disabled (0 bits)
[    0.150612] rcu: Hierarchical SRCU implementation.
[    0.156254] rcu: Max phase no-delay instances is 1000.
[    0.177832] smp: Bringing up secondary CPUs ...
[    0.183242] smp: Brought up 1 node, 1 CPU
[    0.201740] devtmpfs: initialized
[    0.250216] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.261258] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.302178] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.325914] thermal_sys: Registered thermal governor 'step_wise'
[    0.326226] thermal_sys: Registered thermal governor 'user_space'
[    0.722602] SCSI subsystem initialized
[    0.748724] usbcore: registered new interface driver usbfs
[    0.756918] usbcore: registered new interface driver hub
[    0.764300] usbcore: registered new device driver usb
[    0.799824] vgaarb: loaded
[    0.809574] clocksource: Switched to clocksource riscv_clocksource
[    0.883792] NET: Registered PF_INET protocol family
[    0.896376] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.926258] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.936214] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.946036] TCP established hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.955510] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.964482] TCP: Hash tables configured (established 1024 bind 1024)
[    0.975592] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.984082] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.997930] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.032302] RPC: Registered named UNIX socket transport module.
[    1.039476] RPC: Registered udp transport module.
[    1.044968] RPC: Registered tcp transport module.
[    1.050850] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.058270] PCI: CLS 0 bytes, default 64
[    1.102688] Unpacking initramfs...
[    1.176642] workingset: timestamp_bits=62 max_order=15 bucket_order=0
[    1.421096] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.786824] NFS: Registering the id_resolver key type
[    1.794260] Key type id_resolver registered
[    1.799302] Key type id_legacy registered
[    1.807228] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.815088] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.896674] 9p: Installing v9fs 9p2000 file system support
[    1.916188] NET: Registered PF_ALG protocol family
[    1.923648] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.932252] io scheduler mq-deadline registered
[    1.937804] io scheduler kyber registered
[    6.234840] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    6.290278] 60010000.uart: ttyAU0 at MMIO 0x60010000 (irq = 1, base_baud = 0) is a axi-uart
[    6.300270] printk: console [ttyAU0] enabled
[    6.300270] printk: console [ttyAU0] enabled
[    6.309770] printk: bootconsole [axi_uart0] disabled
[    6.309770] printk: bootconsole [axi_uart0] disabled
[    6.805076] loop: module loaded
[   12.227556] Freeing initrd memory: 4520K
[   12.784510] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   12.790956] ehci-pci: EHCI PCI platform driver
[   12.796232] ehci-platform: EHCI generic platform driver
[   12.803320] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   12.809936] ohci-pci: OHCI PCI platform driver
[   12.815222] ohci-platform: OHCI generic platform driver
[   12.835852] usbcore: registered new interface driver uas
[   12.843262] usbcore: registered new interface driver usb-storage
[   12.858642] mousedev: PS/2 mouse device common for all mice
[   12.938548] usbcore: registered new interface driver usbhid
[   12.943778] usbhid: USB HID core driver
[   12.951858] riscv-pmu-sbi: SBI PMU extension is available
[   12.957794] riscv-pmu-sbi: 15 firmware and 2 hardware counters
[   12.963182] riscv-pmu-sbi: Perf sampling/filtering is not supported as sscof extension is not available
[   13.004356] NET: Registered PF_INET6 protocol family
[   13.060308] Segment Routing with IPv6
[   13.066388] In-situ OAM (IOAM) with IPv6
[   13.071646] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   13.098604] NET: Registered PF_PACKET protocol family
[   13.108714] 9pnet: Installing 9P2000 support
[   13.119124] Key type dns_resolver registered
[   13.166106] mmc0: host does not support reading read-only switch, assuming write-enable
[   13.204346] mmc0: new high speed SDHC card at address aaaa
[   13.276614] mmcblk0: mmc0:aaaa SL32G 29.7 GiB
[   13.372602] Freeing unused kernel image (initmem) memory: 2148K
[   13.403688] Run /init as init process
[   13.411756]  mmcblk0: p1 p2
Loading, please wait...
Starting systemd-udevd version 252~rc3-2
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Warning: fsck not present, so skipping root file system
[  184.267246] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: disabled.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[  191.235570] systemd[1]: System time before build time, advancing clock.
[  192.204946] systemd[1]: systemd 252-2 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[  192.240010] systemd[1]: Detected architecture riscv64.

Welcome to Debian GNU/Linux bookworm/sid!

[  192.349064] systemd[1]: Hostname set to <debian>.
[  229.579074] systemd[1]: Queued start job for default target Graphical Interface.
[  229.744184] systemd[1]: Created slice Slice /system/getty.
[  OK  ] Created slice Slice /system/getty.
[  229.829082] systemd[1]: Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/modprobe.
[  229.908846] systemd[1]: Created slice Slice /system/serial-getty.
[  OK  ] Created slice Slice /system/serial-getty.
[  229.955632] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password ts to Console Directory Watch.
[  230.003536] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Ruests to Wall Directory Watch.
[  230.075122] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrarys File System Automount Point.
[  230.118956] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[  230.151642] systemd[1]: Reached target Local Integrity Protected Volumes.
[  OK  ] Reached target Local Integrity Protected Volumes.
[  230.189096] systemd[1]: Reached target Path Units.
[  OK  ] Reached target Path Units.
[  230.223832] systemd[1]: Reached target Slice Units.
[  OK  ] Reached target Slice Units.
[  230.255080] systemd[1]: Reached target System Time Set.
[  OK  ] Reached target System Time Set.
[  230.290334] systemd[1]: Reached target Local Verity Protected Volumes.
[  OK  ] Reached target Local Verity Protected Volumes.
[  230.800990] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  230.868168] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  230.914358] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  231.323726] systemd[1]: Journal Audit Socket was skipped because of an unmet condition check (ConditionSecurity=audit).
[  231.459838] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[  231.524562] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[  231.603756] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[  231.663336] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[  231.691594] systemd[1]: Reached target Socket Units.
[  OK  ] Reached target Socket Units.
[  231.748376] systemd[1]: Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[  231.903984] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[  232.279626] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[  232.412132] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[  232.495406] systemd[1]: Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab).
[  232.792612] systemd[1]: Create List of Static Device Nodes was skipped because of an unmet condition check (ConditionFileNotEmpty=/lib/modules/5.19.16-dirty/modules.devname).
[  233.199200] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[  233.587374] systemd[1]: Starting Load Kernel Module efi_pstore...
         Starting Load Kernel Module efi_pstore...
[  234.115632] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[  234.799006] systemd[1]: Starting File System Check on Root Device...
         Starting File System Check on Root Device...
[  235.848140] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[  236.519264] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[  236.699006] systemd[1]: Repartition Root Disk was skipped because no trigger condition checks were met.
[  237.298198] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[  239.387946] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  239.576410] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[  239.962876] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[  240.135754] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[  242.906930] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[  243.107576] systemd[1]: Finished Load Kernel Module efi_pstore.
[  OK  ] Finished Load Kernel Module efi_pstore.
[  243.555918] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[  243.738234] systemd[1]: Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module fuse.
[  244.179748] systemd[1]: Finished Load Kernel Modules.
[  OK  ] Finished Load Kernel Modules.
[  244.644110] systemd[1]: FUSE Control File System was skipped because of an unmet condition check (ConditionPathExists=/sys/fs/fuse/connections).
[  244.799372] systemd[1]: Kernel Configuration File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/config).
[  245.558212] systemd[1]: Started File System Check Daemon to report status.
[  OK  ] Started File System Check Daemon to report status.
[  246.435544] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[  246.936758] systemd[1]: Finished File System Check on Root Device.
[  OK  ] Finished File System Check on Root Device.
[  249.249000] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[  254.315186] systemd[1]: Finished Apply Kernel Variables.
[  OK  ] Finished Apply Kernel Variables.
[  256.247950] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: disabled.
[  257.028112] systemd[1]: Finished Remount Root and Kernel File Systems.
[  OK  ] Finished Remount Root and Kernel File Systems.
[  257.568974] systemd[1]: Activating swap /swapfile...
         Activating swap /swapfile...
[  257.691848] systemd[1]: First Boot Wizard was skipped because of an unmet condition check (ConditionFirstBoot=yes).
[  257.823946] systemd[1]: Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[  258.595946] systemd[1]: Starting Load/Save Random Seed...
         Starting Load/Save Random Seed...
[  259.358594] Adding 262140k swap on /swapfile.  Priority:-2 extents:6 across:647164k SS
[  259.627714] systemd[1]: Starting Create System Users...
         Starting Create System Users...
[  259.834240] systemd[1]: Activated swap /swapfile.
[  OK  ] Activated swap /swapfile.
[  261.858592] systemd[1]: Reached target Swaps.
[  OK  ] Reached target Swaps.
[  267.306698] random: crng init done
[  267.784378] systemd[1]: Finished Load/Save Random Seed.
[  OK  ] Finished Load/Save Random Seed.
[  267.952654] systemd[1]: First Boot Complete was skipped because of an unmet condition check (ConditionFirstBoot=yes).
[  268.646486] systemd[1]: Finished Create System Users.
[  OK  ] Finished Create System Users.
[  269.239888] systemd[1]: Starting Create Static Device Nodes in /dev...
         Starting Create Static Device Nodes in /dev...
[  271.064090] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  277.060886] systemd-journald[382]: Received client request to flush runtime journal.
[  277.219466] systemd-journald[382]: File /var/log/journal/3887dea573224fb2a8f2a453846d617f/system.journal corrupted or uncleanly shut down, renaming and replacing.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Preparation for Local File Systems.
         Starting Rule-based Managefor Device Events and Files...
[   ***] (2 of 5) A start job is running for /dev/ttyAU0 (53s / no limit)
[    **] (2 of 5) A start job is running for /dev/ttyAU0 (53s / no limit)
[     *] (2 of 5) A start job is running for /dev/ttyAU0 (54s / no limit)
[    **] (3 of 5) A start job is running for Events and Files (54s / no limit)
[   ***] (3 of 5) A start job is running for Events and Files (55s / no limit)
[  *** ] (3 of 5) A start job is running for Events and Files (55s / no limit)
[ ***  ] (4 of 5) A start job is running forisk/by-label/BOOT (56s / no limit)
[***   ] (4 of 5) A start job is running forisk/by-label/BOOT (56s / no limit)
[**    ] (4 of 5) A start job is running forisk/by-label/BOOT (57s / no limit)
[*     ] (5 of 5) A start job is running for All udev Devices (57s / no limit)
[  OK  ] Finished Flush Journal to Persistent Storage.
[**    ] (3 of 4) A start job is running forsk/by-label/BOOT (1min / no limit)
[***   ] (3 of 4) A start job is running forsk/by-label/BOOT (1min / no limit)
[ ***  ] (4 of 4) A start job is running for udev Devices (1min 1s / no limit)
[  *** ] (4 of 4) A start job is running for udev Devices (1min 1s / no limit)
[   ***] (4 of 4) A start job is running for udev Devices (1min 2s / no limit)
[    **] (1 of 4) A start job is running for /dev/ttyAU0 (1min 2s / no limit)
[     *] (1 of 4) A start job is running for /dev/ttyAU0 (1min 3s / no limit)
[    **] (1 of 4) A start job is running for /dev/ttyAU0 (1min 3s / no limit)
[   ***] (2 of 4) A start job is running fornts and Files (1min 4s / no limit)
[  *** ] (2 of 4) A start job is running fornts and Files (1min 4s / no limit)
[ ***  ] (2 of 4) A start job is running fornts and Files (1min 5s / no limit)
[***   ] (3 of 4) A start job is running forby-label/BOOT (1min 5s / no limit)
[**    ] (3 of 4) A start job is running forby-label/BOOT (1min 6s / no limit)
[*     ] (3 of 4) A start job is running forby-label/BOOT (1min 6s / no limit)
[**    ] (4 of 4) A start job is running for udev Devices (1min 7s / no limit)
[***   ] (4 of 4) A start job is running for udev Devices (1min 7s / no limit)
[ ***  ] (4 of 4) A start job is running for udev Devices (1min 8s / no limit)
[  *** ] (1 of 4) A start job is running for /dev/ttyAU0 (1min 8s / no limit)
[   ***] (1 of 4) A start job is running for /dev/ttyAU0 (1min 9s / no limit)
[    **] (1 of 4) A start job is running for /dev/ttyAU0 (1min 9s / no limit)
[     *] (2 of 4) A start job is running forts and Files (1min 10s / no limit)
[    **] (2 of 4) A start job is running forts and Files (1min 10s / no limit)
[   ***] (2 of 4) A start job is running forts and Files (1min 11s / no limit)
[  *** ] (3 of 4) A start job is running fory-label/BOOT (1min 11s / no limit)
[ ***  ] (3 of 4) A start job is running fory-label/BOOT (1min 12s / no limit)
[***   ] (3 of 4) A start job is running fory-label/BOOT (1min 12s / no limit)
[  OK  ] Started Rule-based Manager for Device Events and Files.
[**    ] (3 of 3) A start job is running forudev Devices (1min 15s / no limit)
[*     ] (3 of 3) A start job is running forudev Devices (1min 15s / no limit)
[**    ] (3 of 3) A start job is running forudev Devices (1min 16s / no limit)
[***   ] (1 of 3) A start job is running for /dev/ttyAU0 (1min 16s / no limit)
[ ***  ] (1 of 3) A start job is running for /dev/ttyAU0 (1min 17s / no limit)
[  *** ] (1 of 3) A start job is running for /dev/ttyAU0 (1min 17s / no limit)
[   ***] (2 of 3) A start job is running fory-label/BOOT (1min 18s / no limit)
[    **] (2 of 3) A start job is running fory-label/BOOT (1min 18s / no limit)
[     *] (2 of 3) A start job is running fory-label/BOOT (1min 19s / no limit)
[    **] (3 of 3) A start job is running forudev Devices (1min 19s / no limit)
[   ***] (3 of 3) A start job is running forudev Devices (1min 20s / no limit)
[  *** ] (3 of 3) A start job is running forudev Devices (1min 20s / no limit)
[ ***  ] (1 of 3) A start job is running for /dev/ttyAU0 (1min 21s / no limit)
[***   ] (1 of 3) A start job is running for /dev/ttyAU0 (1min 21s / no limit)
[**    ] (1 of 3) A start job is running for /dev/ttyAU0 (1min 22s / no limit)
[*     ] (2 of 3) A start job is running fory-label/BOOT (1min 22s / no limit)
[**    ] (2 of 3) A start job is running fory-label/BOOT (1min 23s / no limit)
[***   ] (2 of 3) A start job is running fory-label/BOOT (1min 23s / no limit)
[ ***  ] (3 of 3) A start job is running forudev Devices (1min 24s / no limit)
[  *** ] (3 of 3) A start job is running forudev Devices (1min 24s / no limit)
[   ***] (3 of 3) A start job is running forudev Devices (1min 25s / no limit)
[    **] (1 of 3) A start job is running for /dev/ttyAU0 (1min 25s / no limit)
[     *] (1 of 3) A start job is running for /dev/ttyAU0 (1min 26s / no limit)
[    **] (1 of 3) A start job is running for /dev/ttyAU0 (1min 26s / no limit)
[   ***] (2 of 3) A start job is running fory-label/BOOT (1min 27s / no limit)
[  *** ] (2 of 3) A start job is running fory-label/BOOT (1min 29s / no limit)
[ ***  ] (2 of 3) A start job is running fory-label/BOOT (1min 29s / no limit)
[***   ] (3 of 3) A start job is running forudev Devices (1min 30s / no limit)
[**    ] (3 of 3) A start job is running forudev Devices (1min 30s / no limit)
[*     ] (3 of 3) A start job is running forudev Devices (1min 31s / no limit)
[**    ] (1 of 3) A start job is running for /dev/ttyAU0 (1min 31s / no limit)
[***   ] (1 of 3) A start job is running for /dev/ttyAU0 (1min 32s / no limit)
[  OK  ] Finished Coldplug All udev Devices.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
[ ***  ] (2 of 2) A start job is running fory-label/BOOT (1min 38s / no limit)
[  *** ] (1 of 2) A start job is running for /dev/ttyAU0 (1min 39s / no limit)
[   ***] (1 of 2) A start job is running for /dev/ttyAU0 (1min 39s / no limit)
[    **] (1 of 2) A start job is running for /dev/ttyAU0 (1min 41s / no limit)
[     *] (2 of 2) A start job is running fory-label/BOOT (1min 42s / no limit)
[    **] (2 of 2) A start job is running fory-label/BOOT (1min 44s / no limit)
[   ***] (2 of 2) A start job is running fory-label/BOOT (1min 45s / no limit)
[  *** ] (1 of 2) A start job is running for /dev/ttyAU0 (1min 45s / no limit)
[ ***  ] (1 of 2) A start job is running for /dev/ttyAU0 (1min 47s / no limit)
[***   ] (1 of 2) A start job is running for /dev/ttyAU0 (1min 48s / no limit)
[**    ] (2 of 2) A start job is running fory-label/BOOT (1min 48s / no limit)
[*     ] (2 of 2) A start job is running fory-label/BOOT (1min 50s / no limit)
[**    ] (2 of 2) A start job is running fory-label/BOOT (1min 51s / no limit)
[***   ] (1 of 2) A start job is running for /dev/ttyAU0 (1min 51s / no limit)
[ ***  ] (1 of 2) A start job is running for /dev/ttyAU0 (1min 53s / no limit)
[  *** ] (1 of 2) A start job is running for /dev/ttyAU0 (1min 54s / no limit)
[   ***] (2 of 2) A start job is running fory-label/BOOT (1min 54s / no limit)
[    **] (2 of 2) A start job is running fory-label/BOOT (1min 57s / no limit)
[     *] (2 of 2) A start job is running fory-label/BOOT (1min 57s / no limit)
[    **] (1 of 2) A start job is running for /dev/ttyAU0 (2min / no limit)
[   ***] (1 of 2) A start job is running for /dev/ttyAU0 (2min / no limit)
[  *** ] (1 of 2) A start job is running for /dev/ttyAU0 (2min 3s / no limit)
[ ***  ] (2 of 2) A start job is running forby-label/BOOT (2min 3s / no limit)
[***   ] (2 of 2) A start job is running forby-label/BOOT (2min 6s / no limit)
[**    ] (2 of 2) A start job is running forby-label/BOOT (2min 6s / no limit)
[*     ] (1 of 2) A start job is running for /dev/ttyAU0 (2min 7s / no limit)
[**    ] (1 of 2) A start job is running for /dev/ttyAU0 (2min 7s / no limit)
[***   ] (1 of 2) A start job is running for /dev/ttyAU0 (2min 10s / no limit)
[ ***  ] (2 of 2) A start job is running fory-label/BOOT (2min 10s / no limit)
[  *** ] (2 of 2) A start job is running fory-label/BOOT (2min 12s / no limit)
[   ***] (2 of 2) A start job is running fory-label/BOOT (2min 13s / no limit)
[    **] (1 of 2) A start job is running for /dev/ttyAU0 (2min 14s / no limit)
[     *] (1 of 2) A start job is running for /dev/ttyAU0 (2min 14s / no limit)
[    **] (1 of 2) A start job is running for /dev/ttyAU0 (2min 17s / no limit)
[   ***] (2 of 2) A start job is running fory-label/BOOT (2min 17s / no limit)
[  *** ] (2 of 2) A start job is running fory-label/BOOT (2min 18s / no limit)
[ ***  ] (2 of 2) A start job is running fory-label/BOOT (2min 20s / no limit)
[***   ] (1 of 2) A start job is running for /dev/ttyAU0 (2min 20s / no limit)
[**    ] (1 of 2) A start job is running for /dev/ttyAU0 (2min 21s / no limit)
[*     ] (1 of 2) A start job is running for /dev/ttyAU0 (2min 21s / no limit)
[**    ] (2 of 2) A start job is running fory-label/BOOT (2min 22s / no limit)
[  OK  ] Found device /dev/disk/by-label/BOOT.
         Mounting /boot...
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Raise network interfaces...
         Starting Set Up Additional Binary Formats...
         Starting Create Volatile Files and Directories...
[***   ] (4 of 4) A start job is running for Directories (2min 38s / no limit)
[ ***  ] (4 of 4) A start job is running for Directories (2min 39s / no limit)
[  *** ] (1 of 4) A start job is running fork interfaces (2min 39s / no limit)
[   ***] (1 of 4) A start job is running fork interfaces (2min 40s / no limit)
[    **] (1 of 4) A start job is running fork interfaces (2min 43s / no limit)
         Mounting Arbitrary Executable File Formats File System...
[  OK  ] Mounted Arbitrary Executable File Formats File System.
[  OK  ] Finished Set Up Additional Binary Formats.
[  OK  ] Finished Create Volatile Files and Directories.
         Mounting RPC Pipe File System...
         Starting RPC bind portmap service...
         Starting Record System Boot/Shutdown in UTMP...
[  407.236924] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Mounted RPC Pipe File System.
[  OK  ] Reached target rpc_pipefs.target.
[  OK  ] Reached target NFS client services.
[  OK  ] Started RPC bind portmap service.
[  OK  ] Reached target Preparation for Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target RPC Port Mapper.
[     *] (2 of 3) A start job is running fortdown in UTMP (3min 4s / no limit)
[    **] (2 of 3) A start job is running fortdown in UTMP (3min 4s / no limit)
[   ***] (2 of 3) A start job is running fortdown in UTMP (3min 6s / no limit)
[  OK  ] Found device /dev/ttyAU0.
[  OK  ] Finished Record System Boot/Shutdown in UTMP.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
         Starting Notify NFS peers of a restart...
[  OK  ] Reached target Basic System.
         Starting Automounts filesystems on demand...
         Starting chrony, an NTP client/server...
         Starting Console server...
[  OK  ] Started Regular background program processing daemon.
         Starting Remove Stale Onlit4 Metadata Check Snapshots...
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
[  OK  ] Started Notify NFS peers of a restart.
[  OK  ] Started Automounts filesystems on demand.
[  OK  ] Started Console server.
[  OK  ] Finished Permit User Sessions.
[  *** ] (3 of 3) A start job is running forlient/server (3min 42s / no limit)
[ ***  ] (3 of 3) A start job is running forlient/server (3min 43s / no limit)
[  OK  ] Started Serial Getty on ttyAU0.
[  OK  ] Reached target Login Prompts.

Debian GNU/Linux bookworm/sid debian ttyAU0

debian login: [  475.211494] systemd-journald[382]: Oldest entry in /var/log/journal/3887dea573224fb2a8f2a453846d617f/system.journal is older than the configured file retention duration (1month), suggesting rotation.
[  475.290674] systemd-journald[382]: /var/log/journal/3887dea573224fb2a8f2a453846d617f/system.journal: Journal header limits reached or header out-of-date, rotating.


jay@DESKTOP-BFL8NEQ:~$ console -M 192.168.0.2 -l conservr rdr0
Enter conservr@debian's password:
[Enter `^Ec?' for help]
pwd
/
conservr@debian:/$ pwd
/
conservr@debian:/$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             42M     0   42M   0% /dev
tmpfs            24M  1.3M   23M   6% /run
/dev/mmcblk0p2  1.4G  947M  343M  74% /
tmpfs            46M     0   46M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
/dev/mmcblk0p1   64M   25M   40M  39% /boot
conservr@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=42768k,nr_inodes=10692,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=24576k,mode=755)
/dev/mmcblk0p2 on / type ext4 (rw,relatime,errors=remount-ro)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1830)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
ramfs on /run/credentials/systemd-sysctl.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-sysusers.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
ramfs on /run/credentials/systemd-tmpfiles-setup-dev.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
/dev/mmcblk0p1 on /boot type vfat (ro,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
ramfs on /run/credentials/systemd-tmpfiles-setup.service type ramfs (ro,nosuid,nodev,noexec,relatime,mode=700)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
-hosts on /net type autofs (rw,relatime,fd=6,pgrp=522,timeout=300,minproto=5,maxproto=5,indirect,pipe_ino=2664)
conservr@debian:/$ su -
Password:
root@debian:~# ping www.google.com
PING www.google.com (142.250.189.228) 56(84) bytes of data.
64 bytes from nuq04s39-in-f4.1e100.net (142.250.189.228): icmp_seq=1 ttl=113 time=30.9 ms
64 bytes from nuq04s39-in-f4.1e100.net (142.250.189.228): icmp_seq=2 ttl=113 time=22.2 ms
^C
--- www.google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 22.212/26.550/30.888/4.338 ms
root@debian:~#

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...