1 Reply Latest reply on Sep 13, 2015 7:56 PM by smokytrace

    mining for bare-metal quark info


        When running the CPUID instruction on the quark microcontroller (see CPUID - Wikipedia) EAX=1 (in) reveals EAX=0x490 (out):

      which is:

      family = 4

      model = 9

      stepping = 0


        I can't seem to find any technical datasheets that provide information on that chip or any indication that it exists.

      The closest I've found is the quark SoC X1000 document (https://communities.intel.com/servlet/JiveServlet/previewBody/21828-102-2-25120/329676_QuarkDatasheet.pdf Document Number: 329676-001US Oct 2013) on page 41 it indicates a family of 5 model 9 stepping 0.

        • 1. Re: mining for bare-metal quark info

          ( INFO): cs 1b

          ( INFO): ds 23

          ( INFO): ss 23

          ( INFO): es 23

          ( INFO): fs 23

          ( INFO): gs 23

          ( INFO): GDT 37:ff10d5c8

          ( INFO): IDT 5ff:ff116d60

          ( INFO): stack ptr ff325fa4 (for reference)

          ( INFO): global data ptr ff302990


          privilege level 3 which makes things difficult.


          The contents of /dev/mmcblk0boot0 exactly match edison_ifwi-dbg-00-dfu.bin

          Also /dev/mmcblk0boot0 exactly matches /dev/mmcblk0boot1


          edison_ifwi-dbg-00-dfu.bin file offset 0x76778 contains the base address of a mcu program (0xff300000) followed by the starting stack address ?? (0xff323fff)

          strings referring to viper are found at around 0x75d30, 0x76280 and 0x765d0