[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cbfsdisk not found
From: |
Andrei Borzenkov |
Subject: |
Re: cbfsdisk not found |
Date: |
Fri, 17 Mar 2017 06:27:43 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
16.03.2017 22:43, Gailu Singh пишет:
>>> Try insmod cbfs
>
>>
> Trieed, it does not help. BTW cbfs is already included in my grub elf image
> so I don't think I need to do insmod.
>
> ./grub-mkstandalone --grub-mkimage=./grub-mkimage -O i386-coreboot -o
> default_payload.elf --modules='ls ahci pata ehci uhci ohci usb_keyboard
> usbms part_msdos ext2 fat at_keyboard part_gpt usbserial_usbdebug cbfs'
> --install-modules='linux search configfile normal cbtime cbls memrw iorw
> minicmd lsmmap lspci halt reboot hexdump pcidump regexp setpci lsacpi chain
> test serial multiboot cbmemc linux16 gzio echo help syslinuxcfg xnu affs
> afs bfs btrfs cbfs cpio cpio_be exfat ext2 fat hfs hfsplus iso9660 jfs
> minix minix2 minix2_be minix3 minix3_be minix_be newc nilfs2 ntfs odc
> procfs reiserfs romfs sfs squash4 tar udf ufs1 ufs1_be ufs2 xfs zfs
> password_pbkdf2 ' --fonts= --themes= --locales= -d grub-core/
> /boot/grub/grub.cfg=./coreboot.cfg
>
> This must be something else. AFAIK memdisk itself resides in CBFS,
> Strangely ls comman shows memdisk but not cbfsdisk
>
This implies that cbfs address fails validation. Do not include cbfs in
image, boot and run
set debug=cbfs
insmod cbfs
What address it prints?
>
> On Fri, Mar 17, 2017 at 12:52 AM, Vladimir 'phcoder' Serbinenko <
> address@hidden> wrote:
>
>>
>>
>> On Thu, Mar 16, 2017, 12:18 Gailu Singh <address@hidden> wrote:
>>
>>> Hi Experts,
>>>
>>> I am using grub2 with coreboot and configured with --with-platform=coreboot.
>>>
>>>
>>> I am able to load grub2 from coreboot. However when I run ls command, I
>>> do not see cbfsdisk. ls only shows
>>>
>>> (memdisk) (ahci0) (ahci0,msdos1) (ahci0,msdos2)
>>>
>>> I have added file in the cbfs as follows and need to access it but when I
>>> try (cbfsdisk)/myfile I get error disk 'cbfsdisk' not found.
>>>
>>> build/util/cbfstool/cbfstool build/coreboot.rom add -f myfile -n myfile
>>> -t raw
>>>
>>> Any idea how to access myfile on cbfsdisk?
>>>
>> Try insmod cbfs
>>
>>>
>>> Thanks.
>>> _______________________________________________
>>> Grub-devel mailing list
>>> address@hidden
>>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>>
>>
>> _______________________________________________
>> Grub-devel mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/grub-devel
>>
>>
>
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
- Re: cbfsdisk not found, (continued)
- Re: cbfsdisk not found, Gailu Singh, 2017/03/24
- Re: cbfsdisk not found, Vladimir 'phcoder' Serbinenko, 2017/03/24
- Re: cbfsdisk not found, Gailu Singh, 2017/03/24
- Re: cbfsdisk not found, Andrei Borzenkov, 2017/03/24
- Re: cbfsdisk not found, Gailu Singh, 2017/03/24
- Re: cbfsdisk not found, Andrei Borzenkov, 2017/03/25
- Re: cbfsdisk not found, Vladimir 'phcoder' Serbinenko, 2017/03/25
- Re: cbfsdisk not found, Andrei Borzenkov, 2017/03/25
- Re: cbfsdisk not found, Vladimir 'phcoder' Serbinenko, 2017/03/25
- Re: cbfsdisk not found, Gailu Singh, 2017/03/25
- Re: cbfsdisk not found,
Andrei Borzenkov <=
- Re: cbfsdisk not found, Gailu Singh, 2017/03/17
- Re: cbfsdisk not found, Andrei Borzenkov, 2017/03/17
- Re: cbfsdisk not found, Vladimir 'phcoder' Serbinenko, 2017/03/17