I tried unplugging the usb hub and putting the keyboard in directly and no kybrd activity. Then I reconnected everything to the usb hub and booted from the full armbian SD and the kybrd is working and lsblk shows the USB stick with AlmaLinux on it. Mouse doesn't do anything, but then I am in a character mode. So something is missing from the iso image that I need. On 3/1/22 14:00, Robert Moskowitz wrote:
today I set things up as follows:
Put the AlmaLinux-8.5-aarch64-minimal.iso on a USB stick as a bootable drive. Put Armbian_21.08.9_Odroidhc4_bullseye_current_5.10.81.img.xz onto a mSD card and then deleted the partition, leaving their uboot which I know brings up a usable system.
Installed 2 1TB sata drives, inserted the above mSD card, attached the LAN cable (addr 192.168.192.19 from DHCP), and HDMI to a monitor.
Attached a USB hub (HC4 has only 1 usb port) with the above AlmaLunic ISO, a keyboard, and mouse.
Serial port to my notebook running screen in terminal and capturing the serial console output.
Powered on. As hoped, with no partition on the mSD, the uboot proceeded to discover the USB and as you will see from the below console capture, offered installing Install AlmaLinux 8.5. then just a little more output and the HDMI monitor came alive with logs of messages. Then came something about an issue with urandom? and just occasional flashes of USB drive activity. Finally the following message started repeating:
dracut-initqueue [972]: Warning: dracut-initqueue timeout - starting timeout scripts.
then some more activity and dropping into emergency mode with instructions on what to copy to a mounted media.
Problem is the keyboard doesn't do anything. I plug and unplug it. Now I have not tried the keyboard via usb hub with the armbian build, but as the USB stick is also in this hub, I know that the hub is working. I suspect if I unplug the hub and plug the keyboard in directly, the emergency mode will not like no access to the files on it, plus then where will I copy the files to? The sata drives are still unformatted...
I am attaching the monitor output. At least I have the startup piece available.
Please advise at least how I can get the keyboard working with this configuration. Probably something is needed in that iso image to support the HC4? Here is the console:
SM1:BL:511f6b:81ca2f;FEAT:A0F83180:20282000;POC:B;RCY:0;SPINOR:0;CHK:1F;EMMC:800;NAND:81;SD?:0;SD:0;READ:0;0.0;CHK:0;
bl2_stage_init 0x01 bl2_stage_init 0x81 hw id: 0x0000 - pwm id 0x01 bl2_stage_init 0xc1 bl2_stage_init 0x02
no sdio debug board detected L0:00000000 L1:00000703 L2:00008067 L3:15000020 S1:00000000 B2:20282000 B1:a0f83180
TE: 218646
BL2 Built : 20:29:41, Jun 18 2019. g12a ga659aac - luan.yuan@droid15-sz
Board ID = 7 Set cpu clk to 24M Set clk81 to 24M Use GP1_pll as DSU clk. DSU clk: 1200 Mhz CPU clk: 1200 MHz Set clk81 to 166.6M DDR driver_vesion: LPDDR4_PHY_V_0_1_15 build time: Jun 18 2019 20:29:37 board id: 7 Load FIP HDR from SD, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0 fw parse done Load ddrfw from SD, src: 0x00060200, des: 0xfffd0000, size: 0x0000c000, part: 0 Load ddrfw from SD, src: 0x00038200, des: 0xfffd0000, size: 0x00004000, part: 0 PIEI prepare done fastboot data load fastboot data verify verify result: 255 Cfg max: 2, cur: 1. Board id: 255. Force loop cfg DDR4 probe ddr clk to 1320MHz Load ddrfw from SD, src: 0x00014200, des: 0xfffd0000, size: 0x0000c000, part: 0
dmc_version 0001 Check phy result INFO : End of initialization INFO : End of read enable training INFO : End of fine write leveling INFO : End of read dq deskew training INFO : End of MPR read delay center optimization INFO : End of Write leveling coarse delay INFO : End of write delay center optimization INFO : End of read delay center optimization INFO : End of max read latency training INFO : Training has run successfully! 1D training succeed Load ddrfw from SD, src: 0x00020200, des: 0xfffd0000, size: 0x0000c000, part: 0 Check phy result INFO : End of initialization INFO : End of 2D read delay Voltage center optimization INFO : End of 2D write delay Voltage center optimization INFO : Training has run successfully!
R0_RxClkDly_Margin==106 ps 9 R0_TxDqDly_Margi==106 ps 9
R1_RxClkDly_Margin==0 ps 0 R1_TxDqDly_Margi==0 ps 0
dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0001
soc_vref_reg_value 0x 00000051 0000004f 0000004f 0000004f 00000050 0000004e 00000051 0000004e 0000004f 00000050 00000051 0000004e 0000004e 0000004d 00000050 0000004c 0000004f 0000004e 0000004d 00000051 0000004d 0000004f 0000004f 0000004f 0000004f 0000004f 0000004f 0000004e 00000050 0000004f 0000004f 00000051 dram_vref_reg_value 0x 00000022 2D training succeed aml_ddr_fw_vesion: LPDDR4_PHY_V_0_1_15 build time: Jun 18 2019 20:29:43 auto size-- 65535DDR cs0 size: 2048MB DDR cs1 size: 2048MB DMC_DDR_CTRL: 00700024DDR size: 3928MB cs0 DataBus test pass cs1 DataBus test pass cs0 AddrBus test pass cs1 AddrBus test pass
non-sec scramble use zero key ddr scramble enabled
100bdlr_step_size ps== 416 result report boot times 0Enable ddr reg access Load FIP HDR from SD, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 0 Load BL3X from SD, src: 0x00078200, des: 0x01768000, size: 0x00098000, part: 0 bl2z: ptr: 05129330, size: 00001e40 0.0;M3 CHK:0;cm4_sp_mode 0
MVN_1=0x00000000
MVN_2=0x00000000
[Image: g12a_v1.1.3386-3b31431 2019-05-21 10:41:54 luan.yuan@droid15-sz]
OPS=0x10
ring efuse init
2b 0c 10 00 01 2d 18 00 00 15 35 37 30 52 30 50
[0.017318 Inits done]
secure task start! high task start! low task start! run into bl31 NOTICE: BL31: v1.3(release):4fc40b1 NOTICE: BL31: Built : 15:57:33, May 22 2019 NOTICE: BL31: G12A normal boot! NOTICE: BL31: BL33 decompress pass ERROR: Error initializing runtime service opteed_fast
U-Boot 2022.01 (Jan 23 2022 - 14:29:47 +0000) odroid-c4/hc4
Model: Hardkernel ODROID-C4 SoC: Amlogic Meson SM1 (S905X3) Revision 2b:c (10:2) DRAM: 3.8 GiB MMC: sd@ffe05000: 0, mmc@ffe07000: 1 Loading Environment from nowhere... OK In: serial Out: serial Err: serial Board variant: hc4 Net: eth0: ethernet@ff3f0000 Hit any key to stop autoboot: 2 1 0 switch to partitions #0, OK mmc0 is current device ** Invalid partition 1 ** Couldn't find partition mmc 0:1 Card did not respond to voltage select! : -110 MMC Device 2 not found no mmc device at slot 2 starting USB... Bus usb@ff500000: Register 3000140 NbrPorts 3 Starting the controller USB XHCI 1.10 scanning bus usb@ff500000 for devices... 5 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found
Device 0: Vendor: OCZ Rev: 1100 Prod: RALLY2 Type: Removable Hard Disk Capacity: 7648.0 MB = 7.4 GB (15663104 x 512) ... is now current device Scanning usb 0:1... libfdt fdt_check_header(): FDT_ERR_BADMAGIC 7[r[999;999H[6n8Scanning disk sd@ffe05000.blk... Card did not respond to voltage select! : -110 Scanning disk mmc@ffe07000.blk... Disk mmc@ffe07000.blk not ready Scanning disk usb_mass_storage.lun0... Found 3 disks No EFI system partition BootOrder not defined EFI boot manager: Cannot load any image Found EFI removable media binary efi/boot/bootaa64.efi 865160 bytes read in 27 ms (30.6 MiB/s) libfdt fdt_check_header(): FDT_ERR_BADMAGIC Booting /efi\boot\bootaa64.efi Speed: 100, full duplex [0;37;40m[0;37;40m[2J[1;1H[0;37;40m[20;7H[0;37;40mUse the ▲ and ▼ keys to change the selection.
Press 'e' to edit the selected item, or 'c' for a command prompt. [4;80H [0;37;40m[4;1H Install AlmaLinux 8.5 [0;37;40m[4;79H[0;37;40m[0;30;47m[5;1H Test this media & install AlmaLinux 8.5 [0;37;40m[5;79H[0;37;40m[0;37;40m[6;1H Troubleshooting --> [0;37;40m[6;79H[0;37;40m[0;37;40m[7;1H [0;37;40m[7;79H[0;37;40m[0;37;40m[8;1H [0;37;40m[8;79H[0;37;40m[0;37;40m[9;1H [0;37;40m[9;79H[0;37;40m[0;37;40m[10;1H [0;37;40m[10;79H[0;37;40m[0;37;40m[11;1H [0;37;40m[11;79H[0;37;40m[0;37;40m[12;1H [0;37;40m[12;79H[0;37;40m[0;37;40m[13;1H [0;37;40m[13;79H[0;37;40m[0;37;40m[14;1H [0;37;40m[14;79H[0;37;40m[0;37;40m[15;1H [0;37;40m[15;79H[0;37;40m[0;37;40m[16;1H [0;37;40m[16;79H[0;37;40m[0;37;40m[17;1H [0;37;40m[17;79H[0;37;40m[0;37;40m[18;1H [0;37;40m[18;79H[0;37;40m[18;80H [5;79H[22;1H The selected entry will be started automatically in 60s. [5;79H[22;1H The selected entry will be started automatically in 59s. [5;79H[22;1H The selected entry will be started automatically in 58s. [5;79H[22;1H [23;1H [5;79H[0;37;40m[5;1H Test this media & install AlmaLinux 8.5 [0;37;40m[5;79H[0;37;40m[0;30;47m[4;1H Install AlmaLinux 8.5 [0;37;40m[4;79H[0;37;40m[?25h[0;37;40m[2J[1;1H[0;37;40m[0;37;40m[2J[1;1H[0;37;40mEFI stub: Booting Linux Kernel...
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map...
_______________________________________________ AlmaLinux Users mailing list -- users@lists.almalinux.org To unsubscribe send an email to users-leave@lists.almalinux.org