#453 [Docs] Improve X60/T60/BUC.TS documentation

Open
opened 1 year ago by swiftgeek · 0 comments
  • Document that SysRq needs to be configured
  • Test against radeon machine specifically (Magi)
  • Under >NO< circumstance user should hold down power button/remove power/do any kind of cold reboot. Join IRC instead
  • Perform sync; sync; sync and sysrq for restart (b) instead of graceful reboot - This is to prevent unrelated hang on reboot that could happen due to user's OS configuration.
  • In flashing script check for sysrq, iomem=relaxed (if required based on config.gz). Try to catch error related to missing iomem=relaxed from flashrom probe?
  • detect stage of the process correctly via BUC.TS register and PBR0 register
  • sanity check (based on registers and known bootblocks sums if doing buc.ts)
  • sanity check if flashing for 2nd time (buc.ts and PBR0)

If BUS.TS was reset between 1st and 2nd flash it is still possible to recover from phoenix bootblock via crisis floppy (like due to bad RTC battery)

Tested on T60 with everything but last 64KiB erased

Results/TODO:

  • crisis minidos cannot be replaced directly with freedos
  • Strike through Or, maybe, you set BUC.TS to 0 and shut down after first flash while Lenovo BIOS was running. in T60/X60 pages (t60_unbrick.md). Join #libreboot @freenode if bricked between 1st and 2nd flash
  • Prepare floppy image template and script to insert t60/x60/z61* etc flash image (FL2)
* Document that SysRq needs to be configured * Test against radeon machine specifically (Magi) * Under >NO< circumstance user should hold down power button/remove power/do any kind of cold reboot. Join IRC instead * Perform sync; sync; sync and sysrq for restart (b) instead of graceful reboot - This is to prevent unrelated hang on reboot that could happen due to user's OS configuration. * In flashing script check for sysrq, iomem=relaxed (if required based on config.gz). Try to catch error related to missing iomem=relaxed from flashrom probe? * detect stage of the process correctly via BUC.TS register and PBR0 register * sanity check (based on registers and known bootblocks sums if doing buc.ts) * sanity check if flashing for 2nd time (buc.ts and PBR0) ------------ If BUS.TS was reset between 1st and 2nd flash it is still possible to recover from phoenix bootblock via crisis floppy (like due to bad RTC battery) Tested on T60 with everything but last 64KiB erased Results/TODO: * crisis minidos cannot be replaced directly with freedos * Strike through ~~Or, maybe, you set BUC.TS to 0 and shut down after first flash while Lenovo BIOS was running.~~ in T60/X60 pages (t60_unbrick.md). Join #libreboot @freenode if bricked between 1st and 2nd flash * Prepare floppy image template and script to insert t60/x60/z61* etc flash image (FL2)
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.