Giter Club home page Giter Club logo

ipxe's People

Contributors

abudrys avatar achernya avatar awilliam avatar cooldavid avatar daedrus avatar danielverkamp avatar ehabkost avatar eworm-de avatar gitvb avatar horsten avatar hreinecke avatar jamesharper avatar johntwillis avatar kevintuantran avatar mareo avatar mariansavchuk avatar maxnet avatar mcb30 avatar pjaroszynski avatar pkt avatar robinsmidsrod avatar rwcr avatar sandr8 avatar stappersg avatar stefanha avatar stweil avatar thomil avatar timlegge avatar udayankumar avatar xl0 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ipxe's Issues

Difficulty Reproducing usb boot

I'm trying to replicate this, but having a bit of trouble...It looks like I have the right code and hardware, but I may have missed something.

[hh@viii src]$ sudo lsusb -v 2>&1 | grep 0b95:772a
Bus 002 Device 117: ID 0b95:772a ASIX Electronics Corp. AX88772A Fast Ethernet
git clone [email protected]:johntwillis/ipxe.git
cd ipxe
git checkout -b usb origin/master
[hh@viii src]$ git log -1
commit f06530a787f9122831ed1788747158b914c4f47a
Merge: 7f183d4 a3d8607
Author: John Willis <[email protected]>
Date:   Thu Sep 25 21:28:21 2014 -0500

    Merge pull request #3 from ipxe/master

    Pull changes from original ipxe/ipxe master since this was forked to add USB support
[hh@viii src]$ make bin/ipxe.iso
make: 'bin/ipxe.iso' is up to date.
$  sudo qemu-system-i386 -cdrom bin/ipxe.iso -usbdevice host:0b95:772a -net nic -net user -serial file:logfile.log --curses

SeaBIOS (version 1.7.5-20140617_173321-var-lib-archbuild-testing-x86_64-tobias)
iPXE (http://ipxe.org) 00:03.0 C980 PCI2.10 PnP PMM+07F943B0+07EF43B0 C980

Booting from Hard Disk...
Boot failed: could not read the boot disk

Booting from Floppy...
Boot failed: could not read the boot disk

Booting from DVD/CD...

ISOLINUX 4.05 0x4f92e181 ETCD Copyright (C) 1994-2011 H. Peter Anvin et al
iPXE ISO boot image
Loading ipxe.krn...ready.
iPXE initialising devices...ok

iPXE 1.0.0+ (f0653) -- Open Source Network Boot Firmware -- http://ipxe.org      
Features: VLAN iSCSI HTTP DNS TFTP AoE SRP ELF MBOOT PXE bzImage Menu PXEXT      

No more network devices

Press Ctrl-B for the iPXE command line..

qemu: fatal: Trying to execute code outside RAM or ROM at 0x10495114
EAX=ffffff48 EBX=ffffff48 ECX=00000000 EDX=08618904
ESI=000ce7a4 EDI=000bebf4 EBP=00009cda ESP=00163750
EIP=08618904 EFL=00000002 [-----] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0010 07e7c810 ffffffff 00cf9300 DPL=0 DS   [-WA]
CS =0008 07e7c810 ffffffff 00cf9f00 DPL=0 CS32 [CRA]
SS =0010 07e7c810 ffffffff 00cf9300 DPL=0 DS   [-WA]
DS =0010 07e7c810 ffffffff 00cf9300 DPL=0 DS   [-WA]
FS =0010 07e7c810 ffffffff 00cf9300 DPL=0 DS   [-WA]
GS =0010 07e7c810 ffffffff 00cf9300 DPL=0 DS   [-WA]
LDT=0000 00000000 00000000 00008200 DPL=0 LDT
TR =0008 00000580 00000067 00008900 DPL=0 TSS32-avl
GDT=     0009ce10 00000037
IDT=     07fde760 000007ff
CR0=00000011 CR2=00000000 CR3=00000000 CR4=00000000
DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000 
DR6=ffff0ff0 DR7=00000400
CCS=000ce7a4 CCD=08618904 CCO=LOGICL  
EFER=0000000000000000
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000 XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000 XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000 XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000 XMM07=00000000000000000000000000000000
```

Support for Android RNDIS / Tethering USB nics

It would be interesting to ipxe boot to RNDIS Android tethering nics... Combined with something like DroidDrive (to export an ISO as an emulated CDROM device to boot ipxe) you could some interesting things, possibly even emulating a keyboard to get the bios to boot to the usb/cdrom that contains pxe and using caching/squid to speed up network deploys.

sudo lsusb -v -d 04e8:6864
Bus 002 Device 123: ID 04e8:6864 Samsung Electronics Co., Ltd 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x04e8 Samsung Electronics Co., Ltd
  idProduct          0x6864 
  bcdDevice            2.28
  iManufacturer           1 SAMSUNG
  iProduct                2 SAMSUNG_Android
  iSerial                 3 e21ff84e
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           98
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower               96mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass        224 Wireless
      bFunctionSubClass       1 Radio Frequency
      bFunctionProtocol       3 RNDIS
      iFunction               7 RNDIS
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      3 RNDIS
      iInterface              5 RNDIS Communications Control
      ** UNRECOGNIZED:  05 24 00 10 01
      ** UNRECOGNIZED:  05 24 01 00 01
      ** UNRECOGNIZED:  04 24 02 00
      ** UNRECOGNIZED:  05 24 06 00 01
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               9
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              6 RNDIS Ethernet Data
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass     66 
      bInterfaceProtocol      1 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.