├── .gitignore
├── LICENSE
├── Makefile
├── Versions.inc
├── bdk
├── bdk.h
├── display
│ ├── di.c
│ ├── di.h
│ └── di.inl
├── exception_handlers.S
├── fatfs_cfg.h
├── fatfs_conf.h
├── gfx_utils.h
├── ianos
│ ├── elfload
│ │ ├── elf.h
│ │ ├── elfarch.h
│ │ ├── elfload.c
│ │ ├── elfload.h
│ │ ├── elfreloc_aarch64.c
│ │ └── elfreloc_arm.c
│ ├── ianos.c
│ └── ianos.h
├── input
│ ├── als.c
│ ├── als.h
│ ├── joycon.c
│ ├── joycon.h
│ ├── touch.c
│ └── touch.h
├── libs
│ ├── compr
│ │ ├── blz.c
│ │ ├── blz.h
│ │ ├── lz.c
│ │ ├── lz.h
│ │ ├── lz4.c
│ │ └── lz4.h
│ ├── fatfs
│ │ ├── diskio.h
│ │ ├── ff.c
│ │ ├── ff.h
│ │ └── ffunicode.c
│ ├── lv_conf.h
│ └── lvgl
│ │ ├── docs
│ │ ├── CODE_OF_CONDUCT.md
│ │ ├── CONTRIBUTING.md
│ │ ├── astyle_c
│ │ └── astyle_h
│ │ ├── licence.txt
│ │ ├── lv_core
│ │ ├── lv_core.mk
│ │ ├── lv_group.c
│ │ ├── lv_group.h
│ │ ├── lv_indev.c
│ │ ├── lv_indev.h
│ │ ├── lv_lang.c
│ │ ├── lv_lang.h
│ │ ├── lv_obj.c
│ │ ├── lv_obj.h
│ │ ├── lv_refr.c
│ │ ├── lv_refr.h
│ │ ├── lv_style.c
│ │ ├── lv_style.h
│ │ ├── lv_vdb.c
│ │ └── lv_vdb.h
│ │ ├── lv_draw
│ │ ├── lv_draw.c
│ │ ├── lv_draw.h
│ │ ├── lv_draw.mk
│ │ ├── lv_draw_arc.c
│ │ ├── lv_draw_arc.h
│ │ ├── lv_draw_img.c
│ │ ├── lv_draw_img.h
│ │ ├── lv_draw_label.c
│ │ ├── lv_draw_label.h
│ │ ├── lv_draw_line.c
│ │ ├── lv_draw_line.h
│ │ ├── lv_draw_rbasic.c
│ │ ├── lv_draw_rbasic.h
│ │ ├── lv_draw_rect.c
│ │ ├── lv_draw_rect.h
│ │ ├── lv_draw_triangle.c
│ │ ├── lv_draw_triangle.h
│ │ ├── lv_draw_vbasic.c
│ │ └── lv_draw_vbasic.h
│ │ ├── lv_fonts
│ │ ├── hekate_symbol_120.c
│ │ ├── hekate_symbol_20.c
│ │ ├── hekate_symbol_30.c
│ │ ├── interui_20.c
│ │ ├── interui_30.c
│ │ ├── lv_font_builtin.c
│ │ ├── lv_font_builtin.h
│ │ ├── lv_fonts.mk
│ │ └── ubuntu_mono.c
│ │ ├── lv_hal
│ │ ├── lv_hal.h
│ │ ├── lv_hal.mk
│ │ ├── lv_hal_disp.c
│ │ ├── lv_hal_disp.h
│ │ ├── lv_hal_indev.c
│ │ ├── lv_hal_indev.h
│ │ ├── lv_hal_tick.c
│ │ └── lv_hal_tick.h
│ │ ├── lv_misc
│ │ ├── lv_anim.c
│ │ ├── lv_anim.h
│ │ ├── lv_area.c
│ │ ├── lv_area.h
│ │ ├── lv_circ.c
│ │ ├── lv_circ.h
│ │ ├── lv_color.c
│ │ ├── lv_color.h
│ │ ├── lv_font.c
│ │ ├── lv_font.h
│ │ ├── lv_fs.c
│ │ ├── lv_fs.h
│ │ ├── lv_gc.c
│ │ ├── lv_gc.h
│ │ ├── lv_ll.c
│ │ ├── lv_ll.h
│ │ ├── lv_log.c
│ │ ├── lv_log.h
│ │ ├── lv_math.c
│ │ ├── lv_math.h
│ │ ├── lv_mem.c
│ │ ├── lv_mem.h
│ │ ├── lv_misc.mk
│ │ ├── lv_symbol_def.h
│ │ ├── lv_task.c
│ │ ├── lv_task.h
│ │ ├── lv_templ.c
│ │ ├── lv_templ.h
│ │ ├── lv_txt.c
│ │ ├── lv_txt.h
│ │ ├── lv_ufs.c
│ │ └── lv_ufs.h
│ │ ├── lv_objx
│ │ ├── lv_arc.c
│ │ ├── lv_arc.h
│ │ ├── lv_bar.c
│ │ ├── lv_bar.h
│ │ ├── lv_btn.c
│ │ ├── lv_btn.h
│ │ ├── lv_btnm.c
│ │ ├── lv_btnm.h
│ │ ├── lv_calendar.c
│ │ ├── lv_calendar.h
│ │ ├── lv_canvas.c
│ │ ├── lv_canvas.h
│ │ ├── lv_cb.c
│ │ ├── lv_cb.h
│ │ ├── lv_chart.c
│ │ ├── lv_chart.h
│ │ ├── lv_cont.c
│ │ ├── lv_cont.h
│ │ ├── lv_ddlist.c
│ │ ├── lv_ddlist.h
│ │ ├── lv_gauge.c
│ │ ├── lv_gauge.h
│ │ ├── lv_img.c
│ │ ├── lv_img.h
│ │ ├── lv_imgbtn.c
│ │ ├── lv_imgbtn.h
│ │ ├── lv_kb.c
│ │ ├── lv_kb.h
│ │ ├── lv_label.c
│ │ ├── lv_label.h
│ │ ├── lv_led.c
│ │ ├── lv_led.h
│ │ ├── lv_line.c
│ │ ├── lv_line.h
│ │ ├── lv_list.c
│ │ ├── lv_list.h
│ │ ├── lv_lmeter.c
│ │ ├── lv_lmeter.h
│ │ ├── lv_mbox.c
│ │ ├── lv_mbox.h
│ │ ├── lv_objx.mk
│ │ ├── lv_objx_templ.c
│ │ ├── lv_objx_templ.h
│ │ ├── lv_page.c
│ │ ├── lv_page.h
│ │ ├── lv_preload.c
│ │ ├── lv_preload.h
│ │ ├── lv_roller.c
│ │ ├── lv_roller.h
│ │ ├── lv_slider.c
│ │ ├── lv_slider.h
│ │ ├── lv_spinbox.c
│ │ ├── lv_spinbox.h
│ │ ├── lv_sw.c
│ │ ├── lv_sw.h
│ │ ├── lv_ta.c
│ │ ├── lv_ta.h
│ │ ├── lv_table.c
│ │ ├── lv_table.h
│ │ ├── lv_tabview.c
│ │ ├── lv_tabview.h
│ │ ├── lv_tileview.c
│ │ ├── lv_tileview.h
│ │ ├── lv_win.c
│ │ └── lv_win.h
│ │ ├── lv_themes
│ │ ├── lv_theme.c
│ │ ├── lv_theme.h
│ │ ├── lv_theme_hekate.c
│ │ ├── lv_theme_hekate.h
│ │ └── lv_themes.mk
│ │ ├── lv_version.h
│ │ ├── lvgl.h
│ │ └── lvgl.mk
├── mem
│ ├── emc.h
│ ├── heap.c
│ ├── heap.h
│ ├── mc.c
│ ├── mc.h
│ ├── mc_t210.h
│ ├── minerva.c
│ ├── minerva.h
│ ├── mtc_table.h
│ ├── sdram.c
│ ├── sdram.h
│ ├── sdram_config.inl
│ ├── sdram_config_t210b01.inl
│ ├── sdram_lp0.c
│ ├── sdram_lp0_param_t210.h
│ ├── sdram_lp0_param_t210b01.h
│ ├── sdram_param_t210.h
│ ├── sdram_param_t210b01.h
│ ├── smmu.c
│ └── smmu.h
├── memory_map.h
├── module.h
├── power
│ ├── bm92t36.c
│ ├── bm92t36.h
│ ├── bq24193.c
│ ├── bq24193.h
│ ├── max17050.c
│ ├── max17050.h
│ ├── max77620.h
│ ├── max7762x.c
│ ├── max7762x.h
│ ├── max77812.h
│ ├── regulator_5v.c
│ └── regulator_5v.h
├── rtc
│ ├── max77620-rtc.c
│ └── max77620-rtc.h
├── sec
│ ├── se.c
│ ├── se.h
│ ├── se_t210.h
│ ├── tsec.c
│ ├── tsec.h
│ └── tsec_t210.h
├── soc
│ ├── actmon.c
│ ├── actmon.h
│ ├── bpmp.c
│ ├── bpmp.h
│ ├── ccplex.c
│ ├── ccplex.h
│ ├── clock.c
│ ├── clock.h
│ ├── fuse.c
│ ├── fuse.h
│ ├── gpio.c
│ ├── gpio.h
│ ├── hw_init.c
│ ├── hw_init.h
│ ├── i2c.c
│ ├── i2c.h
│ ├── irq.c
│ ├── irq.h
│ ├── kfuse.c
│ ├── kfuse.h
│ ├── pinmux.c
│ ├── pinmux.h
│ ├── pmc.c
│ ├── pmc.h
│ ├── pmc_lp0_t210.h
│ ├── t210.h
│ ├── uart.c
│ └── uart.h
├── storage
│ ├── emmc.c
│ ├── emmc.h
│ ├── mbr_gpt.h
│ ├── mmc.h
│ ├── nx_emmc_bis.c
│ ├── nx_emmc_bis.h
│ ├── ramdisk.c
│ ├── ramdisk.h
│ ├── sd.c
│ ├── sd.h
│ ├── sd_def.h
│ ├── sdmmc.c
│ ├── sdmmc.h
│ ├── sdmmc_driver.c
│ ├── sdmmc_driver.h
│ └── sdmmc_t210.h
├── thermal
│ ├── fan.c
│ ├── fan.h
│ ├── tmp451.c
│ └── tmp451.h
├── usb
│ ├── usb_descriptor_types.h
│ ├── usb_descriptors.c
│ ├── usb_gadget_hid.c
│ ├── usb_gadget_ums.c
│ ├── usb_t210.h
│ ├── usbd.c
│ ├── usbd.h
│ └── xusbd.c
└── utils
│ ├── aarch64_util.h
│ ├── btn.c
│ ├── btn.h
│ ├── dirlist.c
│ ├── dirlist.h
│ ├── ini.c
│ ├── ini.h
│ ├── list.h
│ ├── sprintf.c
│ ├── sprintf.h
│ ├── types.h
│ ├── util.c
│ └── util.h
└── toolbox
├── config.c
├── config.h
├── gfx
├── gfx.c
├── gfx.h
├── tui.c
└── tui.h
├── hwfly.c
├── hwfly.h
├── libs
└── fatfs
│ ├── diskio.c
│ ├── ffconf.h
│ └── ffsystem.c
├── link.ld
├── main.c
└── start.S
/.gitignore:
--------------------------------------------------------------------------------
1 | .vs
2 | .vscode
3 | build/*
4 | output/*
5 | loader/payload_00.h
6 | loader/payload_01.h
7 | tools/bin2c/bin2c
8 | tools/lz/lz77
9 |
--------------------------------------------------------------------------------
/Versions.inc:
--------------------------------------------------------------------------------
1 | # IPL Version.
2 | BLVERSION_MAJOR := 1
3 | BLVERSION_MINOR := 1
4 | BLVERSION_HOTFX := 1
5 | BLVERSION_RSVD := 0
6 |
--------------------------------------------------------------------------------
/bdk/bdk.h:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2022 CTCaer
3 | *
4 | * This program is free software; you can redistribute it and/or modify it
5 | * under the terms and conditions of the GNU General Public License,
6 | * version 2, as published by the Free Software Foundation.
7 | *
8 | * This program is distributed in the hope it will be useful, but WITHOUT
9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 | * more details.
12 | *
13 | * You should have received a copy of the GNU General Public License
14 | * along with this program. If not, see .
15 | */
16 |
17 | #ifndef BDK_H
18 | #define BDK_H
19 |
20 | #include
21 |
22 | #include
23 | #include
24 | #include
25 | #include
26 | #include
27 | #include
28 | #include
29 | #include
30 | #include
31 | #include
32 | #include
33 | #include
34 | #include
35 | #include
36 | #include
37 | #include
38 | #include
39 | #include
40 | #include