Ok, now Iam getting this error:
-------------------------------------------------------- gcc -m32 -nostdlib -nostartfiles -static -o linuxbios_ram -T /root/LinuxBIOSv2-2564/src/config/linuxbios_ram.ld linuxbios_ram.o linuxbios_ram.o: In function `hardwaremain': (.text+0x2231): undefined reference to `hard_reset' linuxbios_ram.o: In function `write_tables': (.text+0x3130): undefined reference to `write_pirq_routing_table' linuxbios_ram.o: In function `root_dev_reset': (.text+0x319c): undefined reference to `hard_reset' collect2: ld returned 1 exit status make[1]: *** [linuxbios_ram] Error 1 make[1]: Leaving directory `/root/LinuxBIOSv2-2564/targets/rca/rm4100/rm4100/normal' make: *** [normal/linuxbios.rom] Error 1 --------------------------------------------------------
Does anyone know where hard_reset and write_pirq_routing_table are supposed to be defined in the source code?
Thanks again - Joe
joe@smittys.pointclark.net wrote:
Ok, now Iam getting this error:
gcc -m32 -nostdlib -nostartfiles -static -o linuxbios_ram -T /root/LinuxBIOSv2-2564/src/config/linuxbios_ram.ld linuxbios_ram.o linuxbios_ram.o: In function `hardwaremain': (.text+0x2231): undefined reference to `hard_reset' linuxbios_ram.o: In function `write_tables': (.text+0x3130): undefined reference to `write_pirq_routing_table' linuxbios_ram.o: In function `root_dev_reset': (.text+0x319c): undefined reference to `hard_reset' collect2: ld returned 1 exit status make[1]: *** [linuxbios_ram] Error 1 make[1]: Leaving directory `/root/LinuxBIOSv2-2564/targets/rca/rm4100/rm4100/normal' make: *** [normal/linuxbios.rom] Error 1
Does anyone know where hard_reset and write_pirq_routing_table are supposed to be defined in the source code?
Thanks again - Joe
In your src/mainboard/rca/rm4100/Options.lb, set HAVE_PIRQ_TABLE=0 and HAVE_HARD_RESET=0. These you can worry about once you have a bootable target, but during testing they're not necessary.
For future reference, the irq tables from the factory bios can be written out with getpir, in the util directory. Hard reset should be in reset.c. But resetting really doesn't matter until it gets set up in the first place ;)
BTW, if you can try to use the intel E7501 code as your northbridge, that would be great (don't worry about PCI IDs, it should just look for the first PCI device). After browsing the source code, there are some notes that the 7501 is extremely similar to the i815, probably just a server version of the same chipset. It may work, and it may not, but it can't hurt to try ;)
-Corey