-
Notifications
You must be signed in to change notification settings - Fork 668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to install Linux system on VCU118? #822
Comments
Right now that part of the documentation is missing since we want to have FireMarshal target the VCU118 (or similar prototype platforms). Once we get to that we will update the docs. Until then something like this probably works: BIG NOTE: I haven't tested this flow since the internal Berkeley flow was done before FireMarshal existed... some of these steps might not work... so if you figure out the proper steps or can generalize them a bit please respond to this post with the changes. Setup Linux to recognize the SDCardHere was the Linux config that we used... might want to pick and choose stuff from it (I'm not sure what clashes with FireMarshal's Linux config)
Use FireMarshal to create initramfs binary
Modify the binary
Write SDCard with Binary - Linux InstructionsUse First, wipe the GPT on the card.
Use the
Change the default partition alignment to Then create the new GPT with Create two partitions. Second the other partition. Write the changes using Finally, setup the filesystem on the 2nd partition using the following command:
Note that Finally transfer the
Note that |
I would look at #849 now for adapted steps on how to run Linux on the VCU118 (note that requires you to be on the |
|
Thanks very much for this enhencement. It works with rocket-core to boot linux . But when I switch to boom-core, the kernel stuck at init process as below: MIDELEG : 0x0000000000000222 |
I use boom-core(DualSmallBoomVCU118Config). I don't know if it works, should I send it any commands? The init process as below: / __ \ / | _ _ | Platform Name : freechips,rocketchip-unknown MIDELEG : 0x0000000000000222 [ 0.000000] OF: fdt: No chosen node found, continuing without [ 0.000000] Memory: 1973960K/2095104K available (6544K kernel code, 4152K rwdata, 4096K rodata, 6331K init, 318K bss, 121144K reserved, 0K cma-reserved) [ 0.098417] rcu: Hierarchical SRCU implementation. [ 0.172143] random: get_random_u32 called from bucket_table_alloc.isra.0+0x4a/0xbe with crng_init=0 [ 0.563637] vgaarb: loaded [ 0.620990] clocksource: Switched to clocksource riscv_clocksource [ 0.834060] NET: Registered protocol family 2 [ 0.850356] tcp_listen_portaddr_hash hash table entries: 1024 (order: 3, 40960 bytes, linear) [ 6.083325] workingset: timestamp_bits=62 max_order=19 bucket_order=0 [ 6.316136] NFS: Registering the id_resolver key type [ 7.551833] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 7.580163] 64000000.serial: ttySIF0 at MMIO 0x64000000 (irq = 1, base_baud = 0) is a SiFive UART v0 [ 7.820752] loop: module loaded [ 7.835506] sifive_spi 64001000.spi: mapped; irq=2, cs=1 [ 7.885178] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k [ 8.015630] mmc_spi spi0.0: SD/MMC host mmc0, no DMA, no WP, no poweroff, cd polling [ 8.057069] NET: Registered protocol family 10 [ 8.297362] Freeing unused kernel memory: 6328K Running FireMarshal nodisk init [ 8.485205] mmc0: host does not support reading read-only switch, assuming write-enable Loading FireMarshal platform drivers [ 8.765978] random: fast init done Calling distro init Starting syslogd: Starting klogd: Running sysctl: Starting mdev: |
Can I see the successful process of rocket-core to boot linux? |
OpenSBI v0.8 / __ \ / | _ _ | Platform Name : freechips,rocketchip-unknown MIDELEG : 0x0000000000000222 Welcome to Buildroot cat /proc/cpuinfoprocessor : 0 processor : 1 |
OpenSBI v0.8 / __ \ / | _ _ | Platform Name : freechips,rocketchip-unknown MIDELEG : 0x0000000000000222 Welcome to Buildroot cat /proc/cpuinfoprocessor : 0 processor : 1
1441675923 , May I have your personal contact, email or wechat, anyway convenient for you ? |
Closing since the base question has been addressed (and further conversation has moved offline). |
@pengwubj Have you solved the problem? Thanks. |
How to install Linux system on vcu118 SD card? FireMarshal currently only supports the FireSim FPGA-accelerated simulation platform.
The text was updated successfully, but these errors were encountered: