Hi Saket, On May 31, 2015 1:08 AM, "Bin Meng" <bmeng...@gmail.com> wrote: > > Hi Saket, > > On Sun, May 31, 2015 at 2:19 PM, Saket Sinha <saket.sinh...@gmail.com> wrote: > > Hi Bin, > > > > If you can have a look at this issue. > > > > I am currently stuck on this issue with u-boot.rom not giving me any > > output on the serial. > > > > When I am flashing MinnowBoard.MAX.X64.080.D01.bin I get the all the > > UEFI prompt and the booting messages but when I flash u-boot.rom, I do > > not get anything on the serial port. > > > > Let me know if I am missing out something in the build process of u-boot.rom > > > > While running the following commands, I seem to get the errors- > > > >>> c) ./tools/ifdtool -x BayleyBay/SPI.bin > >>> root@saket-HP-PC:# /u-boot-x86/tools/ifdtool -x BayleyBay/SPI.bin > >>> Flash Region 0 (Flash Descriptor): 00000000 - 00000fff > >>> Flash Region 1 (BIOS): 00500000 - 007fffff > >>> Flash Region 2 (Intel ME): 00001000 - 004fffff > >>> Flash Region 3 (GbE): 00fff000 - 00000fff (unused) > >>> Error while writing: Bad address > >>> Flash Region 4 (Platform Data): 00fff000 - 00000fff (unused) > >>> Error while writing: Bad address > > > > AND > > > >> > >>> a)./tools/ifdtool -x MNW2MAX1.X64.0073.R02.1409160934.bin > >>> root@saket-PC:# /u-boot-x86/tools/ifdtool -x > >>> MNW2MAX1.X64.0073.R02.1409160934.bin > >>> Flash Region 0 (Flash Descriptor): 00000000 - 00000fff > >>> Flash Region 1 (BIOS): 00500000 - 007fffff > >>> Flash Region 2 (Intel ME): 00001000 - 004fffff > >>> Flash Region 3 (GbE): 00000000 - 00000fff > >>> Flash Region 4 (Platform Data): 00fff000 - 00000fff (unused) > >>> Error while writing: Bad address > >>> > > > > > > These may be the reason for the u-boot.rom not getting built properly. > > > > I have described the entire build process for u-boot.rom int my > > previous mail below - > > > >> > >> I am building u-boot.rom for MinnowboardMax as per the steps mentioned > >> in the README.x86. > >> > >> 1. Downloading BAY_TRAIL_FSP_KIT_GOLD3.tgz > >> > >> a) copying BAYTRAIL_FSP_GOLD_003_16-SEP-2014.fd as > >> board/intel/minnowmax/fsp.bin > >> > >> b) copying Vga.dat as board/intel/minnowmax/vga.bin > >> > >> c) ./tools/ifdtool -x BayleyBay/SPI.bin > >> > >> From the generted files, copying flashregion_2_intel_me.bin as > >> board/intel/minnowmax/me.bin > >> > >> Though the o/p files are generated, I get the following error after > >> this command - > >> root@saket-HP-PC:# /u-boot-x86/tools/ifdtool -x BayleyBay/SPI.bin > >> Flash Region 0 (Flash Descriptor): 00000000 - 00000fff > >> Flash Region 1 (BIOS): 00500000 - 007fffff > >> Flash Region 2 (Intel ME): 00001000 - 004fffff > >> Flash Region 3 (GbE): 00fff000 - 00000fff (unused) > >> Error while writing: Bad address > >> Flash Region 4 (Platform Data): 00fff000 - 00000fff (unused) > >> Error while writing: Bad address > > I've seen this error before. It is a bug of the ifdtool, but I think > it can be ignored. I have a patch sent out. Please check > http://patchwork.ozlabs.org/patch/478590/ > > >> > >> 2. Downloading 2014-WW42.4-MinnowBoardMax.73-64-bit.bin_Release.zip > >> > >> a)./tools/ifdtool -x MNW2MAX1.X64.0073.R02.1409160934.bin > >> From the generted files, copying flashregion_0_flashdescriptor.bin as > >> board/intel/minnowmax/descriptor.bin > >> > >> Though the o/p files are generated, I get the following error after > >> this command - > >> root@saket-PC:# /u-boot-x86/tools/ifdtool -x > >> MNW2MAX1.X64.0073.R02.1409160934.bin > >> Flash Region 0 (Flash Descriptor): 00000000 - 00000fff > >> Flash Region 1 (BIOS): 00500000 - 007fffff > >> Flash Region 2 (Intel ME): 00001000 - 004fffff > >> Flash Region 3 (GbE): 00000000 - 00000fff > >> Flash Region 4 (Platform Data): 00fff000 - 00000fff (unused) > >> Error while writing: Bad address > >> > >> 3. Building u-boot.rom > >> export BUILD_ROM=y > >> make minnowmax_defconfig > >> make all > >> > > Looks that your instructions are correct according to README.x86 > > >> 4. Flashing u-boot.rom to Minnowmax by desiprog sf100 > >> ./flashrom -p dediprog -w u-boot.rom > >> > > Can you confirm that you have setup the flashrom tool correctly? I > don't use flashrom on Linux as I normally do the SPI flash programming > on a Windows machine. Can you dump the whole SPI flash image back > after you program the u-boot.rom and compare the dumped file with the > u-boot.rom you generated to see whether they are exactly the same? > > >> 5. Now when I am powering Minnowmax and collecting the output on serial - > >> Nothing appears. > >> > >> Kindly let me know, if I am missing something here. > >> > > Sorry but I don't have a MinnowMax board here, so cannot try it on my side.
I'm on holiday but should be able to try this on Monday or Tuesday. Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot