Fedora on Allwinner D1 Nezha Board
-
-
-
Smaeul's REPO
① SPL/BOOT0
② OpenSBI
③ U-Boot
④ Linux kernelTekkaman REPOs for Fedora Image
Firmware Build order
SPL(Boot0)
boot0 or SPL (Secondary Program Loader) which the first stage after BootROM, it is responsible for initializing DRAM and loading next stage firmware from storage(Flash or SD).Using Smaeul SPL directly.
Build binary
git clone https://github.com/smaeul/sun20i_d1_spl
pushd sun20i_d1_spl
git checkout origin/mainline
make CROSS_COMPILE=riscv64-linux-gnu- p=sun20iw1p1 mmc
popdFlash to SD card
pushd sun20i_d1_spl
sudo dd if=nboot/boot0_sdcard_sun20iw1p1.bin of=/dev/sdX bs=512 seek=16OpenSBI
RISC-V Open Source Supervisor Binary Interface, like arm-TFUsing Smaeul's patches, but rebase to the latest upstream OpenSBI, and fix some issue.
Tekkaman's OpenSBI REPO
Build binary
git clone https://github.com/tekkamanninja/opensbi -b allwinner_d1
pushd opensbi
CROSS_COMPILE=riscv64-linux-gnu- PLATFORM=generic FW_PIC=y make
popdThe build/platform/generic/firmware/fw_dynamic.bin will be used to make u-boot.toc1 below.
U-boot
Using Smaeul's patches, but enable more features and add some default env for auto-booting into GRUB, and also rebase to the latest upstream U-boot.Tekkaman's U-boot REPO
Build binary
git clone https://github.com/tekkamanninja/u-boot -b allwinner_d1
pushd u-boot
make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv nezha_defconfig
make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv menuconfig
make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv u-boot.bin u-boot.dtb
popdThe u-boot.bin and u-boot.dtb will be used to make u-boot.toc1 below.
Build u-boot.toc1
toc1.cfg:[opensbi] file = fw_dynamic.bin addr = 0x40000000 [dtb] file = u-boot.dtb addr = 0x44000000 [u-boot] file = u-boot.bin addr = 0x4a000000
build command:
pushd u-boot cp ${PATH_TO_TOC1_CFG}/toc1.cfg ${PATH_TO_OPENSBI}/fw_dynamic.bin . tools/mkimage -T sunxi_toc1 -d toc1.cfg u-boot.toc1 popd
Flash u-boot.toc1 to SD card
pushd u-boot sudo dd if=u-boot.toc1 of=/dev/sdX bs=512 seek=32800
GRUB for RISC-V
Please reference to this page: Architectures/RISC-V/GRUB2You can build a grubriscv64.efi by following the page above. Then put it into the /EFI/ dir of the EFI partition of SD card.
Some example files in the boot partition:
/boot/uEnv.txt
bootcmd=load mmc 0:2 0x58000000 /EFI/fedora/grubriscv64.efi; bootefi 0x58000000 bootcmd_mmc0=devnum=0; run mmc_boot
/grub.cfg
set default=0 set timeout_style=menu set timeout=3 set debug="linux,loader,mm" set term="vt100" menuentry 'Fedora vmlinux-5.15.0-rc1' { linux /vmlinuz-5.15.0-rc1 earlyprintk=sunxi-uart,0x02500000 console=ttyS0,115200 console=tty0 loglevel=8 root=/dev/mmcblk0p4 selinux=0 rhgb LANG=en_US.UTF-8 devicetree /sun20i-d1-nezha.dtb initrd /initramfs-5.15.0-rc1.img }
Linux kernel for Nezha D1 (WIP)
Using the patches from Smaeul/Ren Guo(T-HEAD)/Allwinner Engineers, enable almost all the features for Fedora,and also rebase to the latest upstream kernel master branch.Important reference
Linux kernel source from T-Head
Allwinner Engineer's REPO
WIP for Fedora
Tekkaman's Linux kernel REPONote: We are still working on this for Fedora Image
Build Linux Kernel for D1
Checkout Sourcegit clone https://github.com/tekkamanninja/linux.git pushd linux git checkout origin/allwinner_nezha_d1_devel popd
Config
pushd linux make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv nezha_fedora_defconfig make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv menuconfig popd
Cross Build and install
# RISCV_ROOTFS_BOOT is the mount point of the boot partition in SD card # RISCV_ROOTFS_BOOT=/run/media/../boot # RISCV_ROOTFS is the mount point of the Fedora rootfs partition in SD card # RISCV_ROOTFS=/run/media/../rootfs pushd linux make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv INSTALL_PATH=${RISCV_ROOTFS_BOOT} zinstall make CROSS_COMPILE=riscv64-linux-gnu- ARCH=riscv INSTALL_MOD_PATH=${RISCV_ROOTFS} modules_install popd
How to Build RPM package for D1
using rpmbuild on QEMU
How to boot Fedora on QEMU, please reference Architectures/RISC-V/Build Bootable Image#Run_Fedora_on_QEMUBoot into Fedora on QEMU, then:
prepare directory tree: Put spec file to /rpmbuild/SPECS and all source files to /rpmbuild/SOURCES
For building RPM package:#From spec file $ rpmbuild -ba ~/rpmbuild/SPECS/pakcage.spec #'''OR''' to build from an existing SRPM file: $ rpmbuild -ra package.src.rpm
Please reference to How to Create a GNU Hello World RPM Package for more RPM info.
using mock with Qemu usermod
We also can build riscv64 RPMS on x86_64 machine by mock and Qemu usermode.[WIP]How to Build your own Fedora Remix Image
Please reference to RISC-V: Build Bootable ImageHow to make D1 as a Koji Builder
If we have already deployed a koji hub(like openkoji and oepkg),then we can add a Nezha D1 as koji builder.For example:
oepkgs hosts
example build on D1 builder in oepkgs
Please follow the simple instruction below:NEED: koji CA certificate and builder authentication certificate: They are provided by koji hub admin.
Install necessary packages# dnf install koji-builder
Modifying /etc/kojid.conf
server=<koji hub XMLRPC server URL>
topurl=<koji HTT file share URL>
allowed_scms=<SCM repo rules>
cert=<builder certificate>
serverca=<koji CA certificate>
Trust koji hub's CA certcp koji_ca_cert.crt /etc/pki/ca-trust/source/anchors/ update-ca-trust
add host on koji hub (operated by koji hub admin)
koji add-host <hostname> riscv64 #The *hostname* should be same in authentication certificate.
Enable and start kojid
systemctl enable --now kojid
Verify koji builder online on koji hub (operated by koji hub admin):
koji list-hosts # After initialization: The new added builder's status should be ready in the list.
NOTICE:* builder won't ready until free space on /var/lib/mock is greater than 8GiB, and /var/lib/mock on NFS is not supported. Thus, using a high capacity SD card for builder and resize root file system to adapt all free space on SD is necessary.
-
[73]HELLO! BOOT0 is starting! [76]BOOT0 commit : d8bfb45 [79]set pll start [80]periph0 has been enabled [83]set pll end [85][pmu]: bus read error [87]board init ok [89]DRAM only have internal ZQ!! [92]get_pmu_exist() = -1 [94]ddr_efuse_type: 0x0 [97][AUTO DEBUG] single rank and full DQ! [101]ddr_efuse_type: 0x0 [104][AUTO DEBUG] rank 0 row = 15 [108][AUTO DEBUG] rank 0 bank = 8 [111][AUTO DEBUG] rank 0 page size = 2 KB [115]DRAM BOOT DRIVE INFO: V0.24 [118]DRAM CLK = 792 MHz [120]DRAM Type = 3 (2:DDR2,3:DDR3) [123]DRAMC ZQ value: 0x7b7bfb [126]DRAM ODT value: 0x42. [129]ddr_efuse_type: 0x0 [132]DRAM SIZE =512 M [135]DRAM simple test OK. [137]dram size =512 [139]card no is 0 [141]sdcard 0 line count 4 [144][mmc]: mmc driver ver 2021-04-2 16:45 [153][mmc]: Wrong media type 0x0 [156][mmc]: ***Try SD card 0*** [165][mmc]: HSSDR52/SDR25 4 bit [168][mmc]: 50000000 Hz [170][mmc]: 30000 MB [172][mmc]: ***SD/MMC 0 init OK!!!*** [220]Loading boot-pkg Succeed(index=0). [224]Entry_name = opensbi [227]Entry_name = u-boot [231]Entry_name = dtb [233]mmc not para [235]Jump to second Boot. OpenSBI v0.6 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : T-HEAD Xuantie Platform Platform HART Features : RV64ACDFIMSUVX Platform Max HARTs : 1 Current Hart : 0 Firmware Base : 0x40000400 Firmware Size : 75 KB Runtime SBI Version : 0.2 MIDELEG : 0x0000000000000222 MEDELEG : 0x000000000000b1ff PMP0 : 0x0000000040000000-0x000000004001ffff (A) PMP1 : 0x0000000040000000-0x000000007fffffff (A,R,W,X) PMP2 : 0x0000000080000000-0x00000000bfffffff (A,R,W,X) PMP3 : 0x0000000000020000-0x0000000000027fff (A,▒ U-Boot 2018.05-g1f23bb0-dirty-config-dirty (Jul 28 2021 - 09:28:46 +0800) Allwinner Technology [00.319]CPU: Allwinner Family [00.322]Model: sun20iw1 [00.324]DRAM: 512 MiB [00.327]Relocation Offset is: 1deec000 [00.331]secure enable bit: 0 [00.333]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.340]Model: sun20iw1 [00.342]flash init start [00.344]workmode = 0,storage type = 1 [00.347][mmc]: mmc driver ver uboot2018:2021-04-16 14:23:00-1 [00.353][mmc]: get sdc_type fail and use default host:tm1. [00.359][mmc]: can't find node "mmc0",will add new node [00.364][mmc]: fdt err returned <no error> [00.368][mmc]: Using default timing para [00.371][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.389][mmc]: card_caps:0x3000000a [00.392][mmc]: host_caps:0x3000003f [00.396]sunxi flash init ok [00.399]line:714 init_clocks __clk_init: clk pll_periph0x2 already initialized register fix_factor clk error [00.409]drv_disp_init fdt get node offset faill: hdmi [00.420]unable to map hdmi registers [00.423]drv_disp_init finish [00.426]boot_gui_init:start [00.429]set disp.dev0_output_type fail. using defval=0 GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** partno erro : can't find partition Reserve0 [00.461]Get Reserve0 partition number fail! no cfs of display devices. [00.468]LCD open finish [00.470]set disp.fb0_format fail. using defval=4294967295 [00.475]set disp.fb0_width fail. using defval=0 [00.479]set disp.fb0_height fail. using defval=0 bad fb0_cfg[w=0,h=0,bpp=32,format=-1] [00.487]boot_gui_init:finish GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** partno erro : can't find partition bootloader GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** partno erro : can't find partition boot-resource [00.546]Get bootloader and boot-resource partition number fail! GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** [00.576]Loading Environment from SUNXI_FLASH... GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** Can't find env partition *** Warning - no device, using default environment Failed (-19) [00.634]Item0 (Map) magic is bad [00.637]the secure storage item0 copy0 magic is bad [00.663]Item0 (Map) magic is bad [00.666]the secure storage item0 copy1 magic is bad [00.671]Item0 (Map) magic is bad [00.673]usb burn from boot delay time 0 weak:otg_phy_config [00.685]usb prepare ok [01.481]usb sof ok [01.482]usb probe ok [01.484]usb setup ok set address 0x19 set address 0x19 ok [04.489]do_burn_from_boot usb : have no handshake GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** [04.518]update part info GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** [04.544]update bootcmd GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0xFFFFFFFFFFFFFFFF != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** [04.595]change working_fdt 0x5eaabda8 to 0x5ea8bda8 fb_save_para: fb_id(0), lock=0 [04.617]update dts Autoboot in 2 seconds curr_device:0 Device: SUNXI SD/MMC Manufacturer ID: fe OEM: 3432 Name: SD16G Bus Speed: 50000000 Mode : SD High Speed (50MHz) Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 29.3 GiB Bus Width: 4-bit Erase Group Size: 512 Bytes [04.660][mmc]: card_caps:0x3000000a [04.663][mmc]: host_caps:0x3000003f Partition Map for MMC device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 2 69632 249856 9c692fec-02 0c 3 319488 1001472 9c692fec-03 83 Boot 4 1320960 23998464 9c692fec-04 83 <DIR> 4096 . <DIR> 4096 .. <DIR> 16384 lost+found <DIR> 4096 efi <DIR> 4096 grub2 <DIR> 4096 extlinux 9181868 vmlinuz-5.10.6-200.0.riscv64.fc33.riscv64 4806439 System.map-5.10.6-200.0.riscv64.fc33.riscv64 201491 config-5.10.6-200.0.riscv64.fc33.riscv64 <DIR> 4096 dtb-5.10.6-200.0.riscv64.fc33.riscv64 0 .vmlinuz-5.10.6-200.0.riscv64.fc33.riscv64.hmac 85111156 initramfs-5.10.6-200.0.riscv64.fc33.riscv64.img 20029440 boot-5.4.img 4754222 System.map-5.4.61 168713 config-5.4.61 34128648 initramfs-5.4.61.img 9111353 vmlinuz-5.4.61 20029440 bytes read in 863 ms (22.1 MiB/s) Android's image name: sun20i_riscv No reserved memory region found in source FDT [05.674] Starting kernel ... [05.676][mmc]: MMC Device 2 not found [05.680][mmc]: mmc 2 not find, so not exit [ 0.000000] OF: fdt: Ignoring memory range 0x40000000 - 0x40200000 [ 0.000000] Linux version 5.4.61 (fedora@openkoji) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.3 B20200528) 8.1.0, GNU ld (GNU Binutils) 2.32) #3 PREEMPT Mon Jun 28 22:29:58 CST 2021 [ 0.000000] Initial ramdisk at: 0x(____ptrval____) (16777216 bytes) [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000040200000-0x000000005fffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000040200000-0x000000005fffffff] [ 0.000000] Zeroed struct page in unavailable ranges: 512 pages [ 0.000000] Initmem setup node 0 [mem 0x0000000040200000-0x000000005fffffff] [ 0.000000] On node 0 totalpages: 130560 [ 0.000000] DMA32 zone: 2040 pages used for memmap [ 0.000000] DMA32 zone: 0 pages reserved [ 0.000000] DMA32 zone: 130560 pages, LIFO batch:31 [ 0.000000] elf_hwcap is 0x20112d [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 128520 [ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 console=tty0 loglevel=8 root=/dev/mmcblk0p4 init=/sbin/init cma=8M mac_addr=84:10:12:12:01:04 wifi_mac=84:10:12:84:10:27 bt_mac=84:10:12:88:88:88 specialstr=tekkamanninja androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g1f23bb0-dirty-config-dirty(07/28/2021-09:28:46) mbr_offset=1556480 disp_reserve=12308736,0x4e01438143014281 androidboot.dramsize=512 [ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.000000] Sorting __ex_table... [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 460656K/522240K available (11242K kernel code, 1763K rwdata, 4998K rodata, 844K init, 696K bss, 61584K reserved, 0K cma-reserved) [ 0.000000] random: get_random_u64 called from __kmem_cache_create+0x42/0x49a with crng_init=0 [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] ftrace: allocating 44793 entries in 175 pages [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 [ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. [ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] [ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000007] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000027] riscv_timer_clockevent depends on broadcast, but no broadcast function available [ 0.000366] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.001078] Console: colour dummy device 80x25 [ 0.002558] printk: console [tty0] enabled [ 0.002621] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.002708] pid_max: default: 32768 minimum: 301 [ 0.002999] LSM: Security Framework initializing [ 0.003120] Yama: becoming mindful. [ 0.003212] SELinux: Initializing. [ 0.003372] *** VALIDATE SELinux *** [ 0.003557] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.003647] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.003842] *** VALIDATE tmpfs *** [ 0.004872] *** VALIDATE proc *** [ 0.005353] *** VALIDATE cgroup1 *** [ 0.005412] *** VALIDATE cgroup2 *** [ 0.007274] ASID allocator initialised with 65536 entries [ 0.007600] rcu: Hierarchical SRCU implementation. [ 0.011718] devtmpfs: initialized [ 0.035565] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.035672] futex hash table entries: 256 (order: 0, 6144 bytes, linear) [ 0.036139] xor: measuring software checksum speed [ 0.130339] 8regs : 1580.000 MB/sec [ 0.230431] 8regs_prefetch: 1576.000 MB/sec [ 0.330547] 32regs : 1708.400 MB/sec [ 0.430661] 32regs_prefetch: 1704.000 MB/sec [ 0.430707] xor: using function: 32regs (1708.400 MB/sec) [ 0.430761] pinctrl core: initialized pinctrl subsystem [ 0.432991] NET: Registered protocol family 16 [ 0.434728] DMA: preallocated 256 KiB pool for atomic allocations [ 0.434815] audit: initializing netlink subsys (disabled) [ 0.436382] audit: type=2000 audit(0.430:1): state=initialized audit_enabled=0 res=1 [ 0.436579] cpuidle: using governor menu [ 0.493762] rtc_ccu: sunxi ccu init OK [ 0.500753] clock: sunxi ccu init OK [ 0.501759] clock: sunxi ccu init OK [ 0.529689] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 1.507006] alg: No test for 842 (842-generic) [ 1.507434] alg: No test for 842 (842-scomp) [ 1.540189] raid6: using algorithm int64x8 gen() 0 MB/s [ 1.540245] raid6: .... xor() 0 MB/s, rmw enabled [ 1.540287] raid6: using intx1 recovery algorithm [ 1.540705] fbcon: Taking over console [ 1.542948] iommu: Default domain type: Translated [ 1.543242] sunxi iommu: irq = 4 [ 1.544335] vgaarb: loaded [ 1.545318] SCSI subsystem initialized [ 1.545758] libata version 3.00 loaded. [ 1.546326] usbcore: registered new interface driver usbfs [ 1.546516] usbcore: registered new interface driver hub [ 1.546712] usbcore: registered new device driver usb [ 1.546982] mc: Linux media interface: v0.10 [ 1.547107] videodev: Linux video capture interface: v2.00 [ 1.547297] pps_core: LinuxPPS API ver. 1 registered [ 1.547349] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 1.547460] PTP clock support registered [ 1.547963] EDAC MC: Ver: 3.0.0 [ 1.549899] sunxi-msgbox-amp 3003000.msgbox: invalid resource [ 1.551152] Advanced Linux Sound Architecture Driver Initialized. [ 1.552496] pwm module init! [ 1.554688] g2d 5410000.g2d: Adding to iommu group 0 [ 1.555309] G2D: rcq version initialized.major:246 [ 1.556244] input: sunxi-keyboard as /devices/virtual/input/input0 [ 1.558782] clocksource: Switched to clocksource riscv_clocksource [ 2.554466] *** VALIDATE bpf *** [ 2.555197] VFS: Disk quotas dquot_6.6.0 [ 2.555374] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 2.555575] *** VALIDATE ramfs *** [ 2.555657] *** VALIDATE hugetlbfs *** [ 2.571887] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 2.596718] thermal_sys: Registered thermal governor 'fair_share' [ 2.596725] thermal_sys: Registered thermal governor 'step_wise' [ 2.597374] NET: Registered protocol family 2 [ 2.598710] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [ 2.598997] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 2.599132] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 2.599219] TCP: Hash tables configured (established 4096 bind 4096) [ 2.599422] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 2.599512] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 2.600040] NET: Registered protocol family 1 [ 2.601226] RPC: Registered named UNIX socket transport module. [ 2.601286] RPC: Registered udp transport module. [ 2.601327] RPC: Registered tcp transport module. [ 2.601367] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 2.601420] NET: Registered protocol family 44 [ 2.601475] PCI: CLS 0 bytes, default 64 [ 2.602428] Trying to unpack rootfs image as initramfs... [ 2.602503] Initramfs unpacking failed: invalid magic at start of compressed archive [ 2.616141] Freeing initrd memory: 16384K [ 2.619573] Initialise system trusted keyrings [ 2.619704] Key type blacklist registered [ 2.620059] workingset: timestamp_bits=46 max_order=17 bucket_order=0 [ 2.635026] zbud: loaded [ 2.641332] NFS: Registering the id_resolver key type [ 2.641419] Key type id_resolver registered [ 2.641461] Key type id_legacy registered [ 2.641519] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 2.641583] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 2.642000] SGI XFS with ACLs, security attributes, scrub, no debug enabled [ 2.666932] NET: Registered protocol family 38 [ 2.666999] async_tx: api initialized (async) [ 2.667066] Key type asymmetric registered [ 2.667108] Asymmetric key parser 'x509' registered [ 2.667224] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [ 2.667658] io scheduler mq-deadline registered [ 2.667715] io scheduler kyber registered [ 2.668102] io scheduler bfq registered [ 2.668412] atomic64_test: passed [ 2.672062] switchtec: loaded. [ 2.672270] [DISP]disp_module_init [ 2.673115] disp 5000000.disp: Adding to iommu group 0 [ 2.712185] display_fb_request,fb_id:0 [ 2.739589] [DISP] Fb_copy_boot_fb,line:1444: [ 2.739593] no boot_fb0 [ 2.740214] disp_al_manager_apply ouput_type:0 [ 2.740508] [DISP] lcd_clk_config,line:731: [ 2.740522] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) [ 2.740522] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) [ 2.741754] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [ 3.369298] Console: switching to colour frame buffer device 100x80 [ 3.406823] [DISP]disp_module_init finish [ 3.408303] sunxi_sid_init()506 - insmod ok [ 3.409690] pwm-regulator: supplied by regulator-dummy [ 3.410552] Error: Driver 'pwm-regulator' is already registered, aborting... [ 3.421563] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 3.422481] uart uart0: get regulator failed [ 3.422709] uart uart0: uart0 supply uart not found, using dummy regulator [ 3.423470] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI [ 3.423846] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n [ 4.475578] printk: console [ttyS0] enabled [ 4.481583] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 4.493549] uart uart1: get regulator failed [ 4.498560] uart uart1: uart1 supply uart not found, using dummy regulator [ 4.507025] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI [ 4.518478] misc dump reg init [ 4.523265] loop: module loaded [ 4.614255] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 [ 4.621805] sunxi-rfkill soc@3000000:rfkill@0: devm_pinctrl_get() failed! [ 4.629804] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 4.637388] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 4.645214] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) [ 4.652034] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. [ 4.659257] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1) [ 4.667290] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1 [ 4.675491] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 [ 4.684031] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled [ 4.692085] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. [ 4.699196] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1) [ 4.707008] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0 [ 4.715825] [ADDR_MGT] addr_mgt_probe: module version: v1.0.9 [ 4.723836] [ADDR_MGT] addr_mgt_probe: success. [ 4.731478] Rounding down aligned max_sectors from 4294967295 to 4294967288 [ 4.739967] db_root: cannot open: /etc/target [ 4.746373] libphy: Fixed MDIO Bus: probed [ 4.753180] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 4.765105] sunxi gmac driver's version: 1.0.0 [ 4.770563] gmac-power0: NULL [ 4.774049] gmac-power1: NULL [ 4.777486] gmac-power2: NULL [ 4.782840] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.790573] ehci-pci: EHCI PCI platform driver [ 4.795885] sunxi-ehci: EHCI SUNXI driver [ 4.801173] get ehci1-controller wakeup-source is fail. [ 4.807417] sunxi ehci1-controller don't init wakeup source [ 4.813943] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe001302d00, 0x:ffffffd0044ac000, irq_no:31 [ 4.842316] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator [ 4.884476] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 4.907305] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 4.932350] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 [ 4.978850] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 5.002047] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04 [ 5.026310] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.049321] usb usb1: Product: EHCI Host Controller [ 5.069713] usb usb1: Manufacturer: Linux 5.4.61 ehci_hcd [ 5.090767] usb usb1: SerialNumber: sunxi-ehci [ 5.111807] hub 1-0:1.0: USB hub found [ 5.130966] hub 1-0:1.0: 1 port detected [ 5.151103] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.172821] ohci-pci: OHCI PCI platform driver [ 5.192679] sunxi-ohci: OHCI SUNXI driver [ 5.212629] get ohci1-controller wakeup-source is fail. [ 5.233544] sunxi ohci1-controller don't init wakeup source [ 5.254810] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe001303840 [ 5.296173] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator [ 5.340072] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 5.363662] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 5.389587] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 [ 5.483195] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.04 [ 5.508525] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 5.532638] usb usb2: Product: OHCI Host Controller [ 5.554021] usb usb2: Manufacturer: Linux 5.4.61 ohci_hcd [ 5.575788] usb usb2: SerialNumber: sunxi-ohci [ 5.597397] hub 2-0:1.0: USB hub found [ 5.617208] hub 2-0:1.0: 1 port detected [ 5.638189] uhci_hcd: USB Universal Host Controller Interface driver [ 5.661520] usbcore: registered new interface driver usbserial_generic [ 5.684464] usbserial: USB Serial support registered for generic [ 5.707150] mousedev: PS/2 mouse device common for all mice [ 5.730466] sunxi_gpadc_init,1968, success [ 5.751387] sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1 [ 5.794764] sunxi-rtc 7090000.rtc: registered as rtc0 [ 5.815963] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:11 UTC (11) [ 5.840452] sunxi-rtc 7090000.rtc: sunxi rtc probed [ 5.862422] sunxi cedar version 1.1 [ 5.881640] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 5.902993] VE: install start!!! [ 5.902993] [ 5.938172] VE: cedar-ve the get irq is 6 [ 5.938172] [ 5.973702] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) [ 5.973702] [ 6.014964] VE: install end!!! [ 6.014964] [ 6.053222] sunxi-wdt 6011000.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 6.078360] device-mapper: uevent: version 1.0.3 [ 6.099689] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel@redhat.com [ 6.125901] device-mapper: multipath round-robin: version 1.2.0 loaded [ 6.148932] device-mapper: multipath queue-length: version 0.2.0 loaded [ 6.172060] device-mapper: multipath service-time: version 0.3.0 loaded [ 6.195282] device-mapper: dm-log-userspace: version 1.3.0 loaded [ 6.217795] device-mapper: raid: Loading target version 1.14.0 [ 6.240813] EDAC DEVICE0: Giving out device to module Sifive ECC Manager controller sifive_edac.0: DEV sifive_edac.0 (INTERRUPT) [ 6.289497] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.19 2021-03-24 19:50) [ 6.315816] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 6.338228] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 6.360682] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 6.383180] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 6.405415] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 6.427517] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 6.449529] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 6.471396] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 6.493842] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 6.514613] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail [ 6.536640] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 6.578307] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 6.614052] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 6.669645] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 6.712129] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 6.733950] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.19 2021-03-24 19:50) [ 6.759537] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 6.781192] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 6.802947] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 6.824752] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 6.866769] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 6.888599] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 6.910860] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 6.932694] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 6.954429] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 6.976159] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 7.000016] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.042802] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.084850] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 7.109739] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.151908] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.206940] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 7.230139] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 7.253289] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 7.275356] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.317833] ledtrig-cpu: registered to indicate activity on CPUs [ 7.340179] hidraw: raw HID events driver (C) Jiri Kosina [ 7.362751] usbcore: registered new interface driver usbhid [ 7.384567] usbhid: USB HID core driver [ 7.404403] mmc0: host does not support reading read-only switch, assuming write-enable [ 7.429899] [perf] PMU initialization done [ 7.450136] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.496566] sunxi-rpaf-dsp soc@3000000:rpaf-dsp@203034c: register device finished! [ 7.521151] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 7.564455] sunxi-rpaf-dsp soc@3000000:rpaf-dsp@203034c: [rpaf_dsp0] probe finished! [ 7.589883] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.514.258: id:sunxi,dsp-msgbox new channel: 0x202 -> 0x102! [ 7.633802] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 7.678429] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 7.702307] rpmsg_hifi 3003000.msgbox.sunxi,dsp-msgbox.514.258: rpmsg hifi[0] client driver is probed [ 7.746498] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 7.770959] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 7.816808] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 7.841255] drop_monitor: Initializing network drop monitor service [ 7.865725] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 7.890036] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 7.936923] Initializing XFRM netlink socket [ 7.959182] mmc0: new high speed SDHC card at address 0001 [ 7.984510] NET: Registered protocol family 10 [ 8.008569] mmcblk0: mmc0:0001 SD16G 29.3 GiB [ 8.038876] mmcblk0: p2 p3 p4 [ 8.061174] Segment Routing with IPv6 [ 8.085767] mip6: Mobile IPv6 [ 8.106518] NET: Registered protocol family 17 [ 8.128447] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 8.176809] random: fast init done [ 8.198311] Key type dns_resolver registered [ 8.222403] registered taskstats version 1 [ 8.244421] Loading compiled-in X.509 certificates [ 8.272398] Loaded X.509 cert 'Build time autogenerated kernel key: 1061d109290264eaada740d3354699576e065b43' [ 8.319447] zswap: loaded using pool lzo/zbud [ 8.342825] Key type ._fscrypt registered [ 8.365434] Key type .fscrypt registered [ 8.387820] Key type fscrypt-provisioning registered [ 8.425138] Key type big_key registered [ 8.451507] Key type encrypted registered [ 8.473808] ima: No TPM chip found, activating TPM-bypass! [ 8.497558] ima: Allocated hash algorithm: sha256 [ 8.520199] ima: No architecture policies found [ 8.543426] HDMI 2.0 driver init start! [ 8.564813] boot_hdmi=false [ 8.584909] ERROR: pinctrl_get for HDMI2.0 DDC fail [ 8.609320] HDMI2.0 module init end [ 8.681437] get ehci0-controller wakeup-source is fail. [ 8.704503] sunxi ehci0-controller don't init wakeup source [ 8.727839] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe001302940, 0x:ffffffd0044f2000, irq_no:2e [ 8.775339] [sunxi-ehci0]: Not init ehci0 [ 8.797535] get ohci0-controller wakeup-source is fail. [ 8.820887] sunxi ohci0-controller don't init wakeup source [ 8.844640] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe001303480 [ 8.890539] [sunxi-ohci0]: Not init ohci0 [ 8.916140] clk: Not disabling unused clocks [ 8.938938] ALSA device list: [ 8.959622] No soundcards found. [ 8.980654] alloc_fd: slot 0 not NULL! [ 9.002138] md: Waiting for all devices to be available before autodetect [ 9.026927] md: If you don't use raid, use raid=noautodetect [ 9.051642] md: Autodetecting RAID arrays. [ 9.073089] md: autorun ... [ 9.092757] md: ... autorun DONE. [ 9.130145] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null) [ 9.156137] VFS: Mounted root (ext4 filesystem) readonly on device 179:4. [ 9.189759] devtmpfs: mounted [ 12.238858] hdmi_hpd_sys_config_release [ 12.458644] Freeing unused kernel memory: 844K [ 12.480226] This architecture does not have kernel memory protection. [ 12.504169] Run /sbin/init as init process [ 12.538863] [ 12.538863] insmod_device_driver [ 12.538863] [ 13.496098] SELinux: Disabled at runtime. [ 13.618935] audit: type=1404 audit(19.300:2): enforcing=0 old_enforcing=0 auid=4294967295 ses=4294967295 enabled=0 old-enabled=1 lsm=selinux res=1 [ 13.684363] systemd[1]: System time before build time, advancing clock. [ 13.767871] systemd[1]: systemd v246.6-3.0.riscv64.fc33 running in system mode. (+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD -SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified) [ 13.843456] systemd[1]: Detected architecture riscv64. [ 13.929099] systemd[1]: Set hostname to <fedora-riscv>. [ 13.974303] random: systemd: uninitialized urandom read (16 bytes read) [ 13.997224] systemd[1]: Initializing machine ID from random generator. [ 14.020255] systemd[1]: Installed transient /etc/machine-id file. [ 14.780762] random: zram-generator: uninitialized urandom read (16 bytes read) [ 15.372370] random: lvmconfig: uninitialized urandom read (4 bytes read) [ 16.370958] zram_generator::generator[153]: Creating dev-zram0.swap for /dev/zram0 (233MB) [ 16.577399] systemd[133]: /usr/lib/systemd/system-generators/zram-generator failed with exit status 1. [ 17.342453] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-pre-udev.service:27: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 17.414241] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-pre-udev.service:28: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether. [ 17.493734] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-pre-trigger.service:23: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 17.569358] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-pre-trigger.service:24: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether. [ 17.652698] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-pre-pivot.service:30: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 17.730684] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-pre-pivot.service:31: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether. [ 17.832028] systemd[1]: /usr/lib/systemd/system/gssproxy.service:13: PIDFile= references a path below legacy directory /var/run/, updating /var/run/gssproxy.pid → /run/gssproxy.pid; please update the unit file accordingly. [ 17.999227] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-pre-mount.service:22: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 18.081663] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-pre-mount.service:23: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether. [ 18.172102] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-mount.service:22: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 18.257581] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-mount.service:23: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether. [ 18.349843] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-initqueue.service:24: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 18.437906] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-initqueue.service:25: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether. [ 18.532375] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-cmdline.service:26: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 18.622388] systemd[1]: /usr/lib/dracut/modules.d/98dracut-systemd/dracut-cmdline.service:27: Standard output type syslog+console is obsolete, automatically updating to journal+console. Please update your unit file, and consider removing the setting altogether. [ 18.942219] systemd[1]: /usr/lib/systemd/system/ip6tables.service:14: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 19.033132] systemd[1]: /usr/lib/systemd/system/ip6tables.service:15: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 19.128469] systemd[1]: /usr/lib/systemd/system/iptables.service:14: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 19.221992] systemd[1]: /usr/lib/systemd/system/iptables.service:15: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether. [ 19.383633] systemd[1]: /usr/lib/systemd/system/plymouth-start.service:15: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed. [ 19.645206] systemd[1]: Queued start job for default target Graphical Interface. [ 19.682303] random: systemd: uninitialized urandom read (16 bytes read) [ 19.724056] systemd[1]: Created slice system-getty.slice. [ 19.782151] random: systemd: uninitialized urandom read (16 bytes read) [ 19.818010] systemd[1]: Created slice system-modprobe.slice. [ 19.875328] random: systemd: uninitialized urandom read (16 bytes read) [ 19.911964] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 19.974251] systemd[1]: Created slice system-sshd\x2dkeygen.slice. [ 20.036327] systemd[1]: Created slice system-swap\x2dcreate.slice. [ 20.098304] systemd[1]: Created slice User and Session Slice. [ 20.157267] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 20.220661] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 20.309276] systemd[1]: Reached target Slices. [ 20.366523] systemd[1]: Listening on Device-mapper event daemon FIFOs. [ 20.426288] systemd[1]: Listening on LVM2 poll daemon socket. [ 20.484214] systemd[1]: Listening on multipathd control socket. [ 20.552194] systemd[1]: Listening on Process Core Dump Socket. [ 20.609144] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 20.667194] systemd[1]: Listening on Journal Audit Socket. [ 20.723303] systemd[1]: Listening on Journal Socket (/dev/log). [ 20.779946] systemd[1]: Listening on Journal Socket. [ 20.834974] systemd[1]: Listening on udev Control Socket. [ 20.889521] systemd[1]: Listening on udev Kernel Socket. [ 20.943416] systemd[1]: Listening on User Database Manager Socket. [ 21.008016] systemd[1]: Mounting Huge Pages File System... [ 21.099335] systemd[1]: Mounting POSIX Message Queue File System... [ 21.190194] systemd[1]: Mounting Kernel Debug File System... [ 21.278596] systemd[1]: Mounting Kernel Trace File System... [ 21.357581] systemd[1]: Condition check resulted in Kernel Module supporting RPCSEC_GSS being skipped. [ 21.412279] systemd[1]: Condition check resulted in Create list of static device nodes for the current kernel being skipped. [ 21.477538] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling... [ 21.610248] systemd[1]: Starting Load Kernel Module drm... [ 21.770511] systemd[1]: Starting Preprocess NFS configuration convertion... [ 21.909007] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. [ 21.975299] systemd[1]: Starting Load Kernel Modules... [ 22.080606] systemd[1]: Starting Remount Root and Kernel File Systems... [ 22.220955] systemd[1]: Condition check resulted in Repartition Root Disk being skipped. [ 22.340520] systemd[1]: Starting Coldplug All udev Devices... [ 22.510666] systemd[1]: Starting Setup Virtual Console... [ 22.778202] systemd[1]: Mounted Huge Pages File System. [ 22.937564] EXT4-fs (mmcblk0p4): re-mounted. Opts: (null) [ 23.093250] systemd[1]: Mounted POSIX Message Queue File System. [ 23.233322] systemd[1]: Mounted Kernel Debug File System. [ 23.453665] systemd[1]: Mounted Kernel Trace File System. [ 23.611771] systemd[1]: modprobe@drm.service: Succeeded. [ 23.699250] systemd[1]: Finished Load Kernel Module drm. [ 23.797996] systemd[1]: nfs-convert.service: Succeeded. [ 23.861913] systemd[1]: Finished Preprocess NFS configuration convertion. [ 23.970774] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE [ 24.070946] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'. [ 24.139315] systemd[1]: Failed to start Load Kernel Modules. [ 24.279193] systemd[1]: Finished Remount Root and Kernel File Systems. [ 24.411025] systemd[1]: Condition check resulted in FUSE Control File System being skipped. [ 24.529824] systemd[1]: Mounting Kernel Configuration File System... [ 24.674525] systemd[1]: Condition check resulted in OSTree Remount OS/ Bind Mounts being skipped. [ 24.740088] systemd[1]: Condition check resulted in First Boot Wizard being skipped. [ 24.821792] systemd[1]: Starting Rebuild Hardware Database... [ 24.980505] systemd[1]: Starting Load/Save Random Seed... [ 25.210689] systemd[1]: Starting Apply Kernel Variables... [ 25.490497] systemd[1]: Starting Create System Users... [ 25.829195] systemd[1]: Finished Setup Virtual Console. [ 26.051460] systemd[1]: Mounted Kernel Configuration File System. [ 26.252633] systemd[1]: Finished Apply Kernel Variables. [ 26.425058] systemd[1]: Finished Create System Users. [ 26.590753] systemd[1]: Starting Create Static Device Nodes in /dev... [ 27.313389] systemd[1]: Finished Create Static Device Nodes in /dev. [ 27.419193] systemd[1]: Finished Coldplug All udev Devices. [ 27.540753] systemd[1]: Started Entropy Daemon based on the HAVEGE algorithm. [ 27.720542] systemd[1]: Starting Journal Service... [ 27.950435] systemd[1]: Starting Wait for udev To Complete Device Initialization... [ 29.419676] systemd[1]: Started Journal Service. [ 29.579794] audit: type=1130 audit(1607040015.890:3): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 30.709362] audit: type=1130 audit(1607040017.020:4): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journal-flush comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 33.869871] random: crng init done [ 33.932971] random: 4 urandom warning(s) missed due to ratelimiting [ 33.966119] audit: type=1130 audit(1607040020.270:5): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-random-seed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 38.157354] audit: type=1130 audit(1607040024.460:6): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hwdb-update comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 38.790536] audit: type=1130 audit(1607040025.100:7): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udevd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ OK ] Started Show Plymouth Boot Screen. [ 39.090111] audit: type=1130 audit(1607040025.380:8): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=plymouth-start comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ OK ] Started Forward Password Requests to Plymouth Directory Watch. [ OK ] Reached target Paths. [ 39.528916] usb1-vbus: disabling [ OK ] Found device /dev/ttyS0. [ OK ] Reached target Hardware activated USB gadget. [ OK ] Found device /dev/disk/by-uuid/3f1cf5b8-b6b2-4493-84a0-9d939e902a65. [ OK ] Finished Monitoring of LVM2 mirrors,…etc. using dmeventd or progress polling. [ 43.719298] audit: type=1130 audit(1607040030.030:9): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lvm2-monitor comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. Starting Load/Save RF Kill Switch Status... [ 44.860753] audit: type=1130 audit(1607040031.170:10): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ OK ] Started Load/Save RF Kill Switch Status. [ OK ] Finished Wait for ude[ 47.675734] audit: type=1130 audit(1607040033.980:11): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udev-settle comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' v To Complete Device Initialization. Starting Activation of DM RAID sets... [ 50.639132] zram_generator::generator[252]: Creating dev-zram0.swap for /dev/zram0 (233MB) [ 52.448508] audit: type=1131 audit(1607040038.750:12): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ OK ] Finished Activation of DM RAID sets. [ OK ] Reached target Local Encrypted Volumes. [ OK ] Reached target Local File Systems (Pre). Mounting /boot... [ 52.690127] audit: type=1130 audit(1607040038.880:13): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=dmraid-activation comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 52.691006] audit: type=1131 audit(1607040038.880:14): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=dmraid-activation comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 52.695536] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null) [ 52.695573] ext4 filesystem being mounted at /boot supports timestamps until 2038 (0x7fffffff) [ OK ] Mounted /boot. [ TIME ] Timed out waiting for device /dev/zram0. [DEPEND] Dependency failed for Compressed swap on /dev/zram0. [DEPEND] Dependency failed for Create swap on /dev/zram0. [ OK ] Reached target Swap. Mounting Temporary Directory (/tmp)... [ OK ] Mounted Temporary Directory (/tmp). [ OK ] Reached target Local File Systems. Starting Restore /run/initramfs on shutdown... Starting Rebuild Dynamic Linker Cache... Starting Tell Plymouth To Write Out Runtime Data... Starting Mark the need to relabel after reboot... Starting Commit a transient machine-id on disk... Starting Create Volatile Files and Directories... [ 111.056534] audit: type=1130 audit(1607040097.360:15): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=dracut-shutdown comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 111.361061] audit: type=1130 audit(1607040097.670:16): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=selinux-autorelabel-mark comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ 111.600487] audit: type=1130 audit(1607040097.900:17): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-machine-id-commit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' [ OK ] Finished Restore /run/initramfs on shutdown. [ OK ] Finished Mark the need to relabel after reboot. [ OK ] Finished Commit a transient machine-id on disk. [ OK [ 111.984496] audit: type=1130 audit(1607040098.290:18): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=plymouth-read-write comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' ] Finished Tell Plymouth To Write Out Runtime Data. [ OK ] Finished Create Volatile Files and Directories. [ 112.156533] audit: type=1130 audit(1607040098.460:19): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Mounting RPC Pipe File System... Starting Security Auditing Service... Starting Rebuild Journal Catalog... [ OK ] Mounted RPC Pipe File System. [ OK ] Reached target rpc_pipefs.target. [ 112.794910] audit: type=1305 audit(1607040099.100:20): op=set audit_enabled=1 old=1 auid=4294967295 ses=4294967295 res=1 [ 112.940702] audit: type=1305 audit(1607040099.160:21): op=set audit_pid=268 old=0 auid=4294967295 ses=4294967295 res=1 [ OK ] Finished Rebuild Journal Catalog. [ OK ] Started Security Auditing Service. Starting Update UTMP about System Boot/Shutdown... [ OK ] Finished Update UTMP about System Boot/Shutdown. [ OK ] Finished Rebuild Dynamic Linker Cache. Starting Update is Completed... [ OK ] Finished Update is Completed. [ OK ] Reached target System Initialization. [ OK ] Started dnf makecache --timer. [ OK ] Started Discard unused blocks once a week. [ OK ] Started Run system activity accounting tool every 10 minutes. [ OK ] Started Generate summary of yesterday's process accounting. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Started daily update of the root trust anchor for DNSSEC. [ OK ] Reached target Timers. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Listening on SSSD Kerberos Cache Manager responder socket. [ OK ] Reached target Sockets. Starting D-Bus System Message Bus... [ OK ] Started D-Bus System Message Bus. [ OK ] Reached target Basic System. Starting Avahi mDNS/DNS-SD Stack... Starting Builds and install new kernel modules through DKMS... Starting firewalld - dynamic firewall daemon... Starting GSSAPI Proxy Daemon... Starting LSB: Init script for live image.... Starting RealtimeKit Scheduling Policy Service... Starting OpenSSH ecdsa Server Key Generation... Starting OpenSSH ed25519 Server Key Generation... Starting OpenSSH rsa Server Key Generation... Starting System Security Services Daemon... Starting Resets System Activity Logs... Starting Home Area Manager... Starting Disk Manager... Starting Daemon for power management... [ OK ] Started GSSAPI Proxy Daemon. [ OK ] Finished OpenSSH ecdsa Server Key Generation. [ OK ] Finished Resets System Activity Logs. [ OK ] Finished OpenSSH ed25519 Server Key Generation. [ OK ] Started RealtimeKit Scheduling Policy Service. [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Reached target NFS client services. [ OK ] Reached target Remote File Systems (Pre). [ OK ] Reached target Remote File Systems. [ OK ] Started Home Area Manager. Starting Load Kernel Module drm... Starting Authorization Manager... [ OK ] Finished Load Kernel Module drm. [ OK ] Started Authorization Manager. [ OK ] Finished Builds and install new kernel modules through DKMS. [ OK ] Finished OpenSSH rsa Server Key Generation. [ OK ] Reached target sshd-keygen.target. [ OK ] Started Disk Manager. [ OK ] Started System Security Services Daemon. [ OK ] Reached target User and Group Name Lookups. Starting Accounts Service... Starting User Login Management... [ OK ] Started Accounts Service. [ OK ] Started User Login Management. [ OK ] Started LSB: Init script for live image.. Starting NTP client/server... [ OK ] Started Daemon for power management. [ OK ] Started NTP client/server. [ OK ] Started firewalld - dynamic firewall daemon. [ OK ] Reached target Network (Pre). Starting Network Manager... [ OK ] Started Network Manager. [ OK ] Reached target Network. Starting Network Manager Wait Online... Starting OpenSSH server daemon... Starting Permit User Sessions... Starting Hostname Service... [ OK ] Finished Permit User Sessions. Starting Light Display Manager... Starting Hold until boot process finishes up... [ OK ] Started OpenSSH server daemon. [ 151.308660] libphy: 4500000.eth: probed [ 151.335020] sunxi-gmac 4500000.eth eth0: eth0: Type(8) PHY ID 001cc916 at 0 IRQ poll (4500000.eth-0:00) Welcome to the Fedora/RISC-V disk image https://fedoraproject.org/wiki/Architectures/RISC-V Build date: Fri Jul 23 12:02:29 UTC 2021 Kernel 5.4.61 on an riscv64 (ttyS0) The root password is 'fedora_rocks!'. root password logins are disabled in SSH starting Fedora 31. User 'riscv' with password 'fedora_rocks!' in 'wheel' group is provided. To install new packages use 'dnf install ...' To upgrade disk image use 'dnf upgrade --best' If DNS isn’t working, try editing ‘/etc/yum.repos.d/fedora-riscv.repo’. For updates and latest information read: https://fedoraproject.org/wiki/Architectures/RISC-V Fedora/RISC-V ------------- Koji: http://fedora.riscv.rocks/koji/ SCM: http://fedora.riscv.rocks:3000/ Distribution rep.: http://fedora.riscv.rocks/repos-dist/ Koji internal rep.: http://fedora.riscv.rocks/repos/ fedora-riscv login: fedora-riscv login: fedora-riscv login: root Password: Login incorrect fedora-riscv login:
烧到TF卡,能启动到shell,用户名和密码是多少呢?这就尴尬了,wiki里面没有写。
-
密码:fedora_rocks!
-
-
@tigger Neza -D1 越来越好玩啦!
-
@tigger 是不是没复制感叹号
-
-
【Fedora 运行在全志在线 RISC-V D1哪吒开发板上(Fedora on Allwinner D1 Nezha Board)-哔哩哔哩】https://b23.tv/XuzJ2I
把楼上各位的回帖总结了一下, 总算在哪吒开发板跑起来了。
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号