50 comments:
File src/mainboard/bostentech/gbyt4/devicetree.cb:
Patch Set #18, Line 78: io 0x60 = 0x0a30
just wondering: does accessing these ranges work? I'm not so familiar with how baytrail sets up LPC […]
I could just remove it, the environment controller is not actually needed in the devices built around this board, but it has a fan header on the board.
File src/mainboard/bostentech/gbyt4/gpio.c:
GPIO_FUNC(2, PULL_UP, 20K),
GPIO_FUNC(2, PULL_DOWN, 20K),
GPIO_FUNC(2, PULL_UP, 20K),
I'd say these shouldn't be pulling anything
Done
Patch Set #5, Line 19: GPIO_FUNC(1, PULL_DOWN, 20K),
I'd try removing the pull
Done
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
I'd say these don't need pull down
Done
Patch Set #5, Line 40: GPIO_FUNC(2, PULL_DOWN, 20K),
I'd say this doesn't need a pull
Done
Patch Set #5, Line 41: GPIO_FUNC(1, PULL_UP, 20K),
SATA LED, does it work as intended with this pull?
Done
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
These are PCIe clock request pins. I'd drop the pull and see if the Ethernet NICs still work.
Done
Patch Set #5, Line 46: GPIO_FUNC(0, PULL_UP, 20K),
SD-related, probably NC
Done
GPIO_FUNC(2, PULL_DOWN, 20K),
GPIO_FUNC(2, PULL_DOWN, 20K),
GPIO_FUNC(2, PULL_DOWN, 20K),
GPIO_FUNC(2, PULL_DOWN, 20K),
GPIO_FUNC(2, PULL_DOWN, 20K),
GPIO_FUNC(2, PULL_DOWN, 20K),
GPIO_FUNC(2, PULL_DOWN, 20K),
GPIO_FUNC(2, PULL_DOWN, 20K),
HDA-related, if there's no audio on your board then this should be NC
Done
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
MMC-related, unused?
Done
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
SD2, unused
Done
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
SD3, unused
Done
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
LPC pins, use GPIO_FUNC1
Done
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
More LPC clock stuff, they can also use GPIO_FUNC1
Done
Patch Set #5, Line 89: GPIO_FUNC(1, PULL_UP, 20K),
SERIRQ, probably doesn't need pullups
Done
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
SMBus, should be GPIO_FUNC1
Done
Patch Set #5, Line 93: GPIO_FUNC(1, PULL_DOWN, 20K)
Speaker
Done
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
Strap pins, probably unused
Done
Patch Set #5, Line 96: GPIO_FUNC(1, PULL_UP, 20K),
Integrated UART TXD, likely NC
Done
GPIO_FUNC(0, PULL_DOWN, 20K),
GPIO_FUNC(0, PULL_DOWN, 20K),
GPIO_FUNC(0, PULL_DOWN, 20K),
Probably NC
Done
Patch Set #5, Line 100: GPIO_FUNC(1, PULL_DOWN, 20K),
Integrated UART RXD, probably NC as well
Done
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
I2S, pretty sure it's NC
Done
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
SPI controller for dedicated hardware, not for the SPI flash so NC
Done
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
UART1, most likely not connected
Done
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
UART2, most likely NC
Done
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
I2C ports for touchpad/touchscreen, most likely NC
Done
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(2, PULL_UP, 20K),
GPIO_FUNC(0, PULL_UP, 20K),
GPIO_FUNC(0, PULL_UP, 20K),
I2C ports, unused
Done
GPIO_FUNC(0, PULL_DOWN, 20K),
GPIO_FUNC(0, PULL_DISABLE, 20K),
PWM pins, probably unused because they are wired as GPIOs
Done
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
Platform clocks, most likely NC. […]
Done
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
This looks wrong, function 1 is reserved for these two
Done
GPIO_FUNC(0, PULL_UP, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(0, PULL_UP, 20K),
GPIO_FUNC(0, PULL_DOWN, 20K),
I'd say these are all NC
Done
Patch Set #5, Line 151: GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC1 (PMC_SUSCLK1)
Done
GPIO_FUNC(0, PULL_DOWN, 20K),
GPIO_FUNC(0, PULL_DOWN, 20K),
Most likely NC
Done
GPIO_FUNC(0, PULL_DISABLE, 20K),
GPIO_FUNC(0, PULL_DISABLE, 20K),
NC
Done
Patch Set #5, Line 156: GPIO_FUNC(0, PULL_UP, 20K),
Probably NC
Done
Patch Set #5, Line 157: GPIO_FUNC(0, PULL_DOWN, 20K),
GPIO_FUNC0 (SUSPWRDNACK)
Done
Patch Set #5, Line 158: GPIO_FUNC(0, PULL_DOWN, 20K),
GPIO_FUNC0 (SUSCLK)
Done
Patch Set #5, Line 159: GPIO_FUNC(0, PULL_DOWN, 20K),
NC, probably?
Done
Patch Set #5, Line 160: GPIO_FUNC(2, PULL_DISABLE, 20K),
GPIO_FUNC2 (USB_ULPI_RST#)
Done
Patch Set #5, Line 161: GPIO_FUNC(0, PULL_UP, 20K),
GPIO_FUNC0 (PMC_WAKE_PCIE[0])
Done
Patch Set #5, Line 163: GPIO_FUNC(1, PULL_UP, 20K),
NC, most likely
Done
Patch Set #5, Line 164: GPIO_FUNC(0, PULL_DOWN, 20K),
GPIO_FUNC0 (PMC_SUS_STAT#)
Done
GPIO_FUNC(0, PULL_UP, 20K),
GPIO_FUNC(0, PULL_UP, 20K),
GPIO_FUNC0 (USB_OC0 and USB_OC1)
Done
Patch Set #5, Line 167: GPIO_FUNC(1, PULL_UP, 20K),
NC?
Done
GPIO_FUNC(0, PULL_DISABLE, 20K),
GPIO_FUNC(0, PULL_DOWN, 20K),
GPIO_FUNC(0, PULL_DOWN, 20K),
GPIO_FUNC(0, PULL_DOWN, 20K),
GPIO_FUNC(0, PULL_DOWN, 20K),
GPIO_FUNC(0, PULL_UP, 20K),
GPIO_FUNC(2, PULL_UP, 20K),
GPIO_FUNC(0, PULL_DISABLE, 20K),
GPIO_FUNC(0, PULL_DISABLE, 20K),
XDP stuff, most likely NC?
Done
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_DISABLE, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
GPIO_FUNC(1, PULL_UP, 20K),
GPIO_FUNC(1, PULL_DOWN, 20K),
This is most likely NC as well, it's USB ULPI and would only be used in tablets, if at all... […]
Done
File src/mainboard/bostentech/gbyt4/mainboard.c:
Patch Set #25, Line 123: #if CONFIG(VGA_ROM_RUN)
I am not sure how to handle the x86emu stuff above without using the preprocessor.
Done
File src/mainboard/bostentech/gbyt4/romstage.c:
More correctly it does boot if it's here, but there is serial output only after romstage, and it tak […]
Done
File src/mainboard/unk/gbyt4/cmos.layout:
# SandyBridge MRC Scrambler Seed values
896 32 r 0 mrc_scrambler_seed
928 32 r 0 mrc_scrambler_seed_s3
Should it be renamed to BayTrail or dropped entirely?
Done (dropped entries)
File src/mainboard/unk/gbyt4/devicetree.cb:
From the data sheet it looks like it's a different SPI controller not the same as the flashchip is o […]
Done
To view, visit change 43087. To unsubscribe, or for help writing mail filters, visit settings.