Changes between Version 1 and Version 2 of ventana/bootloader


Ignore:
Timestamp:
01/18/2018 11:09:40 PM (7 years ago)
Author:
Bobby Jones
Comment:

Added information regarding enabling pci in the bootloader

Legend:

Unmodified
Added
Removed
Modified
  • ventana/bootloader

    v1 v2  
    383383|| mtdids    || MTD device ||
    384384|| mtdparts  || MTD partitions for mtd device (merged into device-tree) ||
     385|| pcidisable || Setting to '1' will disable pci until booting to Linux ||
    385386|| quiet     || if set to '1' will quiet down some of the bootloader output ||
    386387|| sata_boot || Ventana boot script for booting from SATA device ||
     
    589590'''This feature is available in Gateworks U-Boot 2015.04'''
    590591
     592[=#enablepci]
     593== Enabling PCI ==
     594To avoid PCI and PCIe related issues in Linux, the default bootloader behavior is to disable all pci until booting to Linux. In order to use any pci or pcie devices while in the bootloader, the {{{pcidisable}}} environment variable must be cleared.
     595
     596{{{
     597setenv pcidisable; saveenv; reset
     598}}}
     599
     600Once cleared and after board reset, pci devices should enumerate as expected.
     601
     602You can further interact with the pci subsystem via the {{{pci}}} command in the bootloader.
    591603
    592604[=#hwconfig]
     
    745757The Ventana U-Boot has support for the following network devices:
    746758 * IMX6 FEC (eth0 on most Ventana boards)
    747  * Intel i210 (eth0 and eth1 on GW5520)
     759 * Intel i210 (eth0 and eth1 on GW5520: must [#pcinet enable pci] to use in the bootloader)
    748760 * IMX6 USB OTG network gadget - usbnet (network connection between Ventana USB OTG port and host PC)
    749761 * USB Network devices (ASIX AX8817X, SMSC LAN95xx)
     
    761773 * {{{tftptimeout}}} - retransmission timeout for TFTP packets in ms (min value is 1000, default is 5000)
    762774
     775
     776[=#pcinet]
     777=== PCIe Network Devices ===
     778To use a network device relying on PCIe (i210, sky2, etc) in the bootloader, you must clear the {{{pcidisable}}} environment variable and reset.
     779{{{
     780setenv pcidisable; saveenv; reset
     781}}}
     782
     783See the above [#enablepci enabling pci] section for more information.
    763784
    764785[=#usbnet]