mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Updates to linux testvector generation
This commit is contained in:
		
							parent
							
								
									f98b25a9e3
								
							
						
					
					
						commit
						34b7f3d65c
					
				| @ -59,7 +59,7 @@ install: check_write_permissions | ||||
| 
 | ||||
| dumptvs: check_write_permissions | ||||
| 	$(SUDO) mkdir -p $(RISCV)/linux-testvectors | ||||
| 	cd testvector-generation; $(SUDO) ./genInitMem.sh | ||||
| 	cd testvector-generation; ./genInitMem.sh | ||||
| 	@echo "Testvectors successfully generated." | ||||
| 
 | ||||
| generate: $(DTB) $(IMAGES) | ||||
| @ -89,16 +89,12 @@ disassemble: | ||||
| 	-cpio -i -D $(BUILDROOT)/output/images/disassembly/rootfs < $(BUILDROOT)/output/images/rootfs.cpio | ||||
| 	@echo "Disassembly successfully completed." | ||||
| 
 | ||||
| 
 | ||||
| $(DIS)/%.objdump: SHELL:=/bin/bash | ||||
| $(DIS)/%.objdump: $(IMAGES)/%.elf | ||||
| 	source ../setup.sh && \
 | ||||
| 	riscv64-unknown-elf-objdump -DS $< >> $@ && \
 | ||||
| 	riscv64-unknown-elf-objdump -DS $< >> $@ | ||||
| 	extractFunctionRadix.sh $@ | ||||
| 
 | ||||
| $(DIS)/%.objdump: $(IMAGES)/% | ||||
| 	source ../setup.sh && \
 | ||||
| 	riscv64-unknown-elf-objdump -S $< >> $@ && \
 | ||||
| 	riscv64-unknown-elf-objdump -S $< >> $@ | ||||
| 	extractFunctionRadix.sh $@ | ||||
| 
 | ||||
| $(IMAGES)/vmlinux: | ||||
|  | ||||
| @ -1,4 +1,5 @@ | ||||
| #!/bin/bash | ||||
| set -e | ||||
| tcpPort=1235 | ||||
| imageDir=$RISCV/buildroot/output/images | ||||
| tvDir=$RISCV/linux-testvectors | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user