[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to enable usb device support in grub
From: |
Andrei Borzenkov |
Subject: |
Re: How to enable usb device support in grub |
Date: |
Fri, 12 May 2017 13:11:19 +0300 |
On Fri, May 12, 2017 at 12:23 PM, Wasim Khan <address@hidden> wrote:
> Hi Andrei,
>
> Basically I need to recognize USB storage devices (which has 2 partitions
> FAT32 & Ext4).
>
GRUB is using EFI services to work with storage devices. If they are
not visible in GRUB, it means your firmware does not bind Block IO
protocol to them. You will need to investigate what protocols are
available for these devices on your system.
>
>
> -----Original Message-----
> From: Andrei Borzenkov [mailto:address@hidden
> Sent: Friday, May 12, 2017 2:51 PM
> To: Wasim Khan <address@hidden>
> Cc: address@hidden
> Subject: Re: How to enable usb device support in grub
>
> On Fri, May 12, 2017 at 10:52 AM, Wasim Khan <address@hidden> wrote:
>> Hi,
>>
>> I used below steps to build grub. Grub is not identifying USB devices
>> plugged-in to board . Is any driver/configuration need to be enabled ?
>
> What devices do you mean? Storage, LAN, serial, ... ?
>
>>
>>
>> * git clone git://git.savannah.gnu.org/grub.git; cd grub
>> * git reset --hard 529818738fb2aafb05721830dc99cc6c8736a048
>> * Set toolchain path and 'export CROSS_COMPILE=aarch64-linux-gnu-'
>> * ./autogen.sh
>> * ./configure --target=aarch64-linux-gnu
>> * make
>> * echo 'configfile ${cmdpath}/grub.cfg' > /tmp/grub.cfg
>> * grub-mkstandalone --directory=./grub-core -O arm64-efi -o BOOTAA64.EFI
>> --modules "part_gpt part_msdos" /boot/grub/grub.cfg=/tmp/grub.cfg
>>
>>
>>
>>
>>
>>
>>
>> Thanks,
>> Wasim
>> _______________________________________________
>> Help-grub mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/help-grub